Fu Volume fog noise not in world coordinates - noise offset doesn't work  [FIXED]

Moderator: Chad

User avatar
SecondMan
Site Admin
Posts: 3782
Joined: Thu Jul 31, 2014 5:31 pm
Answers: 7
Location: Vancouver, Canada
Been thanked: 146 times
Contact:

Volume fog noise not in world coordinates - noise offset doesn't work

#1

Post by SecondMan » Wed Jan 25, 2017 6:22 pm

Fusion version:

8.2 build 2

OS and version:

Linux

Description of the bug:

Noise Translation settings in VolumeFog/Noise have no effect at all. Moving the Fog through the world moves the noise with it - the noise is always attached to the Fog.

Severity (Trivial, Minor, Major, Critical)

Major, for creative reasons :)

Please, if possible, provide a Fusion setup to help demonstrate the behaviour, either as an attachment or between code tags:

Code: Select all

{
	Tools = ordered() {
		Shape3D2_1 = Shape3D {
			Inputs = {
				["SurfacePlaneInputs.ObjectID.ObjectID"] = Input { Value = 616, },
				Shape = Input { Value = FuID { "SurfaceSphereInputs" }, },
				["MtlStdInputs.MaterialID"] = Input { Value = 616, },
				["SurfaceSphereInputs.Radius"] = Input { Value = 100000, },
				["SurfaceSphereInputs.ObjectID.ObjectID"] = Input { Value = 617, }
			},
			ViewInfo = OperatorInfo { Pos = { 1485, 10279.5 } },
		},
		Merge3D3 = Merge3D {
			Inputs = {
				SceneInput1 = Input {
					SourceOp = "Shape3D1_1",
					Source = "Output",
				},
				SceneInput2 = Input {
					SourceOp = "Shape3D2_1",
					Source = "Output",
				},
				SceneInput3 = Input {
					SourceOp = "Camera3D1_1",
					Source = "Output",
				},
			},
			ViewInfo = OperatorInfo { Pos = { 1485, 10345.5 } },
		},
		Shape3D1_1 = Shape3D {
			Inputs = {
				["Transform3DOp.Translate.Y"] = Input { Value = 1000, },
				["Transform3DOp.Translate.Z"] = Input { Value = -8038.3756, },
				["Transform3DOp.Rotate.X"] = Input { Value = -90, },
				["Transform3DOp.Scale.X"] = Input { Value = 200, },
				["MtlStdInputs.MaterialID"] = Input { Value = 615, },
				["SurfacePlaneInputs.Width"] = Input { Value = 200, },
				["SurfacePlaneInputs.ObjectID.ObjectID"] = Input { Value = 615, }
			},
			ViewInfo = OperatorInfo { Pos = { 1375, 10345.5 } },
		},
		VolumeFog1_2 = VolumeFog {
			CtrlWZoom = false,
			Inputs = {
				Shape = Input { Value = FuID { "Sphere" }, },
				["Translate.X"] = Input { Value = -8095.0859375, },
				["Translate.Y"] = Input { Value = 1000.00006103516, },
				["Translate.Z"] = Input { Value = -14852.6044921875, },
				["Rotate.RotOrder"] = Input { Value = FuID { "XYZ" }, },
				ScaleLock = Input { Value = 1, },
				Size = Input { Value = 2854.12765957447, },
				SoftEdge = Input { Value = 0.540425531914894, },
				Samples = Input { Value = 47, },
				["Color.Red"] = Input { Value = 0.3, },
				["Color.Green"] = Input { Value = 0.3, },
				["Color.Blue"] = Input { Value = 0.3, },
				FogOnly = Input { Value = 1, },
				Detail = Input { Value = 2.4040404040404, },
				["Noise.Translate.Z"] = Input { Value = -2000, },
				["Noise.Rotate.RotOrder"] = Input { Value = FuID { "XYZ" }, },
				["Noise.Scale.Nest"] = Input { Value = 1, },
				["Noise.Scale.Lock"] = Input { Value = 1, },
				Seethe = Input { Value = 1.1561866, },
				Camera = Input { Value = FuID { "Camera3D1_1" }, },
				DoInScattering = Input { Value = 0, },
				Image = Input {
					SourceOp = "Renderer3D1_1",
					Source = "Output",
				},
				SceneInput = Input {
					SourceOp = "Merge3D3",
					Source = "Output",
				},
			},
			ViewInfo = OperatorInfo { Pos = { 1650, 10411.5 } },
		},
		Renderer3D1_1 = Renderer3D {
			Inputs = {
				Width = Input { Value = 1920, },
				Height = Input { Value = 1080, },
				["Gamut.SLogVersion"] = Input { Value = FuID { "SLog2" }, },
				SceneInput = Input {
					SourceOp = "Merge3D3",
					Source = "Output",
				},
				CameraSelector = Input { Value = FuID { "Camera3D1_1" }, },
				RendererType = Input { Value = FuID { "RendererOpenGL" }, },
				["RendererOpenGL.Channels.Nest"] = Input { Value = 1, },
				["RendererOpenGL.Channels.WorldCoord"] = Input { Value = 1, },
				["RendererOpenGL.LightingEnabled"] = Input { Value = 1, },
			},
			ViewInfo = OperatorInfo { Pos = { 1650, 10345.5 } },
		},
		Camera3D1_1 = Camera3D {
			Inputs = {
				["Transform3DOp.Translate.X"] = Input { Value = -12781.1237184813, },
				["Transform3DOp.Translate.Y"] = Input { Value = 3042.71465763267, },
				["Transform3DOp.Translate.Z"] = Input { Value = -12377.0855310825, },
				["Transform3DOp.Rotate.X"] = Input { Value = -7.19999980926514, },
				["Transform3DOp.Rotate.Y"] = Input { Value = 300.200012207031, },
				FLength = Input { Value = 18.2123442718302, },
				["Stereo.Mode"] = Input { Value = FuID { "OffAxis" }, },
				FilmGate = Input { Value = FuID { "BMD_URSA_4K_16x9" }, },
				["SurfacePlaneInputs.ObjectID.ObjectID"] = Input { Value = 618, },
				["MtlStdInputs.MaterialID"] = Input { Value = 617, },
			},
			ViewInfo = OperatorInfo { Pos = { 1485, 10444.5 } },
		}
	}
}

User avatar
SecondMan
Site Admin
Posts: 3782
Joined: Thu Jul 31, 2014 5:31 pm
Answers: 7
Location: Vancouver, Canada
Been thanked: 146 times
Contact:

Re: Volume fog noise not in world coordinates - noise offset doesn't work  [FIXED]

#2

Post by SecondMan » Tue Jan 22, 2019 11:19 pm

This was a big one for me and has been fixed for a while - thanks for the fix! :)