Jump to: Board index » General » Fusion

keep aspect ration of image when put on Cube3D ?

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

Wolfgang Baer

  • Posts: 37
  • Joined: Mon Mar 09, 2015 4:55 pm

keep aspect ration of image when put on Cube3D ?

PostMon Nov 06, 2017 8:01 pm

Sorry, noob here.

With the friendly help of the user Okke Verbart I was able to make a first simple animation with a rotating cube3D.

But I can't figure out how to keep the aspect ration of the image I feed into one of the cube3D material inputs. The png gets speezed to the aspect ration of the geometries face. Is there way to avoid this?

Rotating_Box_2.png
Rotating_Box_2.png (29.58 KiB) Viewed 814 times

Rotating_Box_3.png
Rotating_Box_3.png (20.53 KiB) Viewed 814 times


Code: Select all
{
   Tools = ordered() {
      Blinn1 = MtlBlinn {
         Inputs = {
            ["Specular.Nest"] = Input { Value = 1, },
            ["Transmittance.Nest"] = Input { Value = 1, },
            MaterialIDNest = Input { Value = 1, },
            MaterialID = Input { Value = 16, },
         },
         ViewInfo = OperatorInfo { Pos = { 54.9013, -34.3259 } },
      },
      Rotate_Box = Cube3D {
         NameSet = true,
         Inputs = {
            ["Transform3DOp.Rotate.X"] = Input {
               SourceOp = "Rotate_BoxXRotation",
               Source = "Value",
            },
            ["SurfaceCubeInputs.SizeLock"] = Input { Value = 0, },
            ["SurfaceCubeInputs.Width"] = Input { Value = 2, },
            ["SurfaceCubeInputs.ObjectID.ObjectID"] = Input { Value = 6, },
            FrontMaterialInput = Input {
               SourceOp = "Blinn1",
               Source = "MaterialOutput",
            },
            RightMaterialInput = Input {
               SourceOp = "Blinn1",
               Source = "MaterialOutput",
            },
            LeftMaterialInput = Input {
               SourceOp = "Blinn1",
               Source = "MaterialOutput",
            },
            BottomMaterialInput = Input {
               SourceOp = "Blinn1",
               Source = "MaterialOutput",
            },
            TopMaterialInput = Input {
               SourceOp = "MaterialMerge1",
               Source = "MaterialOutput",
            },
            BackMaterialInput = Input {
               SourceOp = "Blinn1",
               Source = "MaterialOutput",
            },
            MtlFace = Input { Value = 4, },
            ["Front.MtlStdInputs.Diffuse.Color.Green"] = Input { Value = 0.5, },
            ["Front.MtlStdInputs.Diffuse.Color.Blue"] = Input { Value = 0, },
            ["Front.MtlStdInputs.MaterialID"] = Input { Value = 9, },
            ["Right.MtlStdInputs.Diffuse.Color.Red"] = Input { Value = 0.200000002980232, },
            ["Right.MtlStdInputs.Diffuse.Color.Blue"] = Input { Value = 0, },
            ["Right.MtlStdInputs.MaterialID"] = Input { Value = 10, },
            ["Left.MtlStdInputs.Diffuse.Color.Red"] = Input { Value = 0.699999988079071, },
            ["Left.MtlStdInputs.Diffuse.Color.Green"] = Input { Value = 0.400000005960464, },
            ["Left.MtlStdInputs.Diffuse.Color.Blue"] = Input { Value = 0.699999988079071, },
            ["Left.MtlStdInputs.MaterialID"] = Input { Value = 11, },
            ["Bottom.MtlStdInputs.Diffuse.Color.Green"] = Input { Value = 0, },
            ["Bottom.MtlStdInputs.MaterialID"] = Input { Value = 12, },
            ["Top.MtlStdInputs.Specular.Nest"] = Input { Value = 1, },
            ["Top.MtlStdInputs.MaterialID"] = Input { Value = 13, },
            ["Back.MtlStdInputs.MaterialID"] = Input { Value = 14, },
         },
         ViewInfo = OperatorInfo { Pos = { 178.901, 64.6741 } },
      },
      Rotate_BoxXRotation = BezierSpline {
         SplineColor = { Red = 255, Green = 128, Blue = 128 },
         NameSet = true,
         KeyFrames = {
            [20] = { 0, RH = { 43.3333333333333, 0 } },
            [90] = { 90, LH = { 66.6666666666667, 90 } }
         }
      },
      MaterialMerge1 = MtlMerge3D {
         Inputs = {
            BackgroundMaterial = Input {
               SourceOp = "Blinn1",
               Source = "MaterialOutput",
            },
            ForegroundMaterial = Input {
               SourceOp = "Loader1",
               Source = "Output",
            },
            MaterialIDNest = Input { Value = 1, },
            MaterialID = Input { Value = 17, },
         },
         ViewInfo = OperatorInfo { Pos = { 212.901, -34.3259 } },
      },
      Loader1 = Loader {
         Clips = {
            Clip {
               ID = "Clip1",
               Filename = "D:\\work_Private\\MeerKontake\\wbs-logo.png",
               FormatID = "PNGFormat",
               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" }, },
            ["Gamut.GammaAction"] = Input { Value = 1, },
            ["Gamut.PreDividePostMultiply"] = Input { Value = 1, },
         },
         ViewInfo = OperatorInfo { Pos = { 213.901, -99.3259 } },
      },
      Wall_Box_Top = Shape3D {
         NameSet = true,
         Inputs = {
            ["SurfacePlaneInputs.ObjectID.ObjectID"] = Input { Value = 1, },
            ["Transform3DOp.Translate.Y"] = Input { Value = 1, },
            ["Transform3DOp.ScaleLock"] = Input { Value = 0, },
            ["Transform3DOp.Scale.X"] = Input { Value = 2, },
            Shape = Input { Value = FuID { "SurfaceCubeInputs" }, },
            ["MtlStdInputs.MaterialID"] = Input { Value = 1, },
            ["SurfaceCubeInputs.SizeLock"] = Input { Value = 0, },
            ["SurfaceCubeInputs.ObjectID.ObjectID"] = Input { Value = 2, }
         },
         ViewInfo = OperatorInfo { Pos = { 309.705, 135.409 } },
      },
      Merge3D2 = Merge3D {
         Inputs = {
            SceneInput1 = Input {
               SourceOp = "Rotate_Box",
               Source = "Output",
            },
            SceneInput2 = Input {
               SourceOp = "Wall_Box_left",
               Source = "Output",
            },
            SceneInput3 = Input {
               SourceOp = "Wall_Box_Right",
               Source = "Output",
            },
            SceneInput5 = Input {
               SourceOp = "Wall_Box_Bottom",
               Source = "Output",
            },
            SceneInput4 = Input {
               SourceOp = "Wall_Box_Top",
               Source = "Output",
            },
         },
         ViewInfo = OperatorInfo { Pos = { 283, 221 } },
      },
      Wall_Box_Right = Shape3D {
         NameSet = true,
         Inputs = {
            ["SurfacePlaneInputs.ObjectID.ObjectID"] = Input { Value = 1, },
            ["Transform3DOp.Translate.X"] = Input { Value = 2, },
            ["Transform3DOp.ScaleLock"] = Input { Value = 0, },
            ["Transform3DOp.Scale.X"] = Input { Value = 2, },
            ["Transform3DOp.Scale.Y"] = Input { Value = 3, },
            Shape = Input { Value = FuID { "SurfaceCubeInputs" }, },
            ["MtlStdInputs.MaterialID"] = Input { Value = 1, },
            ["SurfaceCubeInputs.ObjectID.ObjectID"] = Input { Value = 2, }
         },
         ViewInfo = OperatorInfo { Pos = { 416.599, 220.25 } },
      },
      Wall_Box_left = Shape3D {
         NameSet = true,
         Inputs = {
            ["SurfacePlaneInputs.ObjectID.ObjectID"] = Input { Value = 1, },
            ["Transform3DOp.Translate.X"] = Input { Value = -2, },
            ["Transform3DOp.ScaleLock"] = Input { Value = 0, },
            ["Transform3DOp.Scale.X"] = Input { Value = 2, },
            ["Transform3DOp.Scale.Y"] = Input { Value = 3, },
            Shape = Input { Value = FuID { "SurfaceCubeInputs" }, },
            ["MtlStdInputs.MaterialID"] = Input { Value = 1, },
            ["SurfaceCubeInputs.ObjectID.ObjectID"] = Input { Value = 2, }
         },
         ViewInfo = OperatorInfo { Pos = { 145.326, 220.644 } },
      },
      SpotLight1 = LightSpot {
         CtrlWZoom = false,
         Inputs = {
            ["Transform3DOp.Translate.X"] = Input { Value = -5.05331746298891, },
            ["Transform3DOp.Translate.Y"] = Input { Value = 2.33207143096595, },
            ["Transform3DOp.Translate.Z"] = Input { Value = 2.09216455439251, },
            ["Transform3DOp.Rotate.X"] = Input { Value = -16.6577519178391, },
            ["Transform3DOp.Rotate.Y"] = Input { Value = -82.1455230293795, },
            ["Transform3DOp.Rotate.Z"] = Input { Value = -7.34294529538602, },
            DecayType = Input { Value = 1, },
            DecayRate = Input { Value = 0.3682, },
            ConeAngle = Input { Value = 51.15, },
            PenumbraAngle = Input { Value = 9.32, },
            ["ShadowLightInputs3D.Nest"] = Input { Value = 1, },
            ["ShadowLightInputs3D.ShadowMapSize"] = Input { Value = 5000, },
         },
         ViewInfo = OperatorInfo { Pos = { 544.864, 264.697 } },
      },
      Wall_Box_Bottom = Shape3D {
         NameSet = true,
         Inputs = {
            ["SurfacePlaneInputs.ObjectID.ObjectID"] = Input { Value = 1, },
            ["Transform3DOp.Translate.Y"] = Input { Value = -1, },
            ["Transform3DOp.ScaleLock"] = Input { Value = 0, },
            ["Transform3DOp.Scale.X"] = Input { Value = 2, },
            Shape = Input { Value = FuID { "SurfaceCubeInputs" }, },
            ["MtlStdInputs.MaterialID"] = Input { Value = 1, },
            ["SurfaceCubeInputs.SizeLock"] = Input { Value = 0, },
            ["SurfaceCubeInputs.ObjectID.ObjectID"] = Input { Value = 2, }
         },
         ViewInfo = OperatorInfo { Pos = { 264.629, 300.417 } },
      },
      Merge3D1_1 = Merge3D {
         Inputs = {
            SceneInput1 = Input {
               SourceOp = "Merge3D2",
               Source = "Output",
            },
            SceneInput2 = Input {
               SourceOp = "Camera3D1",
               Source = "Output",
            },
            SceneInput3 = Input {
               SourceOp = "SpotLight1",
               Source = "Output",
            },
         },
         ViewInfo = OperatorInfo { Pos = { 605.576, 341.129 } },
      },
      Camera3D1 = Camera3D {
         Inputs = {
            ["Transform3DOp.Translate.Z"] = Input { Value = 7.75020398066175, },
            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 = 3, },
            ["MtlStdInputs.MaterialID"] = Input { Value = 2, },
         },
         ViewInfo = OperatorInfo { Pos = { 660.697, 265.053 } },
      },
      Renderer3D1 = Renderer3D {
         CustomData = {
            ToolVersion = 2,
         },
         Inputs = {
            ["RendererSoftware.ShadowsEnabled"] = Input { Value = 1, },
            ["RendererSoftware.LightingEnabled"] = Input { Value = 1, },
            GlobalOut = Input { Value = 90, },
            UseFrameFormatSettings = Input { Value = 1, },
            Width = Input { Value = 3840, },
            Height = Input { Value = 2160, },
            ["Gamut.SLogVersion"] = Input { Value = FuID { "SLog2" }, },
            SceneInput = Input {
               SourceOp = "Merge3D1_1",
               Source = "Output",
            },
            RendererType = Input { Value = FuID { "RendererOpenGL" }, },
            ["RendererOpenGL.LightingEnabled"] = Input { Value = 1, },
            ["RendererOpenGL.ShadowsEnabled"] = Input { Value = 1, },
         },
         ViewInfo = OperatorInfo { Pos = { 738.106, 341.417 } },
      },
      Saver1 = Saver {
         Inputs = {
            ProcessWhenBlendIs00 = Input { Value = 0, },
            Clip = Input {
               Value = Clip {
                  Filename = "D:\\work_Private\\MeerKontake\\wbs.avi",
                  FormatID = "AVIFormat",
                  Length = 0,
                  Multiframe = true,
                  Saving = true,
                  TrimIn = 0,
                  ExtendFirst = 0,
                  ExtendLast = 0,
                  Loop = 1,
                  AspectMode = 0,
                  Depth = 0,
                  GlobalStart = -2000000000,
                  GlobalEnd = 0
               },
            },
            OutputFormat = Input { Value = FuID { "AVIFormat" }, },
            ProcessMode = Input { Value = FuID { "FullFrames" }, },
            ["Gamut.SLogVersion"] = Input { Value = FuID { "SLog2" }, },
            Input = Input {
               SourceOp = "Renderer3D1",
               Source = "Output",
            },
            ["AVIFormat.Compression"] = Input { Value = 7, },
            ["AVIFormat.KeyFrames"] = Input { Value = 10, },
            ["AVIFormat.Quality"] = Input { Value = 100, },
            ["AVIFormat.AttemptToSaveAlpha"] = Input { Value = 0, }
         },
         ViewInfo = OperatorInfo { Pos = { 862.917, 340.773 } },
      }
   }
}
Attachments
wbs-logo.png
wbs-logo.png (115.04 KiB) Viewed 814 times
noob
Offline

Thomas Martin

  • Posts: 75
  • Joined: Tue Sep 19, 2017 5:11 pm

Re: keep aspect ration of image when put on Cube3D ?

PostMon Nov 06, 2017 8:39 pm

This can only be solved using either resized cubes or text. Here is the compostion with resized cubes.
Hope this helps, Cheers

Code: Select all
Composition {
   CurrentTime = 0,
   RenderRange = { 0, 1000 },
   GlobalRange = { 0, 1000 },
   CurrentID = 34,
   PlaybackUpdateMode = 0,
   Version = "Fusion Studio 9.0.1 build 3",
   SavedOutputs = 0,
   HeldTools = 0,
   DisabledTools = 0,
   LockedTools = 0,
   AudioOffset = 0,
   AutoRenderRange = true,
   Resumable = true,
   OutputClips = {
      "D:\\work_Private\\MeerKontake\\wbs.avi"
   },
   Tools = {
      Loader1 = Loader {
         Clips = {
            Clip {
               ID = "Clip1",
               Filename = "C:\\Users\\user\\Desktop\\wbs-logo.png",
               FormatID = "PNGFormat",
               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" }, },
            ["Gamut.GammaAction"] = Input { Value = 1, },
            ["Gamut.PreDividePostMultiply"] = Input { Value = 1, },
         },
         ViewInfo = OperatorInfo { Pos = { 1154, 304.5 } },
      },
      Wall_Box_left = Shape3D {
         CtrlWZoom = false,
         NameSet = true,
         Inputs = {
            ["SurfacePlaneInputs.ObjectID.ObjectID"] = Input { Value = 1, },
            ["Transform3DOp.Translate.X"] = Input { Value = -2.21906394470691, },
            ["Transform3DOp.ScaleLock"] = Input { Value = 0, },
            ["Transform3DOp.Scale.X"] = Input { Value = 1.13725490196078, },
            ["Transform3DOp.Scale.Y"] = Input { Value = 3, },
            Shape = Input { Value = FuID { "SurfaceCubeInputs" }, },
            ["MtlStdInputs.MaterialID"] = Input { Value = 1, },
            ["SurfaceCubeInputs.ObjectID.ObjectID"] = Input { Value = 2, }
         },
         ViewInfo = OperatorInfo { Pos = { 715, 478.5 } },
      },
      Saver1 = Saver {
         Inputs = {
            ProcessWhenBlendIs00 = Input { Value = 0, },
            Clip = Input {
               Value = Clip {
                  Filename = "D:\\work_Private\\MeerKontake\\wbs.avi",
                  FormatID = "AVIFormat",
                  Length = 0,
                  Multiframe = true,
                  Saving = true,
                  TrimIn = 0,
                  ExtendFirst = 0,
                  ExtendLast = 0,
                  Loop = 1,
                  AspectMode = 0,
                  Depth = 0,
                  TimeCode = 0,
                  GlobalStart = -2000000000,
                  GlobalEnd = 0
               },
            },
            OutputFormat = Input { Value = FuID { "AVIFormat" }, },
            ProcessMode = Input { Value = FuID { "FullFrames" }, },
            ["Gamut.SLogVersion"] = Input { Value = FuID { "SLog2" }, },
            Input = Input {
               SourceOp = "Renderer3D1",
               Source = "Output",
            },
            ["AVIFormat.Compression"] = Input { Value = 7, },
            ["AVIFormat.KeyFrames"] = Input { Value = 10, },
            ["AVIFormat.Quality"] = Input { Value = 100, },
            ["AVIFormat.AttemptToSaveAlpha"] = Input { Value = 0, },
         },
         ViewInfo = OperatorInfo { Pos = { 1512, 566.5 } },
      },
      Rotate_Box = Cube3D {
         CtrlWZoom = false,
         NameSet = true,
         Inputs = {
            ["Transform3DOp.Rotate.X"] = Input {
               SourceOp = "Rotate_BoxXRotation",
               Source = "Value",
            },
            ["SurfaceCubeInputs.SizeLock"] = Input { Value = 0, },
            ["SurfaceCubeInputs.Width"] = Input { Value = 3.33, },
            ["SurfaceCubeInputs.ObjectID.ObjectID"] = Input { Value = 6, },
            FrontMaterialInput = Input {
               SourceOp = "Blinn1",
               Source = "MaterialOutput",
            },
            RightMaterialInput = Input {
               SourceOp = "Blinn1",
               Source = "MaterialOutput",
            },
            LeftMaterialInput = Input {
               SourceOp = "Blinn1",
               Source = "MaterialOutput",
            },
            BottomMaterialInput = Input {
               SourceOp = "Blinn1",
               Source = "MaterialOutput",
            },
            TopMaterialInput = Input {
               SourceOp = "MaterialMerge1",
               Source = "MaterialOutput",
            },
            BackMaterialInput = Input {
               SourceOp = "Blinn1",
               Source = "MaterialOutput",
            },
            MtlFace = Input { Value = 4, },
            ["Front.MtlStdInputs.Diffuse.Color.Green"] = Input { Value = 0.5, },
            ["Front.MtlStdInputs.Diffuse.Color.Blue"] = Input { Value = 0, },
            ["Front.MtlStdInputs.MaterialID"] = Input { Value = 9, },
            ["Right.MtlStdInputs.Diffuse.Color.Red"] = Input { Value = 0.200000002980232, },
            ["Right.MtlStdInputs.Diffuse.Color.Blue"] = Input { Value = 0, },
            ["Right.MtlStdInputs.MaterialID"] = Input { Value = 10, },
            ["Left.MtlStdInputs.Diffuse.Color.Red"] = Input { Value = 0.699999988079071, },
            ["Left.MtlStdInputs.Diffuse.Color.Green"] = Input { Value = 0.400000005960464, },
            ["Left.MtlStdInputs.Diffuse.Color.Blue"] = Input { Value = 0.699999988079071, },
            ["Left.MtlStdInputs.MaterialID"] = Input { Value = 11, },
            ["Bottom.MtlStdInputs.Diffuse.Color.Green"] = Input { Value = 0, },
            ["Bottom.MtlStdInputs.MaterialID"] = Input { Value = 12, },
            ["Top.MtlStdInputs.Specular.Nest"] = Input { Value = 1, },
            ["Top.MtlStdInputs.MaterialID"] = Input { Value = 13, },
            ["Back.MtlStdInputs.MaterialID"] = Input { Value = 14, },
         },
         ViewInfo = OperatorInfo { Pos = { 639, 363.5 } },
      },
      Merge3D1_1 = Merge3D {
         Inputs = {
            SceneInput1 = Input {
               SourceOp = "Merge3D2",
               Source = "Output",
            },
            SceneInput2 = Input {
               SourceOp = "Camera3D1",
               Source = "Output",
            },
            SceneInput3 = Input {
               SourceOp = "SpotLight1",
               Source = "Output",
            },
         },
         ViewInfo = OperatorInfo { Pos = { 1265, 643.5 } },
      },
      SpotLight1 = LightSpot {
         Inputs = {
            ["Transform3DOp.Translate.X"] = Input { Value = -5.05331746298891, },
            ["Transform3DOp.Translate.Y"] = Input { Value = 2.33207143096595, },
            ["Transform3DOp.Translate.Z"] = Input { Value = 2.09216455439251, },
            ["Transform3DOp.Rotate.X"] = Input { Value = -16.6577519178391, },
            ["Transform3DOp.Rotate.Y"] = Input { Value = -82.1455230293795, },
            ["Transform3DOp.Rotate.Z"] = Input { Value = -7.34294529538602, },
            DecayType = Input { Value = 1, },
            DecayRate = Input { Value = 0.3682, },
            ConeAngle = Input { Value = 51.15, },
            PenumbraAngle = Input { Value = 9.32, },
            ["ShadowLightInputs3D.Nest"] = Input { Value = 1, },
            ["ShadowLightInputs3D.ShadowMapSize"] = Input { Value = 5000, },
         },
         ViewInfo = OperatorInfo { Pos = { 1210, 544.5 } },
      },
      Renderer3D1 = Renderer3D {
         CustomData = {
            ToolVersion = 2
         },
         Inputs = {
            ["RendererSoftware.ShadowsEnabled"] = Input { Value = 1, },
            ["RendererSoftware.LightingEnabled"] = Input { Value = 1, },
            UseFrameFormatSettings = Input { Value = 1, },
            Width = Input { Value = 1920, },
            Height = Input { Value = 1080, },
            ["Gamut.SLogVersion"] = Input { Value = FuID { "SLog2" }, },
            SceneInput = Input {
               SourceOp = "Merge3D1_1",
               Source = "Output",
            },
            RendererType = Input { Value = FuID { "RendererOpenGL" }, },
            ["RendererOpenGL.LightingEnabled"] = Input { Value = 1, },
            ["RendererOpenGL.ShadowsEnabled"] = Input { Value = 1, },
         },
         ViewInfo = OperatorInfo { Pos = { 1375, 643.5 } },
      },
      Blinn1 = MtlBlinn {
         Inputs = {
            ["Specular.Nest"] = Input { Value = 1, },
            ["Transmittance.Nest"] = Input { Value = 1, },
            MaterialIDNest = Input { Value = 1, },
            MaterialID = Input { Value = 16, },
         },
         ViewInfo = OperatorInfo { Pos = { 501, 234.5 } },
      },
      Wall_Box_Bottom = Shape3D {
         NameSet = true,
         Inputs = {
            ["SurfacePlaneInputs.ObjectID.ObjectID"] = Input { Value = 1, },
            ["Transform3DOp.Translate.Y"] = Input { Value = -1, },
            ["Transform3DOp.ScaleLock"] = Input { Value = 0, },
            ["Transform3DOp.Scale.X"] = Input { Value = 4.64052287581699, },
            Shape = Input { Value = FuID { "SurfaceCubeInputs" }, },
            ["MtlStdInputs.MaterialID"] = Input { Value = 1, },
            ["SurfaceCubeInputs.SizeLock"] = Input { Value = 0, },
            ["SurfaceCubeInputs.ObjectID.ObjectID"] = Input { Value = 2, }
         },
         ViewInfo = OperatorInfo { Pos = { 880, 577.5 } },
      },
      MaterialMerge1 = MtlMerge3D {
         Inputs = {
            BackgroundMaterial = Input {
               SourceOp = "Blinn1",
               Source = "MaterialOutput",
            },
            ForegroundMaterial = Input {
               SourceOp = "Loader1",
               Source = "Output",
            },
            MaterialIDNest = Input { Value = 1, },
            MaterialID = Input { Value = 17, },
         },
         ViewInfo = OperatorInfo { Pos = { 879, 241.5 } },
      },
      Rotate_BoxXRotation = BezierSpline {
         SplineColor = { Red = 255, Green = 128, Blue = 128 },
         NameSet = true,
         KeyFrames = {
            [20] = { 0, RH = { 43.3333333333333, 0 } },
            [90] = { 90, LH = { 66.6666666666667, 90 } }
         }
      },
      Wall_Box_Right = Shape3D {
         NameSet = true,
         Inputs = {
            ["SurfacePlaneInputs.ObjectID.ObjectID"] = Input { Value = 1, },
            ["Transform3DOp.Translate.X"] = Input { Value = 2.16683877387469, },
            ["Transform3DOp.ScaleLock"] = Input { Value = 0, },
            ["Transform3DOp.Scale.X"] = Input { Value = 1.01883890811226, },
            ["Transform3DOp.Scale.Y"] = Input { Value = 3, },
            Shape = Input { Value = FuID { "SurfaceCubeInputs" }, },
            ["MtlStdInputs.MaterialID"] = Input { Value = 1, },
            ["SurfaceCubeInputs.ObjectID.ObjectID"] = Input { Value = 2, }
         },
         ViewInfo = OperatorInfo { Pos = { 1100, 478.5 } },
      },
      Camera3D1 = Camera3D {
         Inputs = {
            ["Transform3DOp.Translate.Z"] = Input { Value = 7.75020398066175, },
            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 = 3, },
            ["MtlStdInputs.MaterialID"] = Input { Value = 2, },
         },
         ViewInfo = OperatorInfo { Pos = { 1336, 520.5 } },
      },
      Wall_Box_Top = Shape3D {
         NameSet = true,
         Inputs = {
            ["SurfacePlaneInputs.ObjectID.ObjectID"] = Input { Value = 1, },
            ["Transform3DOp.Translate.Y"] = Input { Value = 1, },
            ["Transform3DOp.ScaleLock"] = Input { Value = 0, },
            ["Transform3DOp.Scale.X"] = Input { Value = 4.17843815726983, },
            Shape = Input { Value = FuID { "SurfaceCubeInputs" }, },
            ["MtlStdInputs.MaterialID"] = Input { Value = 1, },
            ["SurfaceCubeInputs.SizeLock"] = Input { Value = 0, },
            ["SurfaceCubeInputs.ObjectID.ObjectID"] = Input { Value = 2, }
         },
         ViewInfo = OperatorInfo { Pos = { 880, 412.5 } },
      },
      Merge3D2 = Merge3D {
         Inputs = {
            SceneInput1 = Input {
               SourceOp = "Rotate_Box",
               Source = "Output",
            },
            SceneInput2 = Input {
               SourceOp = "Wall_Box_left",
               Source = "Output",
            },
            SceneInput3 = Input {
               SourceOp = "Wall_Box_Right",
               Source = "Output",
            },
            SceneInput5 = Input {
               SourceOp = "Wall_Box_Bottom",
               Source = "Output",
            },
            SceneInput4 = Input {
               SourceOp = "Wall_Box_Top",
               Source = "Output",
            },
         },
         ViewInfo = OperatorInfo { Pos = { 990, 511.5 } },
      }
   },
   Views = {
      {
         FrameTypeID = "ChildFrame",
         Mode = 3,
         LayoutPreset = 0,
         Left = 0,
         Top = 27,
         Width = 1920,
         Height = 1104,
         Views = ordered() {
            Main = MultiView {
               Active = "Flow",
               ViewList = ordered() {
                  Flow = "FlowView",
                  Console = "ConsoleView",
                  Timeline = "TimelineView",
                  Spline = "SplineEditorView",
                  Info = "InfoView",
                  Chat = "ChatView"
               },
               Flow = FlowView {
                  Flags = {
                     AutoHideNavigator = true,
                     ForceAll = true,
                     ForceSource = true,
                     ForceActive = true,
                     AutoSnap = true,
                     RemoveRouters = true
                  },
                  NavigatorSize = { 200, 140 },
                  Direction = "Horizontal",
                  PipeStyle = "Direct",
                  Scale = 0.468136,
                  Offset = { 792.294, 264.195 }
               },
               Timeline = TimelineView {
                  TreeControlState = {
                  },
                  DisplayMode = "All Tools",
                  ShowCurrentTimeTools = false,
                  Filter = "Show All",
                  ShowSelectedTools = false,
                  ShowAnimatedToolsOnly = false,
                  ShowEditBoxes = false,
                  KeyFrameView = {
                     Position = { Left = 150, Bottom = 343 },
                     ScaleX = 2.14424951267057,
                     OffsetX = -51.4619883040936,
                     OffsetY = 0,
                     AutoScaling = "scroll",
                     AutoSnapTo = "frame",
                     AutoSnapToGuidelines = false,
                     GuidelinesGrabEnabled = true,
                     GuidelinesSnapTo = "frame"
                  },
                  Spreadsheet = { LeftPos = 150, Visible = false }
               },
               Spline = SplineEditorView {
                  LeftPos = 256,
                  ScaleX = 0.2,
                  ScaleY = 0.00338983050847458,
                  OffsetX = -3.8,
                  OffsetY = 0,
                  AutoScaling = "scroll",
                  AutoSnapTo = "frame",
                  AutoSnapToGuidelines = false,
                  GuidelinesSnapTo = "frame",
                  ShowKeyMarkers = false,
                  IndependentHandles = false,
                  ShowNonSplineModifiers = false,
                  GuidelinesGrabEnabled = true,
                  ShowOneToolOnly = false,
                  ShowSelectedTools = false,
                  ShowAllInputs = false,
                  Filter = "Show All"
               },
            },
            Controls = MultiView {
               Active = "Tools",
               ViewList = ordered() {
                  Tools = "ControlView",
                  Modifiers = "ModifierView"
               },
            },
            Left = "PreviewContainer",
            Right = "PreviewContainer",
            Transport = "TransportView",
            Time = "TimeView"
         },
         Layout = {
            Columns = 2,
            RatioX = 1,
            RatioY = 1,
            {
               Rows = 3,
               RatioX = 0.820365535248042,
               RatioY = 0.00998185117967332,
               {
                  Columns = 2,
                  RatioX = 1,
                  RatioY = 0.473540145985401,
                  { ID = "Left", RatioX = 0.5, RatioY = 0.00963391136801541, Pop = true },
                  { ID = "Right", RatioX = 0.5, Pop = true },
                  Pop = true
               },
               { ID = "Main", RatioY = 0.473540145985401, Pop = true },
               { ID = "Time", SnapY = 56, Flat = true }
            },
            {
               Rows = 2,
               PixelX = 342,
               { ID = "Controls", RatioX = 1, RatioY = 1 },
               { ID = "Transport", FixedY = -2 }
            }
         }
      }
   },
   Prefs = {
      Comp = {
         Views = {
            Right = {
               Viewer = {
                  ScaleMode = 1,
                  Channel = 0,
               },
               SideB = {
                  PrevCtrlInactiveColor = 4278255360,
                  PickW = 1,
                  PickH = 1,
                  PrevCtrlActiveColor = 4278190335,
                  Viewer = {
                     EnableLUTs = false,
                     LUTPlugin = "FusionViewLUT",
                     NearZ = 0,
                     FitMarginX = 0,
                     FitMarginType = 0,
                     FarZ = -1000,
                     FitMarginY = 0
                  }
               },
               View3D = {
                  CamRight = {
                     Rotation = {
                        Y = -90,
                        X = 0,
                        Z = 0
                     },
                     Scale = 1,
                     Position = {
                        Y = 0,
                        X = 0,
                        Z = 0
                     }
                  },
                  Options = {
                     Lighting = true,
                     Shadows = true,
                  },
                  CamLeft = {
                     Rotation = {
                        Y = 90,
                        X = 0,
                        Z = 0
                     },
                     Scale = 1,
                     Position = {
                        Y = 0,
                        X = 0,
                        Z = 0
                     }
                  },
                  CamTop = {
                     Rotation = {
                        Y = 0,
                        X = 90,
                        Z = 0
                     },
                     Scale = 1,
                     Position = {
                        Y = 0,
                        X = 0,
                        Z = 0
                     }
                  },
                  CamPersp = {
                     Rotation = {
                        Y = 352.000030517578,
                        X = 9.20000267028809,
                        Z = 0
                     },
                     Scale = 0.528861045837402,
                     Position = {
                        Y = -0,
                        X = 0.139136075973511,
                        Z = 0
                     }
                  },
                  CamFront = {
                     Rotation = {
                        Y = 0,
                        X = 0,
                        Z = 0
                     },
                     Scale = 1,
                     Position = {
                        Y = 0,
                        X = 0,
                        Z = 0
                     }
                  },
                  CameraName = "Perspective",
               },
            },
            Left = {
               Viewer = {
                  ScaleMode = 1
               },
               SideB = {
                  PrevCtrlInactiveColor = 4278255360,
                  PickW = 1,
                  PickH = 1,
                  PrevCtrlActiveColor = 4278190335,
                  Viewer = {
                     EnableLUTs = false,
                     LUTPlugin = "FusionViewLUT",
                     NearZ = 0,
                     FitMarginX = 0,
                     FitMarginType = 0,
                     FarZ = -1000,
                     FitMarginY = 0
                  }
               },
               MaterialViewer = {
                  Camera = {
                     Rotation = {
                        Y = -20,
                        X = 15,
                        Z = 0
                     }
                  }
               },
               View3D = {
                  CamFront = {
                     Rotation = {
                        Y = 0,
                        X = 0,
                        Z = 0
                     },
                     Scale = 1,
                     Position = {
                        Y = 0,
                        X = 0,
                        Z = 0
                     }
                  },
                  CamLeft = {
                     Rotation = {
                        Y = 90,
                        X = 0,
                        Z = 0
                     },
                     Scale = 1,
                     Position = {
                        Y = 0,
                        X = 0,
                        Z = 0
                     }
                  },
                  CamPersp = {
                     Rotation = {
                        Y = 0,
                        X = 30,
                        Z = 0
                     },
                     Scale = 0.505225718021393,
                     Position = {
                        Y = 0,
                        X = 0,
                        Z = 0
                     }
                  },
                  CamRight = {
                     Rotation = {
                        Y = -90,
                        X = 0,
                        Z = 0
                     },
                     Scale = 1,
                     Position = {
                        Y = 0,
                        X = 0,
                        Z = 0
                     }
                  },
                  CamTop = {
                     Rotation = {
                        Y = 0,
                        X = 90,
                        Z = 0
                     },
                     Scale = 1,
                     Position = {
                        Y = 0,
                        X = 0,
                        Z = 0
                     }
                  }
               },
            },
            View1 = {
               Viewer = {
                  LUTSelected = "",
                  DoD = {
                     Show = false
                  },
                  CheckerUnderlay = true,
                  Normalise = false,
                  ID = "GLImageViewer",
                  OverlayColor = 7,
                  Smooth = true,
                  SmoothThreshold = 1000000,
                  View360 = 0,
                  Region = {
                     Show = true,
                     Bottom = 0,
                     Auto = false,
                     Lock = false,
                     Enable = false,
                     Right = 1,
                     Left = 0,
                     Top = 1
                  },
                  ShowControls = true,
                  Layer = "",
                  ShowLabels = true,
                  OverlayOpacity = 100,
                  PixelGrid = false,
                  Channel = -1,
                  One2One = false,
                  AlphaOverlay = false,
                  ScaleMode = 0,
                  FollowActive = false
               },
               MaterialViewer = {
                  Options = {
                     RendererType = "RendererOpenGL",
                     LightPosition = 0,
                     SurfaceType = 0,
                     LightingEnabled = true
                  },
                  Camera = {
                     Rotation = {
                        Y = -20,
                        X = 15,
                        Z = 0
                     }
                  }
               },
               ["3DHistogram"] = {
                  Proxy = 4,
                  Log = false,
                  Transparent = true,
                  LoopLines = true,
                  DrawStyles = 0
               },
               CheckerUnderlay = false,
               BgColor = -1,
               SubView = {
                  Enabled = false,
                  Navigator = false,
                  Magnifier = false,
                  ID = "GLHistogramViewer",
                  MagnifierScale = 8
               },
               FullScreen = false,
               Guides = {
                  Show = false,
                  Center = true,
                  SafeTitle = true,
                  SafeImage = true,
                  Film = false,
                  FrameAspect = "Default"
               },
               View3D = {
                  Options = {
                     SelectionBoxStipple = 65520,
                     ShowTextureMemory = false,
                     Shadows = false,
                     ShowLights = true,
                     Lighting = false,
                     ShowUVTangentVectors = false,
                     ShowPointClouds = true,
                     Grid = true,
                     ShowFastLabel = false,
                     ShowVertexNormals = false,
                     ShowMatteObjects = false,
                     DefaultLight = true,
                     Culling = false,
                     ShowCameras = true,
                     Wireframe = false,
                     SelectionBoxStippleHidden = 52416
                  },
                  CamLeft = {
                     Rotation = {
                        Y = 90,
                        X = 0,
                        Z = 0
                     },
                     Scale = 1,
                     Position = {
                        Y = 0,
                        X = 0,
                        Z = 0
                     }
                  },
                  CamPersp = {
                     Rotation = {
                        Y = 0,
                        X = 30,
                        Z = 0
                     },
                     Scale = 1,
                     Position = {
                        Y = 0,
                        X = 0,
                        Z = 0
                     }
                  },
                  CamRight = {
                     Rotation = {
                        Y = -90,
                        X = 0,
                        Z = 0
                     },
                     Scale = 1,
                     Position = {
                        Y = 0,
                        X = 0,
                        Z = 0
                     }
                  },
                  TextureDepth = "int8",
                  CamFront = {
                     Rotation = {
                        Y = 0,
                        X = 0,
                        Z = 0
                     },
                     Scale = 1,
                     Position = {
                        Y = 0,
                        X = 0,
                        Z = 0
                     }
                  },
                  SortMethod = "ZBuffer",
                  OverscanMode = 0,
                  CustomOverscan = 1.37,
                  CamTop = {
                     Rotation = {
                        Y = 0,
                        X = 90,
                        Z = 0
                     },
                     Scale = 1,
                     Position = {
                        Y = 0,
                        X = 0,
                        Z = 0
                     }
                  },
                  CameraName = "Perspective"
               },
               QuadLayoutName = "4-Way",
               AlwaysOnTop = true,
               QuadView = false,
               Controls = {
                  Hiding = 0,
                  Autofade = false,
                  FadeSpeed = 1,
                  SnapPixel = false,
                  Opacity = 100,
                  FadeDelay = 2000,
                  SnapPixelMode = 0,
                  StippleHidden = true
               },
               Dither = false,
               PickW = 1,
               Vectorscope = {
                  DrawStyles = 1,
                  OneLine = false,
                  Color = false,
                  LoopLines = true,
                  SubSampling = 4,
                  ColorSpace = 0
               },
               PickH = 1,
               VideoOut = false,
               Toolbar = {
                  Style = 0,
                  Size = 0
               },
               PrevCtrlInactiveColor = 4278255360,
               Mirror = {
                  Enable = false,
                  StereoMethod = "Auto",
                  Device = ""
               },
               Histogram = {
                  DrawStyles = 0,
                  Channels = 7,
                  Scale = 0,
                  Transparent = false
               },
               PrevCtrlActiveColor = 4278190335,
               Waveform = {
                  OneLine = false,
                  SubSampling = 4,
                  Mode = 0,
                  LoopLines = true,
                  ColorSpace = 0
               },
               ShowClipFrameNumbers = true,
               BufferLUT = {
                  Enable = false,
                  Selected = "",
                  Plugin = "FusionViewLUT"
               },
               Stereo = {
                  Enabled = false,
                  Swap = false,
                  AnaglyphMethod = "Color",
                  StackMethod = "Horizontal",
                  OffsetX = {
                     QuadB = 0,
                     Stack = 0
                  },
                  Stack = false,
                  DisplayMethod = "Quad Buffer",
                  OffsetY = {
                     QuadB = 0,
                     Stack = 0
                  },
                  ABSource = false,
                  AnaglyphColor = "Red/Cyan"
               },
               OpToolbar = {
                  Style = 0,
                  Size = 1
               }
            },
         },
         FrameFormat = {
            GuideRatio = 1.77777777777778,
         },
         LastFile = "D:\\DL\\comp-defocus-test\\anim0000.exr",
         AVI = {
            Saver = {
               Handler = 1448433993,
            },
            Preview = {
               DataCheck = true,
               Key = 15,
               Quality = 75,
               DataRate = 300,
               KeyCheck = true,
               Handler = 1668707181
            }
         },
         Tweaks = {
            OpenCL = {
               Enable = 1,
            }
         },
         Paths = {
         },
         FlowView = {
            ForceActive = true,
            ForceSource = true,
            ForceAll = true,
         },
         QuickTime = {
         },
         Import = {
            OMF = {
               FlowFormat = 0
            }
         }
      }
   }
}

 
Offline

Wolfgang Baer

  • Posts: 37
  • Joined: Mon Mar 09, 2015 4:55 pm

Re: keep aspect ration of image when put on Cube3D ?

PostMon Nov 06, 2017 11:03 pm

Thanks,

I'll try with that idea.
noob
Offline

Wolfgang Baer

  • Posts: 37
  • Joined: Mon Mar 09, 2015 4:55 pm

Re: keep aspect ration of image when put on Cube3D ?

PostTue Nov 07, 2017 6:05 am

Found a simple solution.
I just put a Transform after the image loader. With that I can easily correct the aspect ratio and size of the image.
noob

Return to Fusion

Who is online

Users browsing this forum: No registered users and 44 guests