Jump to: Board index » General » Fusion

Problem with Volume Fog.

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

Monaco Felice

  • Posts: 12
  • Joined: Fri Feb 20, 2015 5:55 am
  • Location: Ukraine

Problem with Volume Fog.

PostFri Feb 20, 2015 6:34 am

Hello!
I'm having some problems with the creation of Volume Fog.
I am a novice in Fusion, and trying to create a mist of video tutorial youtube.com/watch?v=uha1jZ1AJJg . But following the instructions in the end I did it not understandable square frame around the sphere. The very same sphere turns black inside. Only if the parameters of the sphere to include "Cull Front Face", inside the Volume Fog is becomes visible. But the light-gray frame at the same time anyway anywhere does not disappear. I do not know how to get rid of this outer frame.
Can you advise me how to solve this problem?
Attachments
Question about Volume Fog.rar
Test File
(2.67 KiB) Downloaded 152 times
VF-test-2.jpg
VF-test-2.jpg (154.73 KiB) Viewed 3988 times
VF-test-1.jpg
VF-test-1.jpg (156.15 KiB) Viewed 3988 times
Offline
User avatar

Pieter Van Houte

  • Posts: 631
  • Joined: Wed Nov 05, 2014 1:04 am

Re: Problem with Volume Fog.

PostSun Feb 22, 2015 8:03 am

Increase the size of your sphere.

As a side note - when I view your 3D scene, as soon as I zoom out it makes the comp fail. Anyone else seeing this?
Support We Suck Less on Patreon -> https://www.patreon.com/wesuckless

https://www.steakunderwater.com/wesuckless
Offline
User avatar

Simon Dayan

  • Posts: 158
  • Joined: Tue Feb 04, 2014 10:39 am
  • Location: West Hollywood, Los Angeles,CA

Re: Problem with Volume Fog.

PostSun Feb 22, 2015 9:47 am

Code: Select all
{
   Tools = ordered() {
      ChannelBooleans1 = ChannelBoolean {
         Inputs = {
            ToRed = Input { Value = 35, },
            ToGreen = Input { Value = 36, },
            ToBlue = Input { Value = 37, },
            ToAlpha = Input { Value = 4, },
            ToXPosition = Input { Value = 0, },
            ToYPosition = Input { Value = 1, },
            ToZPosition = Input { Value = 2, },
            Background = Input {
               SourceOp = "Renderer3D1",
               Source = "Output",
            },
            Foreground = Input {
               SourceOp = "Renderer3D1",
               Source = "Output",
            },
         },
         ViewInfo = OperatorInfo { Pos = { 878, 68, }, },
      },
      Renderer3D1 = Renderer3D {
         CtrlWZoom = false,
         Inputs = {
            Width = Input { Value = 1280, },
            Height = Input { Value = 720, },
            Depth = Input { Value = 4, },
            ["Gamut.ColorSpaceNest"] = Input { Value = 1, },
            ["Gamut.SLogVersion"] = Input { Value = FuID { "SLog2", }, },
            SceneInput = Input {
               SourceOp = "Merge3D4",
               Source = "Output",
            },
            CameraSelector = Input { Value = FuID { "Camera3D1", }, },
            Reporting = Input { Value = 1, },
            RendererType = Input { Value = FuID { "RendererOpenGL", }, },
            ["RendererSoftware.Channels.Nest"] = Input { Value = 1, },
            ["RendererSoftware.Channels.Z"] = Input { Value = 1, },
            ["RendererSoftware.Channels.Normal"] = Input { Value = 1, },
            ["RendererSoftware.Channels.WorldCoord"] = Input { Value = 1, },
            ["RendererOpenGL.Channels.Nest"] = Input { Value = 1, },
            ["RendererOpenGL.Channels.Z"] = Input { Value = 1, },
            ["RendererOpenGL.Channels.Normal"] = Input { Value = 1, },
            ["RendererOpenGL.Channels.WorldCoord"] = Input { Value = 1, },
            ["RendererOpenGL.Channels.WorldCoordSS"] = Input { Value = 1, },
            ["RendererOpenGL.Supersampling"] = Input { Value = 1, },
            ["RendererOpenGL.LockXYSupersampleRates"] = Input { Value = 0, },
            ["RendererOpenGL.AuxSS.Nest"] = Input { Value = 0, },
            ["RendererOpenGL.AccumulationEffects"] = Input { Value = 1, },
            ["RendererOpenGL.EnableAccumDepthOfField"] = Input { Value = 0, },
            ["RendererOpenGL.Texturing"] = Input { Value = 1, },
            ["RendererOpenGL.TextureDepth"] = Input { Value = 4, },
         },
         ViewInfo = OperatorInfo { Pos = { 526, 56, }, },
      },
      Shape3D3 = Shape3D {
         CtrlWZoom = false,
         Inputs = {
            ["SurfacePlaneInputs.ObjectID.ObjectID"] = Input { Value = 14, },
            Shape = Input { Value = FuID { "SurfaceSphereInputs", }, },
            ["MtlStdInputs.Diffuse.Opacity"] = Input { Value = 0, },
            ["MtlStdInputs.Specular.Nest"] = Input { Value = 1, },
            ["MtlStdInputs.Transmittance.Color.Red"] = Input { Value = 1, },
            ["MtlStdInputs.Transmittance.Color.Green"] = Input { Value = 1, },
            ["MtlStdInputs.Transmittance.Color.Blue"] = Input { Value = 1, },
            ["MtlStdInputs.Transmittance.ColorDetail"] = Input { Value = 1, },
            ["MtlStdInputs.ReceivesLighting"] = Input { Value = 0, },
            ["MtlStdInputs.ReceivesShadows"] = Input { Value = 0, },
            ["MtlStdInputs.MaterialID"] = Input { Value = 6, },
            ["SurfaceSphereInputs.Radius"] = Input { Value = 20, },
            ["SurfaceSphereInputs.Visibility.Nest"] = Input { Value = 1, },
            ["SurfaceSphereInputs.Visibility.IgnoreTransparentPixelsInAuxChannels"] = Input { Value = 0, },
            ["SurfaceSphereInputs.Lighting.Nest"] = Input { Value = 1, },
            ["SurfaceSphereInputs.Lighting.IsAffectedByLights"] = Input { Value = 0, },
            ["SurfaceSphereInputs.Lighting.IsShadowCaster"] = Input { Value = 0, },
            ["SurfaceSphereInputs.BlendMode.Nest"] = Input { Value = 1, },
            ["SurfaceSphereInputs.ObjectID.ObjectID"] = Input { Value = 16, },
            ["SurfaceCubeInputs.Visibility.Nest"] = Input { Value = 1, },
            ["SurfaceCubeInputs.ObjectID.ObjectID"] = Input { Value = 15, },
            ["SurfaceCylinderInputs.ObjectID.ObjectID"] = Input { Value = 17, },
         },
         ViewInfo = OperatorInfo { Pos = { 133.702, 98.943, }, },
      },
      VolumeFog2 = VolumeFog {
         Inputs = {
            ["Rotate.RotOrder"] = Input { Value = FuID { "XYZ", }, },
            ScaleNest = Input { Value = 1, },
            ScaleLock = Input { Value = 1, },
            Samples = Input { Value = 64, },
            FogOnly = Input { Value = 1, },
            ["Noise.Rotate.RotOrder"] = Input { Value = FuID { "XYZ", }, },
            ["Noise.Scale.Lock"] = Input { Value = 1, },
            DoInScattering = Input { Value = 0, },
            Image = Input {
               SourceOp = "Renderer3D1",
               Source = "Output",
            },
            FogImage = Input {
               SourceOp = "Background1",
               Source = "Output",
            },
            SceneInput = Input {
               SourceOp = "Camera3D1",
               Source = "Output",
            },
         },
         ViewInfo = OperatorInfo { Pos = { 827.004, -47.988, }, },
      },
      Background1 = Background {
         Inputs = {
            Width = Input { Value = 512, },
            Height = Input { Value = 512, },
            Depth = Input { Value = 4, },
            ["Gamut.SLogVersion"] = Input { Value = FuID { "SLog2", }, },
            TopLeftRed = Input { Value = 0.906666666666667, },
            TopLeftGreen = Input { Value = 0.552932000485145, },
            Gradient = Input {
               Value = Gradient {
                  Colors = {
                     [0] = { 0, 0, 0, 1, },
                     [1] = { 1, 1, 1, 1, },
                  },
               },
            },
            EffectMask = Input {
               SourceOp = "Ellipse1",
               Source = "Mask",
            },
         },
         ViewInfo = OperatorInfo { Pos = { 613, -133, }, },
      },
      Ellipse1 = EllipseMask {
         Inputs = {
            MaskWidth = Input { Value = 1280, },
            MaskHeight = Input { Value = 720, },
            PixelAspect = Input { Value = { 1, 1, }, },
            ClippingMode = Input { Value = FuID { "None", }, },
         },
         ViewInfo = OperatorInfo { Pos = { 616, -174, }, },
      },
      Merge3D4 = Merge3D {
         Inputs = {
            PassThroughLights = Input { Value = 1, },
            SceneInput1 = Input {
               SourceOp = "Shape3D3",
               Source = "Output",
            },
            SceneInput2 = Input {
               SourceOp = "Camera3D1",
               Source = "Output",
            },
         },
         ViewInfo = OperatorInfo { Pos = { 313.151, 35.186, }, },
      },
      Camera3D1 = Camera3D {
         CtrlWZoom = false,
         Inputs = {
            ["Transform3DOp.Translate.X"] = Input { Value = 1.3535353, },
            ["Transform3DOp.Translate.Y"] = Input { Value = 1.3737374, },
            ["Transform3DOp.Translate.Z"] = Input { Value = 1.6161616, },
            ["Transform3DOp.Rotate.X"] = Input { Value = -34.5454545, },
            ["Transform3DOp.Rotate.Y"] = Input { Value = 36.3636364, },
            AovType = Input { Value = 1, },
            AoV = Input { Value = 56.5744041019243, },
            FLength = Input { Value = 18.6904762, },
            ["Stereo.Mode"] = Input { Value = FuID { "Mono", }, },
            FilmBack = Input { Value = 1, },
            FilmGate = Input { Value = FuID { "Canon_5D_1D", }, },
            ApertureW = Input { Value = 0.792, },
            ["SurfacePlaneInputs.ObjectID.ObjectID"] = Input { Value = 1, },
            ["MtlStdInputs.MaterialID"] = Input { Value = 1, },
         },
         ViewInfo = OperatorInfo { Pos = { 235, -104, }, },
      },
   },
}
Offline

Monaco Felice

  • Posts: 12
  • Joined: Fri Feb 20, 2015 5:55 am
  • Location: Ukraine

Re: Problem with Volume Fog.

PostWed Feb 25, 2015 8:27 am

Thanks for your answers!
In the code I'm not strong, but the increase size of the sphere really helped to solve the problem.
Offline
User avatar

Rony Soussan

  • Posts: 727
  • Joined: Tue Nov 11, 2014 5:33 pm

Re: Problem with Volume Fog.

PostWed Feb 25, 2015 5:13 pm

It's not code in that sense, copy and paste into fusion's flow and it will populate with the tools represented in the text.
If you were to copy a node, and paste into a text file, you will get the ASCII representation of that nodes settings. (it's not as simplistic as that, but you get the point)
Offline

Monaco Felice

  • Posts: 12
  • Joined: Fri Feb 20, 2015 5:55 am
  • Location: Ukraine

Re: Problem with Volume Fog.

PostWed Feb 25, 2015 7:48 pm

With the clouds I got another problem - they look as if composed of a plurality of thin-film plane. Ie, in the clouds are strange stripes (for example in the image attached). Although Adaptive Sample are set to the maximum, but I can't get rid of the stripes.
Attachments
stripes on the clouds.jpg
stripes on the clouds.jpg (78.18 KiB) Viewed 3833 times
Offline

AndyThirtover

  • Posts: 73
  • Joined: Sun Oct 04, 2015 12:01 pm

Re: Problem with Volume Fog.

PostSun Oct 11, 2015 3:05 pm

Screen Shot 2015-10-11 at 16.04.03.png
Example Output
Screen Shot 2015-10-11 at 16.04.03.png (262.99 KiB) Viewed 3433 times
NearlyWorkingClouds.comp.zip
My Comp
(6.98 KiB) Downloaded 160 times
NearlyWorkingClouds.comp.zip
My Comp
(6.98 KiB) Downloaded 160 times
I'm not sure that I'm actually creating Volume Fog.

I've used this thread as a starter, and I've very closely followed Eric's three part Volume fog 'Tooltorial'. However I think that he starts with something set, or does something that I don't see even in slow motion.

I've got these 'clouds' but I expect them obscure things more with greater Z values, however this is not the case.

Any pointers as to where I've gone wrong please?
Offline

Toulouse LeTrack

  • Posts: 58
  • Joined: Mon Nov 03, 2014 2:04 pm

Re: Problem with Volume Fog.

PostTue Oct 13, 2015 8:11 pm

There were a couple of things misadjusted in that comp.
Like the bounding-sphere not covering the entire scene,
plus a few more things that made me redo the VolFog from scratch...:-)
Attachments
NearlyWorkingClouds_tl.zip
(6.43 KiB) Downloaded 170 times
Offline

AndyThirtover

  • Posts: 73
  • Joined: Sun Oct 04, 2015 12:01 pm

Re: Problem with Volume Fog (Thanks Toulouse)

PostFri Oct 16, 2015 6:26 pm

@Toulouse LeTrak

Extra double thanks for posting that Comp.

Its allowed me to see where I'm going and I've been able to get it going in a static manor in 8.0 Beta 2 for the Mac.

In Eyeon Eric's example, the clouds we're gentle drifting and dispersing. So that's my next goal.

As far as I can see, Toulouse has all the components that Eric has, and the Matte Control seems to do exactly the same as Eric's Tooltorial.

I can get a little closer to the effect by animating the 'First Time Slice' in Volume Fog, although this creates a shimmer rather than a seething cloud mass.

Anyway now I have a working base to learn on.

Double thanks.

Andy
Offline
User avatar

Simon Dayan

  • Posts: 158
  • Joined: Tue Feb 04, 2014 10:39 am
  • Location: West Hollywood, Los Angeles,CA

Re: Problem with Volume Fog.

PostThu Oct 22, 2015 2:47 pm

Hi,
i made the slice camera script (from Eric Tut) i hope it will help you with the final process.
also included the Time3d.Fuse
add path:"C:\Program Files\Blackmagic Design\Fusion\Fuses\"

Link updated 22/09/2018

https://www.dropbox.com/s/uogdkusggl3lj ... t.zip?dl=0


enjoy!
Last edited by Simon Dayan on Sat Sep 22, 2018 6:48 pm, edited 1 time in total.
Offline

AndyThirtover

  • Posts: 73
  • Joined: Sun Oct 04, 2015 12:01 pm

Re: Problem with Volume Fog.

PostSat Oct 24, 2015 8:37 pm

@Simon

I'm using a Mac, so the magic bit of information to make your comp work is this:

/users/<your_name>/Documents/BlackMagic Design/Fusion/Fuses

Which is absolutely not what one would expect, I believe it should be:

/users/<your_name>/Application Support/Fusion/Fuses (or this branch anyway)

Anyway --- I have it working, so double extra thanks!

Andy
Offline

Michael Zhang

  • Posts: 6
  • Joined: Sat Apr 07, 2018 5:46 pm
  • Real Name: Shun Min Zhang

Re: Problem with Volume Fog.

PostSat Apr 07, 2018 5:54 pm

@Simon Dayan

wow!your link is not work anymore

can you upload "the slice camera script" again?

many many thnaks~
Offline
User avatar

Simon Dayan

  • Posts: 158
  • Joined: Tue Feb 04, 2014 10:39 am
  • Location: West Hollywood, Los Angeles,CA

Re: Problem with Volume Fog.

PostSat Sep 22, 2018 6:52 pm

Hi ,

Slice Camera Script Link updated :22/09/2018

https://www.dropbox.com/s/uogdkusggl3lj ... t.zip?dl=0

:geek:
Offline

Michael Zhang

  • Posts: 6
  • Joined: Sat Apr 07, 2018 5:46 pm
  • Real Name: Shun Min Zhang

Re: Problem with Volume Fog.

PostMon Dec 10, 2018 11:29 am

@Simon Dayan

wow,thanks a lot :D

Return to Fusion

Who is online

Users browsing this forum: Majestic-12 [Bot] and 36 guests