Jump to: Board index » General » Fusion

Camera Projection seems really buggy

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

StefanThamm

  • Posts: 36
  • Joined: Thu Sep 03, 2015 7:56 am
  • Location: Freiburg, Germany

Camera Projection seems really buggy

PostThu Sep 03, 2015 8:06 am

Hi, first of all, i would like to thank Blackmagic for the great work on Fusion so far. Thanks for bringing Fusion finally to the Mac!

I played around with camera projections and experienced a lot of crashes. The crashes happen, when i disconnect a projection cam from the Merge3D node or disconnecting the Loader of the projected image from the camera node. It seems, that the crash only happens, when i'm actually viewing any downstream-node (after the projection) in one of the viewers. When i haven't loaded a downstream node in the viewer, i can disconnect the nodes (camera or projection texture) from the flow and reconnect them without any crash.

(Running Fusion on OSX 10.10.5, Mac Pro with Dual AMD FirePro D700)

Edit: I noticed, that this happens only, when projection is set to "texture" in the camera node. When projecting "light", Fusion does not crash.
Offline
User avatar

Rony Soussan

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

Re: Camera Projection seems really buggy

PostThu Sep 03, 2015 5:15 pm

Interesting.

In order to use texture ,you have to add a material replace node and put a catcher texture connect to it.
The camera needs the catcher to register the coordinates for the camera.

Try that first, then tell me if it still crashes for you.
Offline
User avatar

StefanThamm

  • Posts: 36
  • Joined: Thu Sep 03, 2015 7:56 am
  • Location: Freiburg, Germany

Re: Camera Projection seems really buggy

PostThu Sep 03, 2015 6:17 pm

Hi Rony, thanks for your reply. I've attached a screenshot of two setups i've tried.

1st: I saw a tutorial on camera-projections on youtube, and the guy connected the catcher directly to a blinn material, which was fed into a shape 3d node.

2nd: I tried your approach with the ReplaceMaterial node.

Both setups work just fine and as expected, as long as i don't disconnect the camera from the Merge3D node. If I do so, Fusion crashes (if the viewer is active or gets activated after diconnecting the cam).
Attachments
CamProjection.jpg
CamProjection.jpg (354.62 KiB) Viewed 1186 times
Offline
User avatar

Rony Soussan

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

Re: Camera Projection seems really buggy

PostThu Sep 03, 2015 9:30 pm

Sounds like a bug...

Copy all the tools in the flow, and paste it inside the code snippet, I want to see the actual tools settings.
Offline
User avatar

StefanThamm

  • Posts: 36
  • Joined: Thu Sep 03, 2015 7:56 am
  • Location: Freiburg, Germany

Re: Camera Projection seems really buggy

PostFri Sep 04, 2015 6:27 am

Setup 1 with Blinn Material:

Code: Select all
{
   Tools = ordered() {
      Shape3D1 = Shape3D {
         Inputs = {
            ["Transform3DOp.Translate.Z"] = Input { Value = -1.7605831323618, },
            MaterialInput = Input {
               SourceOp = "Blinn1",
               Source = "MaterialOutput",
            },
            ["MtlStdInputs.MaterialID"] = Input { Value = 3, },
            ["SurfacePlaneInputs.ObjectID.ObjectID"] = Input { Value = 2, },
         },
         ViewInfo = OperatorInfo { Pos = { 1155, 148.5, }, },
      },
      Merge3D1 = Merge3D {
         Inputs = {
            SceneInput1 = Input {
               SourceOp = "Camera3D1",
               Source = "Output",
            },
            SceneInput2 = Input {
               SourceOp = "Shape3D1",
               Source = "Output",
            },
         },
         ViewInfo = OperatorInfo { Pos = { 1155, 214.5, }, },
      },
      Camera3D1 = Camera3D {
         Inputs = {
            AoV = Input { Value = 24.3265863475745, },
            ["Stereo.Mode"] = Input { Value = FuID { "Mono", }, },
            ImagePlaneEnabled = Input { Value = 0, },
            ["SurfacePlaneInputs.ObjectID.ObjectID"] = Input { Value = 1, },
            ImageInput = Input {
               SourceOp = "FastNoise1",
               Source = "Output",
            },
            ["MtlStdInputs.MaterialID"] = Input { Value = 2, },
            ProjectionEnabled = Input { Value = 1, },
            ProjectionMode = Input { Value = 2, },
         },
         ViewInfo = OperatorInfo { Pos = { 1155, 280.5, }, },
      },
      Blinn1 = MtlBlinn {
         Inputs = {
            ["Diffuse.Color.Material"] = Input {
               SourceOp = "Catcher1",
               Source = "MaterialOutput",
            },
            MaterialID = Input { Value = 1, },
         },
         ViewInfo = OperatorInfo { Pos = { 990, 148.5, }, },
      },
      FastNoise1 = FastNoise {
         Inputs = {
            Width = Input { Value = 1920, },
            Height = Input { Value = 1080, },
            ["Gamut.SLogVersion"] = Input { Value = FuID { "SLog2", }, },
            Gradient = Input {
               Value = Gradient {
                  Colors = {
                     [0] = { 0, 0, 0, 1, },
                     [1] = { 1, 1, 1, 1, },
                  },
               },
            },
         },
         ViewInfo = OperatorInfo { Pos = { 990, 280.5, }, },
      },
      Catcher1 = TexCatcher {
         Inputs = {
            MaterialID = Input { Value = 4, },
         },
         ViewInfo = OperatorInfo { Pos = { 880, 148.5, }, },
      },
   },
}


Setup 2 with material Replace:

Code: Select all
{
   Tools = ordered() {
      Catcher1_1 = TexCatcher {
         CtrlWZoom = false,
         Inputs = {
            MaterialID = Input { Value = 4, },
         },
         ViewInfo = OperatorInfo { Pos = { 1815, 148.5, }, },
      },
      ReplaceMaterial3D1 = ReplaceMaterial3D {
         Inputs = {
            SceneInput = Input {
               SourceOp = "Merge3D1_1",
               Source = "Output",
            },
            MaterialInput = Input {
               SourceOp = "Catcher1_1",
               Source = "MaterialOutput",
            },
            ["MtlStdInputs.MaterialID"] = Input { Value = 5, },
         },
         ViewInfo = OperatorInfo { Pos = { 1815, 214.5, }, },
      },
      Merge3D1_1 = Merge3D {
         Inputs = {
            SceneInput1 = Input {
               SourceOp = "Camera3D1_1",
               Source = "Output",
            },
            SceneInput2 = Input {
               SourceOp = "Shape3D1_1",
               Source = "Output",
            },
         },
         ViewInfo = OperatorInfo { Pos = { 1650, 214.5, }, },
      },
      Shape3D1_1 = Shape3D {
         Inputs = {
            ["Transform3DOp.Translate.Z"] = Input { Value = -1.7605831323618, },
            ["MtlStdInputs.MaterialID"] = Input { Value = 3, },
            ["SurfacePlaneInputs.ObjectID.ObjectID"] = Input { Value = 2, },
         },
         ViewInfo = OperatorInfo { Pos = { 1650, 148.5, }, },
      },
      Camera3D1_1 = Camera3D {
         Inputs = {
            AoV = Input { Value = 24.3265863475745, },
            ["Stereo.Mode"] = Input { Value = FuID { "Mono", }, },
            ImagePlaneEnabled = Input { Value = 0, },
            ["SurfacePlaneInputs.ObjectID.ObjectID"] = Input { Value = 1, },
            ImageInput = Input {
               SourceOp = "FastNoise1_1",
               Source = "Output",
            },
            ["MtlStdInputs.MaterialID"] = Input { Value = 2, },
            ProjectionEnabled = Input { Value = 1, },
            ProjectionMode = Input { Value = 2, },
         },
         ViewInfo = OperatorInfo { Pos = { 1650, 280.5, }, },
      },
      FastNoise1_1 = FastNoise {
         Inputs = {
            Width = Input { Value = 1920, },
            Height = Input { Value = 1080, },
            ["Gamut.SLogVersion"] = Input { Value = FuID { "SLog2", }, },
            Gradient = Input {
               Value = Gradient {
                  Colors = {
                     [0] = { 0, 0, 0, 1, },
                     [1] = { 1, 1, 1, 1, },
                  },
               },
            },
         },
         ViewInfo = OperatorInfo { Pos = { 1485, 280.5, }, },
      },
   },
}

Return to Fusion

Who is online

Users browsing this forum: No registered users and 74 guests