Jump to: Board index » General » Fusion

volumeFog not accepting image input

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

ronviers

  • Posts: 28
  • Joined: Mon Apr 08, 2013 6:42 pm

volumeFog not accepting image input

PostWed Apr 15, 2015 6:45 pm

If i plug the bg (or any image) into the image input of the volumeFog, the vF turns red and the console reports that it failed. Anyone know why that's happening? I'm sure it's something obvious i'm overlooking.

Code: Select all
{
   Tools = ordered() {
      Camera3D2 = Camera3D {
         Inputs = {
            ["Transform3DOp.Translate.Y"] = Input { Value = 1.49010319279217, },
            ["Transform3DOp.Translate.Z"] = Input { Value = 8.70924140718959, },
            ["Transform3DOp.Rotate.X"] = Input { Value = -13.8730941768736, },
            ["Transform3DOp.PivotNest"] = Input { Value = 1, },
            AoV = Input { Value = 24.3265863475745, },
            FLength = Input { Value = 55.6818181818183, },
            ["Stereo.Mode"] = Input { Value = FuID { "Mono", }, },
            FilmBack = Input { Value = 1, },
            FilmGate = Input { Value = FuID { "User", }, },
            ApertureW = Input { Value = 1.417, },
            ApertureH = Input { Value = 0.945, },
            ["SurfacePlaneInputs.ObjectID.ObjectID"] = Input { Value = 3, },
            ["MtlStdInputs.MaterialID"] = Input { Value = 6, },
         },
         ViewInfo = OperatorInfo { Pos = { 434, 206, }, },
      },
      Merge3D2 = Merge3D {
         Inputs = {
            PassThroughLights = Input { Value = 1, },
            SceneInput1 = Input {
               SourceOp = "Camera3D2",
               Source = "Output",
            },
            SceneInput2 = Input {
               SourceOp = "Shape3D4",
               Source = "Output",
            },
            SceneInput3 = Input {
               SourceOp = "DirectionalLight1",
               Source = "Output",
            },
         },
         ViewInfo = OperatorInfo { Pos = { 599, 272, }, },
      },
      DirectionalLight1 = LightDirectional {
         CtrlWZoom = false,
         ViewInfo = OperatorInfo { Pos = { 379, 272, }, },
      },
      Renderer3D2 = Renderer3D {
         Inputs = {
            ["RendererSoftware.ShadowsEnabled"] = Input { Value = 1, },
            ["RendererSoftware.LightingEnabled"] = Input { Value = 1, },
            ["RendererSoftware.Channels.WorldCoord"] = Input { Value = 1, },
            ["RendererSoftware.Channels.Nest"] = Input { Value = 1, },
            GlobalIn = Input { Value = 1, },
            GlobalOut = Input { Value = 240, },
            Width = Input { Value = 1280, },
            Height = Input { Value = 720, },
            AutoCropDataWindow = Input { Value = 1, },
            Depth = Input { Value = 4, },
            ["Gamut.SLogVersion"] = Input { Value = FuID { "SLog2", }, },
            SceneInput = Input {
               SourceOp = "Merge3D2",
               Source = "Output",
            },
            RendererType = Input { Value = FuID { "RendererOpenGL", }, },
            ["RendererOpenGL.Channels.Nest"] = Input { Value = 1, },
            ["RendererOpenGL.Channels.WorldCoord"] = Input { Value = 1, },
            ["RendererOpenGL.LightingEnabled"] = Input { Value = 1, },
            ["RendererOpenGL.ShadowsEnabled"] = Input { Value = 1, },
         },
         ViewInfo = OperatorInfo { Pos = { 764, 272, }, },
      },
      Background1 = Background {
         Inputs = {
            GlobalIn = Input { Value = 1, },
            GlobalOut = Input { Value = 240, },
            Width = Input { Value = 1280, },
            Height = Input { Value = 720, },
            ["Gamut.SLogVersion"] = Input { Value = FuID { "SLog2", }, },
            Gradient = Input {
               Value = Gradient {
                  Colors = {
                     [0] = { 0, 0, 0, 1, },
                     [1] = { 1, 1, 1, 1, },
                  },
               },
            },
         },
         ViewInfo = OperatorInfo { Pos = { 796, 117, }, },
      },
      VolumeFog2 = VolumeFog {
         Inputs = {
            Rotation = Input { Value = 1, },
            ["Rotate.RotOrder"] = Input { Value = FuID { "XYZ", }, },
            ScaleNest = Input { Value = 1, },
            ["Scale.X"] = Input { Value = 10, },
            ["Scale.Z"] = Input { Value = 10, },
            UseOpenCL = Input { Value = 0, },
            AdaptiveSample = Input { Value = 1, },
            Samples = Input { Value = 16, },
            ZSlices = Input { Value = 3, },
            ["Color.Red"] = Input { Value = 0.99829316020727, },
            ["Color.Green"] = Input { Value = 0.970185760300003, },
            Detail = Input { Value = 2.722372, },
            NoiseGain = Input { Value = 6.0752688, },
            NoiseBrightness = Input { Value = -0.5405405, },
            ["Noise.Rotate.Nest"] = Input { Value = 1, },
            ["Noise.Rotate.RotOrder"] = Input { Value = FuID { "XYZ", }, },
            ["Noise.Scale.Nest"] = Input { Value = 1, },
            Seethe = Input { Value = 0.1084011, },
            DoLighting = Input { Value = 1, },
            Density = Input { Value = 2.3064516, },
            Scattering = Input { Value = 0.9141274, },
            Transmission = Input { Value = 1.2651934, },
            Reflection = Input { Value = 2.839779, },
            ReflectionRed = Input { Value = 0.629534826948005, },
            ReflectionGreen = Input { Value = 0.813184062837939, },
            Emission = Input { Value = 1.0055249, },
            Image = Input {
               SourceOp = "Renderer3D2",
               Source = "Output",
            },
            SceneInput = Input {
               SourceOp = "Camera3D2",
               Source = "Output",
            },
         },
         ViewInfo = OperatorInfo { Pos = { 874, 206, }, },
      },
      Shape3D4 = Shape3D {
         Inputs = {
            ["SurfaceTorusInputs.ObjectID.ObjectID"] = Input { Value = 12, },
            ["SurfaceTorusInputs.Lighting.Nest"] = Input { Value = 1, },
            ["SurfaceCylinderInputs.Visibility.Nest"] = Input { Value = 1, },
            ["SurfaceSphereInputs.ObjectID.ObjectID"] = Input { Value = 8, },
            ["SurfaceCylinderInputs.ObjectID.ObjectID"] = Input { Value = 10, },
            ["SurfaceTorusInputs.Visibility.Nest"] = Input { Value = 1, },
            ["SurfaceSphereInputs.Visibility.CullFrontFace"] = Input { Value = 1, },
            ["SurfaceConeInputs.ObjectID.ObjectID"] = Input { Value = 11, },
            ["SurfaceSphereInputs.Visibility.Nest"] = Input { Value = 1, },
            ["SurfaceCylinderInputs.Lighting.Nest"] = Input { Value = 1, },
            ["SurfaceCubeInputs.ObjectID.ObjectID"] = Input { Value = 9, },
            ["SurfaceSphereInputs.Lighting.Nest"] = Input { Value = 1, },
            ["SurfaceSphereInputs.Controls.Nest"] = Input { Value = 1, },
            ["Transform3DOp.Translate.Z"] = Input { Value = -6, },
            ["MtlStdInputs.Diffuse.Color.Red"] = Input { Value = 0.22752385978939, },
            ["MtlStdInputs.Diffuse.Color.Green"] = Input { Value = 0.301767048929179, },
            ["MtlStdInputs.Diffuse.Color.Blue"] = Input { Value = 0.473333333333333, },
            ["MtlStdInputs.Specular.Intensity"] = Input { Value = 0, },
            ["MtlStdInputs.ReceivesShadows"] = Input { Value = 0, },
            ["MtlStdInputs.MaterialID"] = Input { Value = 7, },
            ["SurfacePlaneInputs.SizeLock"] = Input { Value = 0, },
            ["SurfacePlaneInputs.Width"] = Input { Value = 24, },
            ["SurfacePlaneInputs.Height"] = Input { Value = 12, },
            ["SurfacePlaneInputs.SubdivisionWidth"] = Input { Value = 1, },
            ["SurfacePlaneInputs.Visibility.Nest"] = Input { Value = 1, },
            ["SurfacePlaneInputs.Lighting.Nest"] = Input { Value = 1, },
            ["SurfacePlaneInputs.Lighting.IsShadowCaster"] = Input { Value = 0, },
            ["SurfacePlaneInputs.Lighting.IsShadowReceiver"] = Input { Value = 0, },
            ["SurfacePlaneInputs.Matte.Nest"] = Input { Value = 1, },
            ["SurfacePlaneInputs.Controls.Normals.Show"] = Input { Value = 1, },
            ["SurfacePlaneInputs.ObjectID.ObjectID"] = Input { Value = 4, },
         },
         ViewInfo = OperatorInfo { Pos = { 434, 338, }, },
      },
   },
}


also, if i enable open cl it crashes fusion. Not sure how to troubleshoot that if anyone has any tips.

quadro k4000 on wintel 7x64

thanks(:
Offline

Joël Gibbs

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

Re: volumeFog not accepting image input

PostWed Apr 15, 2015 6:54 pm

In your volume fog, you need to set your "First slice time" to 1 or more. it's set to 0.
Try that and see if that helps!

The hint is in the error: it says it failed at time "*". The way the volume fog works is it takes an image at a certain point in time, then uses a slice for each moment in time after that. If you plug in a fast noise and set the seethe rate pretty high, you'll see that your fog becomes really interesting. The fog tool is pretty awesome..have fun! (also, you don't need high image resolution for the input image...256 or 512 gives good results)
Offline

ronviers

  • Posts: 28
  • Joined: Mon Apr 08, 2013 6:42 pm

Re: volumeFog not accepting image input

PostWed Apr 15, 2015 7:06 pm

that was it! completely overlooked that setting.

thank you very much(:
Offline

ronviers

  • Posts: 28
  • Joined: Mon Apr 08, 2013 6:42 pm

Re: volumeFog not accepting image input

PostWed Apr 15, 2015 7:11 pm

Joël Gibbs wrote:The hint is in the error: it says it failed at time "*". The way the volume fog works is it takes an image at a certain point in time, then uses a slice for each moment in time after that. If you plug in a fast noise and set the seethe rate pretty high, you'll see that your fog becomes really interesting. The fog tool is pretty awesome..have fun! (also, you don't need high image resolution for the input image...256 or 512 gives good results)


this is very helpful. And it really is awesome - so much faster than fluids or participating media but it can be just as effective for many things.

thanks!

Return to Fusion

Who is online

Users browsing this forum: No registered users and 41 guests