Jump to: Board index » General » Fusion

Volume mask not working properly

Learn about 3D compositing, animation, broadcast design and VFX workflows.
  • Author
  • Message
Offline

Val Bondarenco

  • Posts: 3
  • Joined: Mon Apr 20, 2015 4:47 pm

Volume mask not working properly

PostTue Apr 21, 2015 10:54 am

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.
Attachments
volume mask.jpg
volume mask.jpg (302.69 KiB) Viewed 3196 times
Offline

Val Bondarenco

  • Posts: 3
  • Joined: Mon Apr 20, 2015 4:47 pm

Re: Volume mask not working properly

PostWed Apr 29, 2015 6:15 pm

Thanks a lot. This forum is so useful, unbelievable
Offline

Yoni.Cohen

  • Posts: 6
  • Joined: Sun Jan 11, 2015 10:58 pm

Re: Volume mask not working properly

PostThu Apr 30, 2015 8:14 am

It's really hard to tell from the picture but we use it a lot.
Are you using exr @ 32bits or something else?
Offline

Ryan Bloomer

  • Posts: 902
  • Joined: Tue Jul 09, 2013 6:58 pm

Re: Volume mask not working properly

PostThu Apr 30, 2015 11:53 am

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, }, },
      },
   },
}
Offline

Joël Gibbs

  • Posts: 97
  • Joined: Wed Nov 12, 2014 9:18 pm
  • Location: Nashville

Re: Volume mask not working properly

PostThu Apr 30, 2015 2:50 pm

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)
Offline
User avatar

Chad Capeland

  • Posts: 3306
  • Joined: Mon Nov 10, 2014 9:40 pm

Re: Volume mask not working properly

PostThu Apr 30, 2015 9:03 pm

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.
Chad Capeland
Indicated, LLC
www.floweffects.com
Offline

Joël Gibbs

  • Posts: 97
  • Joined: Wed Nov 12, 2014 9:18 pm
  • Location: Nashville

Re: Volume mask not working properly

PostThu Apr 30, 2015 9:10 pm

just realized the original post was from a week ago...oops! ( and I thought I was being helpful.. :oops: )
Offline
User avatar

Chad Capeland

  • Posts: 3306
  • Joined: Mon Nov 10, 2014 9:40 pm

Re: Volume mask not working properly

PostThu Apr 30, 2015 11:24 pm

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.
Chad Capeland
Indicated, LLC
www.floweffects.com
Offline

Val Bondarenco

  • Posts: 3
  • Joined: Mon Apr 20, 2015 4:47 pm

Re: Volume mask not working properly

PostSat May 02, 2015 10:00 am

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.
Offline

Ryan Bloomer

  • Posts: 902
  • Joined: Tue Jul 09, 2013 6:58 pm

Re: Volume mask not working properly

PostSat May 02, 2015 3:52 pm

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.
Offline

Ryan Bloomer

  • Posts: 902
  • Joined: Tue Jul 09, 2013 6:58 pm

Re: Volume mask not working properly

PostTue May 12, 2015 3:50 pm

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?

Return to Fusion

Who is online

Users browsing this forum: No registered users and 23 guests