Page 1 of 1
Volume mask not working properly

Posted:
Tue Apr 21, 2015 10:54 am
by Val Bondarenco
Hello, guys. I am a new fusion user and I got a problem using the world position pass from 3ds max to have control on volume mask. And here is the problem- the mask itself become pixelated instead to have a solid color. Any help would be really appreciated.
Re: Volume mask not working properly

Posted:
Wed Apr 29, 2015 6:15 pm
by Val Bondarenco
Thanks a lot. This forum is so useful, unbelievable
Re: Volume mask not working properly

Posted:
Thu Apr 30, 2015 8:14 am
by Yoni.Cohen
It's really hard to tell from the picture but we use it a lot.
Are you using exr @ 32bits or something else?
Re: Volume mask not working properly

Posted:
Thu Apr 30, 2015 11:53 am
by Ryan Bloomer
I saw the same behavior in volumeFog, and volumeMask. Make sure your WPP is in 32bit per channel, I'm using EXR with Zip compression in blocks of 16 scan lines and the pixelization went away, I was originally using 16bit TIFFs.
My VolumeMask and VolumeFog crash instantly if I enable OpenCL. Still trying to troubleshoot why that would happen..... It even crashes with a simple recreated project for just testing. See anything that would cause this crash to keep happening?
- Code: Select all
{
Tools = ordered() {
ChannelBooleans1 = ChannelBoolean {
Inputs = {
ToRed = Input { Value = 4, },
ToGreen = Input { Value = 4, },
ToBlue = Input { Value = 4, },
ToAlpha = Input { Value = 4, },
EnableExtraChannels = Input { Value = 1, },
ToXPosition = Input { Value = 5, },
ToYPosition = Input { Value = 1, },
ToZPosition = Input { Value = 2, },
Background = Input {
SourceOp = "Loader1",
Source = "Output",
},
Foreground = Input {
SourceOp = "Loader2",
Source = "Output",
},
},
ViewInfo = OperatorInfo { Pos = { 824.04, 166.149, }, },
},
VolumeFog1 = VolumeFog {
CtrlWZoom = false,
Inputs = {
Shape = Input { Value = FuID { "Sphere", }, },
["Translate.X"] = Input { Value = -6.3259655, },
["Translate.Y"] = Input { Value = 1.4376708, },
["Translate.Z"] = Input { Value = -4.1076649, },
["Rotate.RotOrder"] = Input { Value = FuID { "XYZ", }, },
["Rotate.X"] = Input { Value = -39.0863904052949, },
["Rotate.Y"] = Input { Value = 43.0250661614951, },
["Rotate.Z"] = Input { Value = 2.1753175365517e-015, },
ScaleLock = Input { Value = 1, },
Size = Input { Value = 0.7619048, },
UseOpenCL = Input { Value = 0, },
Samples = Input { Value = 16, },
["Noise.Rotate.RotOrder"] = Input { Value = FuID { "XYZ", }, },
["Noise.Scale.Lock"] = Input { Value = 1, },
Image = Input {
SourceOp = "ChannelBooleans1",
Source = "Output",
},
},
ViewInfo = OperatorInfo { Pos = { 941.26, 161.457, }, },
},
Loader2 = Loader {
Clips = {
Clip {
ID = "Clip1",
Filename = "V:\\_3D render\\Acuity_EP8\\Hanger_John_Wide\\Hanger_John_MechanicArea_RB_003_CU_wpp_v1.exr",
FormatID = "OpenEXRFormat",
StartFrame = 1,
LengthSetManually = true,
TrimIn = 0,
TrimOut = 0,
ExtendFirst = 0,
ExtendLast = 0,
Loop = 0,
AspectMode = 0,
Depth = 0,
TimeCode = 0,
GlobalStart = 0,
GlobalEnd = 0,
},
},
Inputs = {
["Gamut.SLogVersion"] = Input { Value = FuID { "SLog2", }, },
["Clip1.OpenEXRFormat.RedName"] = Input { Value = FuID { "R", }, },
["Clip1.OpenEXRFormat.GreenName"] = Input { Value = FuID { "G", }, },
["Clip1.OpenEXRFormat.BlueName"] = Input { Value = FuID { "B", }, },
},
ViewInfo = OperatorInfo { Pos = { 692.378, 166.038, }, },
},
Loader1 = Loader {
Clips = {
Clip {
ID = "Clip1",
Filename = "V:\\_3D render\\Acuity_EP8\\Hanger_John_Wide\\Hanger_John_MechanicArea_RB_003_CU_RGB_v1.tif",
FormatID = "TiffFormat",
StartFrame = 1,
LengthSetManually = true,
TrimIn = 0,
TrimOut = 0,
ExtendFirst = 0,
ExtendLast = 0,
Loop = 0,
AspectMode = 0,
Depth = 0,
TimeCode = 0,
GlobalStart = 0,
GlobalEnd = 0,
},
},
Inputs = {
["Gamut.SLogVersion"] = Input { Value = FuID { "SLog2", }, },
},
ViewInfo = OperatorInfo { Pos = { 696, 121, }, },
},
},
}
Re: Volume mask not working properly

Posted:
Thu Apr 30, 2015 2:50 pm
by Joël Gibbs
Hard to tell...but check your Channel Booleans node (BOl) again. Looks like you may have some wrong channel's piped in there. ( just a guess based on the looks of your mask)
Re: Volume mask not working properly

Posted:
Thu Apr 30, 2015 9:03 pm
by Chad Capeland
Val Bondarenco wrote:Thanks a lot. This forum is so useful, unbelievable
You could include your source images and settings. Might make it more believable.
Re: Volume mask not working properly

Posted:
Thu Apr 30, 2015 9:10 pm
by Joël Gibbs
just realized the original post was from a week ago...oops! ( and I thought I was being helpful..

)
Re: Volume mask not working properly

Posted:
Thu Apr 30, 2015 11:24 pm
by Chad Capeland
Ryan Bloomer wrote:I saw the same behavior in volumeFog, and volumeMask. Make sure your WPP is in 32bit per channel, I'm using EXR with Zip compression in blocks of 16 scan lines and the pixelization went away, I was originally using 16bit TIFFs.
16bit TIFF's are integer, while 16bit EXR's are half float. Half float should be plenty for most masking scenarios. It's not like you're trying to do precision masking with it.
Regarding your setting, it works fine for me, no crashes with OpenCL. Your Bol has the X Position set to the wrong input, but that shouldn't cause a crash.
Re: Volume mask not working properly

Posted:
Sat May 02, 2015 10:00 am
by Val Bondarenco
Waw! Thanks a lot guys, I thought this is a dead end. First of all this WPP is 32 bit EXR. I am using only this format files. Channel Booleans is setted acording to the tutorial- main chanels setted to do nothing - position XYZ- to RGB.
Re: Volume mask not working properly

Posted:
Sat May 02, 2015 3:52 pm
by Ryan Bloomer
Thanks for looking at the flow Chad, yes updating the X position to Red FG fixed the issue. However I still crash in OpenCL. It works when clicking it, but dragging the offset parameters instantly crashes Fusion. I'll have to get an example out to Blackmagic and see if they can troubleshoot the crash.
Re: Volume mask not working properly

Posted:
Tue May 12, 2015 3:50 pm
by Ryan Bloomer
I think i've been able to track the OpenCL crash to the 900 series cards. I've tried Volume Mask and Volume fog with 700 series cards with no issue, but the 900's crash instantly after checking the "OpenCL" check box. Is there a bug report area, or can I send these findings directly to Blackmagic?