Jump to: Board index » General » Fusion

Fusion 3D transform

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

aomay77

  • Posts: 15
  • Joined: Mon Sep 16, 2019 4:30 pm
  • Real Name: aomay huang

Fusion 3D transform

PostFri Sep 15, 2023 9:36 am

Fusion 3D transform
Is it possible to use local
Offline

Sander de Regt

  • Posts: 3295
  • Joined: Thu Nov 13, 2014 10:09 pm

Re: Fusion 3D transform

PostFri Sep 15, 2023 9:38 am

What do you mean? Line up the pivot to a local coordinate system?
Sander de Regt

ShadowMaker SdR
The Netherlands
Offline

aomay77

  • Posts: 15
  • Joined: Mon Sep 16, 2019 4:30 pm
  • Real Name: aomay huang

Re: Fusion 3D transform

PostFri Sep 15, 2023 3:04 pm

Sander de Regt wrote:What do you mean? Line up the pivot to a local coordinate system?

The object is rotated
Add Transform3D
The axis of rotation can be inherited
not the world

Thanks~
Offline

Sander de Regt

  • Posts: 3295
  • Joined: Thu Nov 13, 2014 10:09 pm

Re: Fusion 3D transform

PostFri Sep 15, 2023 3:20 pm

I don't know enough about Fusion's transform modes. I think the default transform that comes with the object is always a local one. The ones after that modify further down the line, but I'm not sure how to deal with that. Maybe you could rotate the object into position with a 3Dtransform and then use another one to do the actual desired rotating?
Sander de Regt

ShadowMaker SdR
The Netherlands
Offline

bentheanimator

  • Posts: 323
  • Joined: Mon May 13, 2019 10:38 pm
  • Location: Minneapolis, MN
  • Real Name: Ben Hall

Re: Fusion 3D transform

PostFri Sep 15, 2023 4:01 pm

You need to build your models with a psuedo-rig. For instance, Shape 3D>local(3DXf)>World(3DXf).
If your going to do a lot of stuff in the 3D of Fusion, then using a real rig like set up will save you confusion down the line anyways.

Screenshot 2023-09-15 105334.jpg
3D Re
Screenshot 2023-09-15 105334.jpg (520.39 KiB) Viewed 775 times


Scene
Code: Select all
{
   Tools = ordered() {
      Lighting = Merge3D {
         NameSet = true,
         Inputs = {
            SceneInput1 = Input {
               SourceOp = "Objects",
               Source = "Output",
            },
            SceneInput2 = Input {
               SourceOp = "Merge3D1",
               Source = "Output",
            },
         },
         ViewInfo = OperatorInfo { Pos = { 4620, 4438.5 } },
      },
      ChannelBooleans7 = ChannelBoolean {
         CtrlWZoom = false,
         Inputs = {
            Blend = Input { Value = 0.295, },
            Operation = Input { Value = 6, },
            Background = Input {
               SourceOp = "PipeRouter5",
               Source = "Output",
            },
            Foreground = Input {
               SourceOp = "AmbientOcclusion1",
               Source = "Output",
            },
         },
         ViewInfo = OperatorInfo { Pos = { 4620, 4966.5 } },
      },
      Renderer3D1 = Renderer3D {
         CustomData = {
            ToolVersion = 2,
         },
         Inputs = {
            GlobalOut = Input { Value = 94, },
            Width = Input { Value = 1920, },
            Height = Input { Value = 1080, },
            ["Gamut.SLogVersion"] = Input { Value = FuID { "SLog2" }, },
            SceneInput = Input {
               SourceOp = "Camera",
               Source = "Output",
            },
            RendererType = Input { Value = FuID { "RendererOpenGL" }, },
            ["RendererSoftware.LightingEnabled"] = Input { Value = 1, },
            ["RendererSoftware.ShadowsEnabled"] = Input { Value = 1, },
            ["RendererOpenGL.Channels.Nest"] = Input { Value = 1, },
            ["RendererOpenGL.Channels.Z"] = Input { Value = 1, },
            ["RendererOpenGL.Channels.Normal"] = Input { Value = 1, },
            ["RendererOpenGL.AntiAliasing.Channels.RGBA.HighQuality.Enable"] = Input { Value = 1, },
            ["RendererOpenGL.AntiAliasing.Presets.Color.Supersampling.HighQuality.Rate"] = Input { Value = 3, },
            ["RendererOpenGL.AntiAliasing.Presets.Color.Multisampling.LowQuality.SampleCount"] = Input { Value = 2, },
            ["RendererOpenGL.AntiAliasing.Presets.Color.Multisampling.HighQuality.SampleCount"] = Input { Value = 3, },
            ["RendererOpenGL.AntiAliasing.Presets.Aux.Supersampling.HighQuality.Rate"] = Input { Value = 3, },
            ["RendererOpenGL.AntiAliasing.Presets.Aux.Multisampling.LowQuality.SampleCount"] = Input { Value = 2, },
            ["RendererOpenGL.AntiAliasing.Presets.Aux.Multisampling.HighQuality.SampleCount"] = Input { Value = 3, },
            ["RendererOpenGL.AccumulationEffects"] = Input { Value = 1, },
            ["RendererOpenGL.AccumQuality"] = Input { Value = 32, },
            ["RendererOpenGL.LightingEnabled"] = Input { Value = 1, },
            ["RendererOpenGL.ShadowsEnabled"] = Input { Value = 1, },
         },
         ViewInfo = OperatorInfo {
            Pos = { 4620, 4768.5 },
            Flags = {
               ShowPic = true
            }
         },
         SubInputsData = {
            RendererOpenGL = {
               Version = 1
            }
         }
      },
      Camera = Merge3D {
         NameSet = true,
         Inputs = {
            SceneInput1 = Input {
               SourceOp = "Lighting",
               Source = "Output",
            },
            SceneInput2 = Input {
               SourceOp = "Camera3D1",
               Source = "Output",
            },
         },
         ViewInfo = OperatorInfo { Pos = { 4620, 4603.5 } },
      },
      Objects = Merge3D {
         NameSet = true,
         Inputs = {
            SceneInput1 = Input {
               SourceOp = "worldXf",
               Source = "Output",
            },
            SceneInput2 = Input {
               SourceOp = "worldXf_1",
               Source = "Output",
            },
            SceneInput3 = Input {
               SourceOp = "worldXf_2",
               Source = "Output",
            },
            SceneInput4 = Input {
               SourceOp = "worldXf_1_1",
               Source = "Output",
            },
         },
         ViewInfo = OperatorInfo { Pos = { 4620, 4174.5 } },
      },
      PipeRouter5 = PipeRouter {
         Inputs = {
            Input = Input {
               SourceOp = "Renderer3D1",
               Source = "Output",
            },
         },
         ViewInfo = PipeRouterInfo { Pos = { 4730, 4966.5 } },
      },
      OUT__3D_1 = ChannelBoolean {
         NameSet = true,
         CustomData = {
            Path = {
               Map = {
                  ["Setting:"] = "Macros:\\"
               }
            },
         },
         Inputs = {
            Background = Input {
               SourceOp = "ChannelBooleans7",
               Source = "Output",
            },
         },
         ViewInfo = OperatorInfo {
            Pos = { 4620, 5065.5 },
            Flags = {
               ShowPic = true
            }
         },
      },
      wOUT__5 = Fuse.Wireless {
         NameSet = true,
         CustomData = {
            Path = {
               Map = {
                  ["Setting:"] = "Macros:\\"
               }
            },
         },
         Inputs = {
            Input = Input {
               SourceOp = "OUT__3D_1",
               Source = "Output",
            },
         },
         ViewInfo = OperatorInfo { Pos = { 4620, 5164.5 } },
         Colors = { TileColor = { R = 0.584313725490196, G = 0.294117647058824, B = 0.803921568627451 }, }
      },
      AmbientOcclusion1 = SSAO {
         Inputs = {
            Camera = Input {
               SourceOp = "Camera3D1",
               Source = "Output",
            },
            CameraSelector = Input { Value = FuID { "Camera3D1" }, },
            Input = Input {
               SourceOp = "Renderer3D1",
               Source = "Output",
            },
         },
         ViewInfo = OperatorInfo { Pos = { 4510, 4966.5 } },
      },
      worldXf_2 = Shape3D {
         NameSet = true,
         Inputs = {
            ["SurfacePlaneInputs.Width"] = Input { Value = 3.49, },
            ["SurfaceCubeInputs.Wireframe"] = Input { Value = 1, },
            ["SurfacePlaneInputs.Wireframe"] = Input { Value = 1, },
            ["SurfacePlaneInputs.SubdivisionWidth"] = Input { Value = 1, },
            ["SurfaceSphereInputs.ObjectID.ObjectID"] = Input { Value = 6, },
            ["SurfacePlaneInputs.ObjectID.ObjectID"] = Input { Value = 3, },
            ["SurfaceSphereInputs.Wireframe"] = Input { Value = 1, },
            ["SurfaceSphereInputs.Radius"] = Input { Value = 2.19, },
            ["SurfaceCubeInputs.ObjectID.ObjectID"] = Input { Value = 5, },
            ["SurfaceCubeInputs.Width"] = Input { Value = 3.66, },
            ["SurfaceCubeInputs.SubdivisionWidth"] = Input { Value = 1, },
            SceneInput = Input {
               SourceOp = "localXf_2",
               Source = "Output",
            },
            Shape = Input { Value = FuID { "SurfaceTorusInputs" }, },
            ["MtlStdInputs.Diffuse.Color.Red"] = Input { Value = 0.320166, },
            ["MtlStdInputs.Diffuse.Color.Green"] = Input { Value = 0.67973976, },
            ["MtlStdInputs.Diffuse.Color.Blue"] = Input { Value = 0.882, },
            ["MtlStdInputs.MaterialID"] = Input { Value = 2, },
            ["SurfaceTorusInputs.Radius"] = Input { Value = 2.702, },
            ["SurfaceTorusInputs.Section"] = Input { Value = 0.011, },
            ["SurfaceTorusInputs.Visibility.Nest"] = Input { Value = 1, },
            ["SurfaceTorusInputs.Visibility.IsVisible"] = Input { Value = 0, },
            ["SurfaceTorusInputs.Visibility.IsUnseenByCameras"] = Input { Value = 1, },
            ["SurfaceTorusInputs.Lighting.Nest"] = Input { Value = 1, },
            ["SurfaceTorusInputs.Lighting.IsAffectedByLights"] = Input { Value = 0, },
            ["SurfaceTorusInputs.ObjectID.ObjectID"] = Input { Value = 4, }
         },
         ViewInfo = OperatorInfo { Pos = { 4400, 4174.5 } },
      },
      worldXf = Shape3D {
         NameSet = true,
         Inputs = {
            SceneInput = Input {
               SourceOp = "localXf",
               Source = "Output",
            },
            ["Transform3DOp.Translate.X"] = Input { Value = -0.96271543632843, },
            ["Transform3DOp.Translate.Y"] = Input { Value = 0.432239885449411, },
            Shape = Input { Value = FuID { "SurfaceTorusInputs" }, },
            ["MtlStdInputs.Diffuse.Color.Red"] = Input { Value = 0.320166, },
            ["MtlStdInputs.Diffuse.Color.Green"] = Input { Value = 0.67973976, },
            ["MtlStdInputs.Diffuse.Color.Blue"] = Input { Value = 0.882, },
            ["MtlStdInputs.MaterialID"] = Input { Value = 2, },
            ["SurfaceTorusInputs.Radius"] = Input { Value = 2.702, },
            ["SurfaceTorusInputs.Section"] = Input { Value = 0.011, },
            ["SurfaceTorusInputs.Visibility.Nest"] = Input { Value = 1, },
            ["SurfaceTorusInputs.Visibility.IsUnseenByCameras"] = Input { Value = 1, },
            ["SurfaceTorusInputs.Lighting.Nest"] = Input { Value = 1, },
            ["SurfaceTorusInputs.Lighting.IsAffectedByLights"] = Input { Value = 0, },
            ["SurfaceTorusInputs.ObjectID.ObjectID"] = Input { Value = 4, },
            ["SurfaceCubeInputs.Width"] = Input { Value = 3.66, },
            ["SurfaceCubeInputs.SubdivisionWidth"] = Input { Value = 1, },
            ["SurfaceCubeInputs.Wireframe"] = Input { Value = 1, },
            ["SurfaceCubeInputs.ObjectID.ObjectID"] = Input { Value = 5, },
            ["SurfaceSphereInputs.Radius"] = Input { Value = 2.19, },
            ["SurfaceSphereInputs.Wireframe"] = Input { Value = 1, },
            ["SurfaceSphereInputs.ObjectID.ObjectID"] = Input { Value = 6, },
            ["SurfacePlaneInputs.Width"] = Input { Value = 3.49, },
            ["SurfacePlaneInputs.SubdivisionWidth"] = Input { Value = 1, },
            ["SurfacePlaneInputs.Wireframe"] = Input { Value = 1, },
            ["SurfacePlaneInputs.ObjectID.ObjectID"] = Input { Value = 3, }
         },
         ViewInfo = OperatorInfo { Pos = { 4400, 3877.5 } },
      },
      Camera3D1 = Camera3D {
         NameSet = true,
         CustomData = {
            Settings = {
               [1] = {
                  Tools = ordered() {
                     Camera3D1 = Camera3D {
                        Inputs = {
                           ApertureW = Input { Value = 0.831496062992126 },
                           AoV = Input { Value = 19.2642683071402 },
                           ["Stereo.Mode"] = Input { Value = FuID { "OffAxis" } },
                           ["SurfacePlaneInputs.ObjectID.ObjectID"] = Input { Value = 1 },
                           ApertureH = Input { Value = 0.467716535433071 },
                           FilmGate = Input { Value = FuID { "BMD_URSA_4K_16x9" } },
                           ["MtlStdInputs.MaterialID"] = Input { Value = 1 }
                        },
                        Name = "Camera3D1",
                        CtrlWZoom = false,
                        NameSet = true,
                        ViewInfo = OperatorInfo { Pos = { 550, 214.5 } },
                        CustomData = {
                        }
                     }
                  }
               },
               [6] = {
                  Tools = ordered() {
                     Camera3D1 = Camera3D {
                        Inputs = {
                           FLength = Input { Value = 49.0568334445481 },
                           ["Transform3DOp.Translate.Z"] = Input { Expression = "self.ImageInput.Metadata.Translate.Z" },
                           ImagePlaneEnabled = Input { Value = 0 },
                           AoV = Input {
                              Value = 19.2642683071402,
                              Expression = "self.ImageInput.Metadata.RSCameraFOV or self.ImageInput.Metadata['rs/camera/fov']"
                           },
                           AovType = Input { Value = 1 },
                           ["Transform3DOp.Rotate.Y"] = Input { Expression = "self.ImageInput.Metadata.Rotate.Y" },
                           ApertureH = Input { Value = 0.9 },
                           FilmGate = Input { Value = FuID { "HD" } },
                           ["Transform3DOp.Rotate.X"] = Input { Expression = "self.ImageInput.Metadata.Rotate.X" },
                           ["Transform3DOp.Translate.X"] = Input { Expression = "self.ImageInput.Metadata.Translate.X" },
                           PlaneOfFocus = Input { Expression = "self.ImageInput.Metadata.RSCameraDOFFocusDistance or self.ImageInput.Metadata['rs/camera/DOFFocusDistance']" },
                           FilmBack = Input { Value = 1 },
                           ["Transform3DOp.Rotate.RotOrder"] = Input { Value = FuID { "ZXY" } },
                           ["MtlStdInputs.MaterialID"] = Input { Value = 1 },
                           ["Stereo.Mode"] = Input { Value = FuID { "OffAxis" } },
                           ["SurfacePlaneInputs.ObjectID.ObjectID"] = Input { Value = 1 },
                           ["Transform3DOp.Translate.Y"] = Input { Expression = "self.ImageInput.Metadata.Translate.Y" },
                           ApertureW = Input { Value = 1.6 },
                           ["Transform3DOp.Rotate.Z"] = Input { Expression = "self.ImageInput.Metadata.Rotate.Z" }
                        },
                        CtrlWZoom = false,
                        NameSet = true,
                        ViewInfo = OperatorInfo { Pos = { 387, 145 } },
                        CustomData = {
                        }
                     }
                  }
               }
            }
         },
         Inputs = {
            ["Transform3DOp.Translate.X"] = Input { Value = 1.82370940214143, },
            ["Transform3DOp.Translate.Y"] = Input { Value = 6.03729120288628, },
            ["Transform3DOp.Translate.Z"] = Input { Value = 27.1775842809256, },
            ["Transform3DOp.UseTarget"] = Input { Value = 1, },
            AoV = Input { Value = 19.2642683071402, },
            ["Stereo.Mode"] = Input { Value = FuID { "OffAxis" }, },
            FilmGate = Input { Value = FuID { "BMD_URSA_4K_16x9" }, },
            ApertureW = Input { Value = 0.831496062992126, },
            ApertureH = Input { Value = 0.467716535433071, },
            ControlVis = Input { Value = 1, },
            ["SurfacePlaneInputs.ObjectID.ObjectID"] = Input { Value = 1, },
            ["MtlStdInputs.MaterialID"] = Input { Value = 1, },
         },
         ViewInfo = OperatorInfo { Pos = { 4400, 4603.5 } },
      },
      worldXf_1 = Shape3D {
         NameSet = true,
         Inputs = {
            ["SurfacePlaneInputs.Width"] = Input { Value = 3.49, },
            ["SurfaceCubeInputs.Wireframe"] = Input { Value = 1, },
            ["SurfacePlaneInputs.Wireframe"] = Input { Value = 1, },
            ["SurfacePlaneInputs.SubdivisionWidth"] = Input { Value = 1, },
            ["SurfaceSphereInputs.ObjectID.ObjectID"] = Input { Value = 6, },
            ["SurfacePlaneInputs.ObjectID.ObjectID"] = Input { Value = 3, },
            ["SurfaceSphereInputs.Wireframe"] = Input { Value = 1, },
            ["SurfaceSphereInputs.Radius"] = Input { Value = 2.19, },
            ["SurfaceCubeInputs.ObjectID.ObjectID"] = Input { Value = 5, },
            ["SurfaceCubeInputs.Width"] = Input { Value = 3.66, },
            ["SurfaceCubeInputs.SubdivisionWidth"] = Input { Value = 1, },
            SceneInput = Input {
               SourceOp = "localXf_1",
               Source = "Output",
            },
            ["Transform3DOp.Translate.X"] = Input { Value = 4.187563486769, },
            ["Transform3DOp.Translate.Y"] = Input { Value = 1.03609020123654, },
            Shape = Input { Value = FuID { "SurfaceTorusInputs" }, },
            ["MtlStdInputs.Diffuse.Color.Red"] = Input { Value = 0.320166, },
            ["MtlStdInputs.Diffuse.Color.Green"] = Input { Value = 0.67973976, },
            ["MtlStdInputs.Diffuse.Color.Blue"] = Input { Value = 0.882, },
            ["MtlStdInputs.MaterialID"] = Input { Value = 2, },
            ["SurfaceTorusInputs.Radius"] = Input { Value = 2.702, },
            ["SurfaceTorusInputs.Section"] = Input { Value = 0.011, },
            ["SurfaceTorusInputs.Visibility.Nest"] = Input { Value = 1, },
            ["SurfaceTorusInputs.Visibility.IsUnseenByCameras"] = Input { Value = 1, },
            ["SurfaceTorusInputs.Lighting.Nest"] = Input { Value = 1, },
            ["SurfaceTorusInputs.Lighting.IsAffectedByLights"] = Input { Value = 0, },
            ["SurfaceTorusInputs.ObjectID.ObjectID"] = Input { Value = 4, }
         },
         ViewInfo = OperatorInfo { Pos = { 4400, 3976.5 } },
      },
      worldXf_1_1 = Shape3D {
         NameSet = true,
         Inputs = {
            ["SurfacePlaneInputs.Width"] = Input { Value = 3.49, },
            ["SurfaceCubeInputs.Wireframe"] = Input { Value = 1, },
            ["SurfaceSphereInputs.Wireframe"] = Input { Value = 1, },
            ["SurfacePlaneInputs.Wireframe"] = Input { Value = 1, },
            ["SurfaceSphereInputs.Radius"] = Input { Value = 2.19, },
            ["SurfacePlaneInputs.SubdivisionWidth"] = Input { Value = 1, },
            ["SurfaceSphereInputs.ObjectID.ObjectID"] = Input { Value = 6, },
            ["SurfaceCubeInputs.ObjectID.ObjectID"] = Input { Value = 5, },
            ["SurfaceCubeInputs.Width"] = Input { Value = 3.66, },
            ["SurfacePlaneInputs.ObjectID.ObjectID"] = Input { Value = 3, },
            ["SurfaceCubeInputs.SubdivisionWidth"] = Input { Value = 1, },
            SceneInput = Input {
               SourceOp = "localXf_1_1",
               Source = "Output",
            },
            ["Transform3DOp.Translate.X"] = Input { Value = 1.66232160083955, },
            ["Transform3DOp.Translate.Y"] = Input { Value = 1.03609020123654, },
            ["Transform3DOp.Translate.Z"] = Input { Value = -2.52328599763008, },
            Shape = Input { Value = FuID { "SurfaceTorusInputs" }, },
            ["MtlStdInputs.Diffuse.Color.Red"] = Input { Value = 0.320166, },
            ["MtlStdInputs.Diffuse.Color.Green"] = Input { Value = 0.67973976, },
            ["MtlStdInputs.Diffuse.Color.Blue"] = Input { Value = 0.882, },
            ["MtlStdInputs.MaterialID"] = Input { Value = 2, },
            ["SurfaceTorusInputs.Radius"] = Input { Value = 2.702, },
            ["SurfaceTorusInputs.Section"] = Input { Value = 0.011, },
            ["SurfaceTorusInputs.Visibility.Nest"] = Input { Value = 1, },
            ["SurfaceTorusInputs.Visibility.IsUnseenByCameras"] = Input { Value = 1, },
            ["SurfaceTorusInputs.Lighting.Nest"] = Input { Value = 1, },
            ["SurfaceTorusInputs.Lighting.IsAffectedByLights"] = Input { Value = 0, },
            ["SurfaceTorusInputs.ObjectID.ObjectID"] = Input { Value = 4, }
         },
         ViewInfo = OperatorInfo { Pos = { 4400, 4075.5 } },
      },
      Merge3D1 = Merge3D {
         Inputs = {
            PassThroughLights = Input { Value = 1, },
            SceneInput1 = Input {
               SourceOp = "PointLight1",
               Source = "Output",
            },
            SceneInput2 = Input {
               SourceOp = "PointLight1_1",
               Source = "Output",
            },
            SceneInput3 = Input {
               SourceOp = "PointLight1_1_1",
               Source = "Output",
            },
         },
         ViewInfo = OperatorInfo { Pos = { 4345, 4438.5 } },
      },
      localXf_1_1 = Shape3D {
         NameSet = true,
         Inputs = {
            ["SurfacePlaneInputs.ObjectID.ObjectID"] = Input { Value = 3, },
            SceneInput = Input {
               SourceOp = "cube",
               Source = "Output",
            },
            ["Transform3DOp.Translate.X"] = Input { Expression = "0.0", },
            ["Transform3DOp.Translate.Y"] = Input {
               Value = 1,
               Expression = "1",
            },
            ["Transform3DOp.Translate.Z"] = Input { Expression = "0.0", },
            ["Transform3DOp.Rotate.X"] = Input { Value = 23.6004566806369, },
            ["Transform3DOp.Rotate.Y"] = Input { Value = 17.8979792119935, },
            ["Transform3DOp.Rotate.Z"] = Input { Value = -39.424978422001, },
            Shape = Input { Value = FuID { "SurfaceTorusInputs" }, },
            ["MtlStdInputs.Diffuse.Color.Red"] = Input { Value = 0.305882352941176, },
            ["MtlStdInputs.Diffuse.Color.Blue"] = Input { Value = 0.862745098039216, },
            ["MtlStdInputs.MaterialID"] = Input { Value = 2, },
            ["SurfaceTorusInputs.Radius"] = Input { Value = 1.405, },
            ["SurfaceTorusInputs.Section"] = Input { Value = 0.011, },
            ["SurfaceTorusInputs.Visibility.Nest"] = Input { Value = 1, },
            ["SurfaceTorusInputs.Visibility.IsUnseenByCameras"] = Input { Value = 1, },
            ["SurfaceTorusInputs.Lighting.Nest"] = Input { Value = 1, },
            ["SurfaceTorusInputs.Lighting.IsAffectedByLights"] = Input { Value = 0, },
            ["SurfaceTorusInputs.ObjectID.ObjectID"] = Input { Value = 4, }
         },
         ViewInfo = OperatorInfo { Pos = { 4290, 4075.5 } },
      },
      localXf_2 = Shape3D {
         NameSet = true,
         Inputs = {
            ["SurfacePlaneInputs.ObjectID.ObjectID"] = Input { Value = 3, },
            SceneInput = Input {
               SourceOp = "plane",
               Source = "Output",
            },
            ["Transform3DOp.Translate.X"] = Input { Expression = "0.0", },
            ["Transform3DOp.Translate.Y"] = Input { Expression = "0", },
            ["Transform3DOp.Translate.Z"] = Input { Expression = "0.0", },
            ["Transform3DOp.Rotate.X"] = Input { Value = -90, },
            Shape = Input { Value = FuID { "SurfaceTorusInputs" }, },
            ["MtlStdInputs.Diffuse.Color.Red"] = Input { Value = 0.305882352941176, },
            ["MtlStdInputs.Diffuse.Color.Blue"] = Input { Value = 0.862745098039216, },
            ["MtlStdInputs.Transmittance.Nest"] = Input { Value = 1, },
            ["MtlStdInputs.MaterialID"] = Input { Value = 2, },
            ["SurfaceTorusInputs.Radius"] = Input { Value = 1.405, },
            ["SurfaceTorusInputs.Section"] = Input { Value = 0.011, },
            ["SurfaceTorusInputs.Visibility.Nest"] = Input { Value = 1, },
            ["SurfaceTorusInputs.Visibility.IsVisible"] = Input { Value = 0, },
            ["SurfaceTorusInputs.Visibility.IsUnseenByCameras"] = Input { Value = 1, },
            ["SurfaceTorusInputs.Lighting.Nest"] = Input { Value = 1, },
            ["SurfaceTorusInputs.Lighting.IsAffectedByLights"] = Input { Value = 0, },
            ["SurfaceTorusInputs.ObjectID.ObjectID"] = Input { Value = 4, }
         },
         ViewInfo = OperatorInfo { Pos = { 4290, 4174.5 } },
      },
      localXf = Shape3D {
         NameSet = true,
         Inputs = {
            SceneInput = Input {
               SourceOp = "ico",
               Source = "Output",
            },
            ["Transform3DOp.Translate.X"] = Input { Expression = "0.0", },
            ["Transform3DOp.Translate.Y"] = Input {
               Value = 1,
               Expression = "1",
            },
            ["Transform3DOp.Translate.Z"] = Input { Expression = "0.0", },
            ["Transform3DOp.Rotate.Y"] = Input { Value = 9, },
            Shape = Input { Value = FuID { "SurfaceTorusInputs" }, },
            ["MtlStdInputs.Diffuse.Color.Red"] = Input { Value = 0.305882352941176, },
            ["MtlStdInputs.Diffuse.Color.Blue"] = Input { Value = 0.862745098039216, },
            ["MtlStdInputs.MaterialID"] = Input { Value = 2, },
            ["SurfacePlaneInputs.ObjectID.ObjectID"] = Input { Value = 3, },
            ["SurfaceTorusInputs.Radius"] = Input { Value = 1.405, },
            ["SurfaceTorusInputs.Section"] = Input { Value = 0.011, },
            ["SurfaceTorusInputs.Visibility.Nest"] = Input { Value = 1, },
            ["SurfaceTorusInputs.Visibility.IsUnseenByCameras"] = Input { Value = 1, },
            ["SurfaceTorusInputs.Lighting.Nest"] = Input { Value = 1, },
            ["SurfaceTorusInputs.Lighting.IsAffectedByLights"] = Input { Value = 0, },
            ["SurfaceTorusInputs.ObjectID.ObjectID"] = Input { Value = 4, }
         },
         ViewInfo = OperatorInfo { Pos = { 4290, 3877.5 } },
      },
      localXf_1 = Shape3D {
         NameSet = true,
         Inputs = {
            ["SurfacePlaneInputs.ObjectID.ObjectID"] = Input { Value = 3, },
            SceneInput = Input {
               SourceOp = "cone",
               Source = "Output",
            },
            ["Transform3DOp.Translate.X"] = Input { Expression = "0.0", },
            ["Transform3DOp.Translate.Y"] = Input {
               Value = 1,
               Expression = "1",
            },
            ["Transform3DOp.Translate.Z"] = Input { Expression = "0.0", },
            ["Transform3DOp.Rotate.X"] = Input { Value = 1.29517566878349, },
            ["Transform3DOp.Rotate.Y"] = Input { Value = 8.90707895811647, },
            ["Transform3DOp.Rotate.Z"] = Input { Value = 8.30772470450029, },
            Shape = Input { Value = FuID { "SurfaceTorusInputs" }, },
            ["MtlStdInputs.Diffuse.Color.Red"] = Input { Value = 0.305882352941176, },
            ["MtlStdInputs.Diffuse.Color.Blue"] = Input { Value = 0.862745098039216, },
            ["MtlStdInputs.MaterialID"] = Input { Value = 2, },
            ["SurfaceTorusInputs.Radius"] = Input { Value = 1.405, },
            ["SurfaceTorusInputs.Section"] = Input { Value = 0.011, },
            ["SurfaceTorusInputs.Visibility.Nest"] = Input { Value = 1, },
            ["SurfaceTorusInputs.Visibility.IsUnseenByCameras"] = Input { Value = 1, },
            ["SurfaceTorusInputs.Lighting.Nest"] = Input { Value = 1, },
            ["SurfaceTorusInputs.Lighting.IsAffectedByLights"] = Input { Value = 0, },
            ["SurfaceTorusInputs.ObjectID.ObjectID"] = Input { Value = 4, }
         },
         ViewInfo = OperatorInfo { Pos = { 4290, 3976.5 } },
      },
      PointLight1_1 = LightPoint {
         Inputs = {
            ["Transform3DOp.Translate.X"] = Input { Value = -1.17675994762188, },
            ["Transform3DOp.Translate.Y"] = Input { Value = 2.8148205970482, },
            ["Transform3DOp.Translate.Z"] = Input { Value = -5.81773769404349, },
            ["ShadowLightInputs3D.ShadowsEnabled"] = Input { Value = 1, },
            ["ShadowLightInputs3D.ShadowMapSize"] = Input { Value = 2048, },
         },
         ViewInfo = OperatorInfo { Pos = { 4235, 4405.5 } },
      },
      PointLight1 = LightPoint {
         Inputs = {
            ["Transform3DOp.Translate.X"] = Input { Value = 9.37879872497573, },
            ["Transform3DOp.Translate.Y"] = Input { Value = 6.913528204845, },
            ["Transform3DOp.Translate.Z"] = Input { Value = 1.35459646172163, },
            ["ShadowLightInputs3D.ShadowsEnabled"] = Input { Value = 1, },
            ["ShadowLightInputs3D.ShadowMapSize"] = Input { Value = 2048, },
         },
         ViewInfo = OperatorInfo { Pos = { 4235, 4438.5 } },
      },
      PointLight1_1_1 = LightPoint {
         Inputs = {
            ["Transform3DOp.Translate.X"] = Input { Value = -4.66492948928893, },
            ["Transform3DOp.Translate.Y"] = Input { Value = 0.934747995212329, },
            ["Transform3DOp.Translate.Z"] = Input { Value = 10.2467882295121, },
            Intensity = Input { Value = 0.298, },
            ["ShadowLightInputs3D.ShadowsEnabled"] = Input { Value = 1, },
            ["ShadowLightInputs3D.ShadowMapSize"] = Input { Value = 2048, },
         },
         ViewInfo = OperatorInfo { Pos = { 4235, 4372.5 } },
      },
      cone = Shape3D {
         NameSet = true,
         Inputs = {
            ["SurfacePlaneInputs.ObjectID.ObjectID"] = Input { Value = 1, },
            Shape = Input { Value = FuID { "SurfaceConeInputs" }, },
            ["MtlStdInputs.Diffuse.Color.Red"] = Input { Value = 0.819, },
            ["MtlStdInputs.Diffuse.Color.Green"] = Input { Value = 0.75646116, },
            ["MtlStdInputs.Diffuse.Color.Blue"] = Input { Value = 0.479115, },
            ["MtlStdInputs.Specular.Nest"] = Input { Value = 1, },
            ["MtlStdInputs.Specular.Intensity"] = Input { Value = 0.2, },
            ["MtlStdInputs.MaterialID"] = Input { Value = 1, },
            ["SurfaceIcoInputs.ObjectID.ObjectID"] = Input { Value = 2, },
            ["SurfaceConeInputs.SubdivisionLevelBase"] = Input { Value = 3, },
            ["SurfaceConeInputs.ObjectID.ObjectID"] = Input { Value = 7, }
         },
         ViewInfo = OperatorInfo {
            Pos = { 4180, 3976.5 },
            Flags = {
               ShowPic = true
            }
         },
      },
      plane = Shape3D {
         NameSet = true,
         Inputs = {
            ["SurfaceConeInputs.ObjectID.ObjectID"] = Input { Value = 7, },
            ["MtlStdInputs.Diffuse.Color.Red"] = Input { Value = 0.764, },
            ["MtlStdInputs.Diffuse.Color.Green"] = Input { Value = 0.764, },
            ["MtlStdInputs.Diffuse.Color.Blue"] = Input { Value = 0.764, },
            ["MtlStdInputs.Specular.Nest"] = Input { Value = 1, },
            ["MtlStdInputs.Specular.Intensity"] = Input { Value = 0.2, },
            ["MtlStdInputs.MaterialID"] = Input { Value = 1, },
            ["SurfaceIcoInputs.ObjectID.ObjectID"] = Input { Value = 2, },
            ["SurfacePlaneInputs.Width"] = Input { Value = 20, },
            ["SurfacePlaneInputs.Visibility.Nest"] = Input { Value = 1, },
            ["SurfacePlaneInputs.Lighting.Nest"] = Input { Value = 1, },
            ["SurfacePlaneInputs.ObjectID.ObjectID"] = Input { Value = 1, }
         },
         ViewInfo = OperatorInfo {
            Pos = { 4180, 4174.5 },
            Flags = {
               ShowPic = true
            }
         },
      },
      ico = Shape3D {
         NameSet = true,
         Inputs = {
            Shape = Input { Value = FuID { "SurfaceIcoInputs" }, },
            ["MtlStdInputs.Diffuse.Color.Red"] = Input { Value = 0.78365196, },
            ["MtlStdInputs.Diffuse.Color.Green"] = Input { Value = 0.479115, },
            ["MtlStdInputs.Diffuse.Color.Blue"] = Input { Value = 0.819, },
            ["MtlStdInputs.Specular.Nest"] = Input { Value = 1, },
            ["MtlStdInputs.Specular.Intensity"] = Input { Value = 0.2, },
            ["MtlStdInputs.MaterialID"] = Input { Value = 1, },
            ["SurfacePlaneInputs.ObjectID.ObjectID"] = Input { Value = 1, },
            ["SurfaceIcoInputs.ObjectID.ObjectID"] = Input { Value = 2, },
            ["SurfaceConeInputs.ObjectID.ObjectID"] = Input { Value = 7, }
         },
         ViewInfo = OperatorInfo {
            Pos = { 4180, 3877.5 },
            Flags = {
               ShowPic = true
            }
         },
      },
      cube = Shape3D {
         NameSet = true,
         Inputs = {
            ["SurfacePlaneInputs.ObjectID.ObjectID"] = Input { Value = 1, },
            ["SurfaceIcoInputs.ObjectID.ObjectID"] = Input { Value = 2, },
            Shape = Input { Value = FuID { "SurfaceCubeInputs" }, },
            ["MtlStdInputs.Diffuse.Color.Red"] = Input { Value = 0.57156372, },
            ["MtlStdInputs.Diffuse.Color.Green"] = Input { Value = 0.819, },
            ["MtlStdInputs.Diffuse.Color.Blue"] = Input { Value = 0.479115, },
            ["MtlStdInputs.Specular.Nest"] = Input { Value = 1, },
            ["MtlStdInputs.Specular.Intensity"] = Input { Value = 0.2, },
            ["MtlStdInputs.MaterialID"] = Input { Value = 1, },
            ["SurfaceConeInputs.SubdivisionLevelBase"] = Input { Value = 3, },
            ["SurfaceConeInputs.ObjectID.ObjectID"] = Input { Value = 7, },
            ["SurfaceCubeInputs.Lighting.Nest"] = Input { Value = 1, },
            ["SurfaceCubeInputs.ObjectID.ObjectID"] = Input { Value = 8, }
         },
         ViewInfo = OperatorInfo {
            Pos = { 4180, 4075.5 },
            Flags = {
               ShowPic = true
            }
         },
      }
   }
}


Here's a quick one I use. It has Shape3Ds as circles around objects and rendering bypassed to behave like a normal curve rig would work in Maya or Houdini. Save the code to a ".setting" file and throw it in your macros folder as "Rig_3D.setting".
Code: Select all
{
   Tools = ordered() {
      ico_1 = Shape3D {
         NameSet = true,
         Inputs = {
            ["SurfacePlaneInputs.ObjectID.ObjectID"] = Input { Value = 1, },
            ["SurfaceConeInputs.ObjectID.ObjectID"] = Input { Value = 7, },
            Shape = Input { Value = FuID { "SurfaceIcoInputs" }, },
            ["MtlStdInputs.Diffuse.Color.Red"] = Input { Value = 0.78365196, },
            ["MtlStdInputs.Diffuse.Color.Green"] = Input { Value = 0.479115, },
            ["MtlStdInputs.Diffuse.Color.Blue"] = Input { Value = 0.819, },
            ["MtlStdInputs.Specular.Nest"] = Input { Value = 1, },
            ["MtlStdInputs.Specular.Intensity"] = Input { Value = 0.2, },
            ["MtlStdInputs.MaterialID"] = Input { Value = 1, },
            ["SurfaceIcoInputs.ObjectID.ObjectID"] = Input { Value = 2, }
         },
         ViewInfo = OperatorInfo {
            Pos = { 4950, 3844.5 },
            Flags = {
               ShowPic = true
            }
         },
      },
      localXf_3 = Shape3D {
         CtrlWZoom = false,
         NameSet = true,
         Inputs = {
            ["SurfacePlaneInputs.ObjectID.ObjectID"] = Input { Value = 3, },
            SceneInput = Input {
               SourceOp = "ico_1",
               Source = "Output",
            },
            ["Transform3DOp.Translate.X"] = Input { Expression = "0.0", },
            ["Transform3DOp.Translate.Y"] = Input {
               Value = 1,
               Expression = "1",
            },
            ["Transform3DOp.Translate.Z"] = Input { Expression = "0.0", },
            Shape = Input { Value = FuID { "SurfaceTorusInputs" }, },
            ["MtlStdInputs.Diffuse.Color.Red"] = Input { Value = 0.305882352941176, },
            ["MtlStdInputs.Diffuse.Color.Blue"] = Input { Value = 0.862745098039216, },
            ["MtlStdInputs.MaterialID"] = Input { Value = 2, },
            ["SurfaceTorusInputs.Radius"] = Input { Value = 1.405, },
            ["SurfaceTorusInputs.Section"] = Input { Value = 0.011, },
            ["SurfaceTorusInputs.Visibility.Nest"] = Input { Value = 1, },
            ["SurfaceTorusInputs.Visibility.IsUnseenByCameras"] = Input { Value = 1, },
            ["SurfaceTorusInputs.Lighting.Nest"] = Input { Value = 1, },
            ["SurfaceTorusInputs.Lighting.IsAffectedByLights"] = Input { Value = 0, },
            ["SurfaceTorusInputs.ObjectID.ObjectID"] = Input { Value = 4, }
         },
         ViewInfo = OperatorInfo { Pos = { 5060, 3844.5 } },
      },
      worldXf_3 = Shape3D {
         NameSet = true,
         Inputs = {
            ["SurfacePlaneInputs.Width"] = Input { Value = 3.49, },
            ["SurfaceCubeInputs.Wireframe"] = Input { Value = 1, },
            ["SurfacePlaneInputs.ObjectID.ObjectID"] = Input { Value = 3, },
            ["SurfaceSphereInputs.Radius"] = Input { Value = 2.19, },
            ["SurfacePlaneInputs.Wireframe"] = Input { Value = 1, },
            ["SurfacePlaneInputs.SubdivisionWidth"] = Input { Value = 1, },
            ["SurfaceSphereInputs.Wireframe"] = Input { Value = 1, },
            ["SurfaceSphereInputs.ObjectID.ObjectID"] = Input { Value = 6, },
            ["SurfaceCubeInputs.ObjectID.ObjectID"] = Input { Value = 5, },
            ["SurfaceCubeInputs.Width"] = Input { Value = 3.66, },
            ["SurfaceCubeInputs.SubdivisionWidth"] = Input { Value = 1, },
            SceneInput = Input {
               SourceOp = "localXf_3",
               Source = "Output",
            },
            Shape = Input { Value = FuID { "SurfaceTorusInputs" }, },
            ["MtlStdInputs.Diffuse.Color.Red"] = Input { Value = 0.320166, },
            ["MtlStdInputs.Diffuse.Color.Green"] = Input { Value = 0.67973976, },
            ["MtlStdInputs.Diffuse.Color.Blue"] = Input { Value = 0.882, },
            ["MtlStdInputs.MaterialID"] = Input { Value = 2, },
            ["SurfaceTorusInputs.Radius"] = Input { Value = 2.702, },
            ["SurfaceTorusInputs.Section"] = Input { Value = 0.011, },
            ["SurfaceTorusInputs.Visibility.Nest"] = Input { Value = 1, },
            ["SurfaceTorusInputs.Visibility.IsUnseenByCameras"] = Input { Value = 1, },
            ["SurfaceTorusInputs.Lighting.Nest"] = Input { Value = 1, },
            ["SurfaceTorusInputs.Lighting.IsAffectedByLights"] = Input { Value = 0, },
            ["SurfaceTorusInputs.ObjectID.ObjectID"] = Input { Value = 4, }
         },
         ViewInfo = OperatorInfo { Pos = { 5170, 3844.5 } },
      }
   }
}
Resolve & Fusion Studio 18.6.2
Windows 10
Intel Xeon CPU 2699A @ 2.40GHz | 128GB RAM | 2xRTX3090 | 512NVME System | 8TB NMVE Scratch | 80TB 8Gbps Fiber

MacOS 12.7.1
MacBook Pro 13,3 | 16GB | Radeon 460 4GB | 256GB System | 256GB Scratch
Offline

aomay77

  • Posts: 15
  • Joined: Mon Sep 16, 2019 4:30 pm
  • Real Name: aomay huang

Re: Fusion 3D transform

PostSat Sep 23, 2023 4:57 am

Thanks!
~I'll try again

Return to Fusion

Who is online

Users browsing this forum: No registered users and 17 guests