Jump to: Board index » General » Fusion

How to copy this geometry

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

Paulo Madeira

  • Posts: 18
  • Joined: Sat Aug 29, 2015 7:10 pm
  • Location: Sweden/Portugal

How to copy this geometry

PostSat Sep 12, 2015 4:55 pm

Hello

Beginner here.

I need some help on how to copy this triangle all around my circle.
Also I wanted to be able to define colors for the circle and the triangle , how can I do that?

I don't know were does that white color comes from.

Thank you
Attachments
fusion2.png
fusion2.png (88.3 KiB) Viewed 1979 times
Offline
User avatar

Chad Capeland

  • Posts: 3307
  • Joined: Mon Nov 10, 2014 9:40 pm

Re: How to copy this geometry

PostSat Sep 12, 2015 5:41 pm

Ah, the venerable Triangle... Poor guy never got picked for a toolbar...

You have a few options. If you want to keep it a mask, then just duplicate the Triangle and assign a Vector Result modifier to each point. Set the Origin to the center of the circle (looks like it already is), and change the angle (you can instance/publish that between the 3 points).

I wouldn't do that though.

You could make a Ply with 3 points and linear interpolation. Then use the Z Rotation input to change the angle. Duplicate and change the angle for each.

If you didn't care about it being a mask, you could use one Ply and Merge it several times, altering the rotation in each Merge.

Or if you didn't need that EXACT triangle, you could use the Text+ tool to write a triangle character in the font of your choice along a circular path.

Or if you wanted to mess around with Fuses, you could make one that did a duplicate and maximum N times with 1/N rotation each. There is a Duplicate Fuse in the Developer folder that will do that for you, though.

Or you could use the Frame Average Fuse and just manually multiply the number of instances to "undivide" the average. That's the one I'd choose.
Chad Capeland
Indicated, LLC
www.floweffects.com
Offline

Paulo Madeira

  • Posts: 18
  • Joined: Sat Aug 29, 2015 7:10 pm
  • Location: Sweden/Portugal

Re: How to copy this geometry

PostSat Sep 12, 2015 7:34 pm

fusion2.jpg
fusion2.jpg (282.68 KiB) Viewed 1963 times


Thanks Chad

Fusion is really deep!! I feel completely lost here!

Ok I think after reading what you wrote 3 times and trying to guess what is "ply" I got it :-)

Can you see the image , am I doing it right?

Also the triangle seems to suffer from antialiasing , can I use some tool to smooth a bit the triangle?

Thank you
Offline
User avatar

Chad Capeland

  • Posts: 3307
  • Joined: Mon Nov 10, 2014 9:40 pm

Re: How to copy this geometry

PostSat Sep 12, 2015 7:47 pm

Paulo Madeira wrote:Can you see the image , am I doing it right?


You can't create N polygon tools with a slider. Ok, you can, but it's not easy. You can make a script that has a slider, you set the number you want and it makes the tools and sets the rotation.

The other option is to use a Fuse. Fuses can iterate through a loop N times without problem, but you'd have to know how to make a Fuse. Depends how often you want to do this gag and what else it needs to do.

Paulo Madeira wrote:Also the triangle seems to suffer from antialiasing , can I use some tool to smooth a bit the triangle?


Shapes aren't antialiased unless HiQ rendering is turned on.
Chad Capeland
Indicated, LLC
www.floweffects.com
Offline

Lucjan Hirszmajer

  • Posts: 36
  • Joined: Mon Sep 14, 2015 12:14 pm

Re: How to copy this geometry

PostMon Sep 14, 2015 12:21 pm

Hello,

My first post here ;) but I am using Fusion for a while.

You can try different approach - using 3D and orthogonal camera

template subdivision control amount of instances
(just copy-paste this into flow)

Code: Select all
{
   Tools = ordered() {
      Triangle = Shape3D {
         NameSet = true,
         Inputs = {
            ["SurfacePlaneInputs.Width"] = Input { Value = 0.04, },
            ["SurfacePlaneInputs.SubdivisionWidth"] = Input { Value = 1, },
            ["SurfacePlaneInputs.ObjectID.ObjectID"] = Input { Value = 2, },
            ["SurfaceSphereInputs.Radius"] = Input { Value = 0.02, },
            ["SurfaceSphereInputs.ObjectID.ObjectID"] = Input { Value = 4, },
            ["Transform3DOp.Rotate.X"] = Input { Value = 90, },
            Shape = Input { Value = FuID { "SurfaceCylinderInputs", }, },
            ["MtlStdInputs.MaterialID"] = Input { Value = 2, },
            ["SurfaceCylinderInputs.Radius"] = Input { Value = 0.02, },
            ["SurfaceCylinderInputs.Height"] = Input { Value = 0, },
            ["SurfaceCylinderInputs.SubdivisionLevelBase"] = Input { Value = 3, },
            ["SurfaceCylinderInputs.TopCap"] = Input { Value = 1, },
            ["SurfaceCylinderInputs.ObjectID.ObjectID"] = Input { Value = 5, },
         },
         ViewInfo = OperatorInfo { Pos = { 1100, 214.5, }, },
      },
      Replicate3D1 = Replicate3D {
         Inputs = {
            Alignment = Input { Value = 2, },
            PerParticleColors = Input { Value = 0, },
            Rotation = Input { Value = 1, },
            ["Rotate.Y"] = Input { Value = -90, },
            ["Rotate.Z"] = Input { Value = 90, },
            ScaleNest = Input { Value = 1, },
            ["Scale.X"] = Input { Value = 1.30074, },
            Destination = Input {
               SourceOp = "Template",
               Source = "Output",
            },
            Input1 = Input {
               SourceOp = "Triangle",
               Source = "Output",
            },
         },
         ViewInfo = OperatorInfo { Pos = { 1265, 313.5, }, },
      },
      Template = Shape3D {
         CtrlWZoom = false,
         NameSet = true,
         Inputs = {
            ["SurfacePlaneInputs.SubdivisionWidth"] = Input { Value = 4, },
            ["SurfacePlaneInputs.Wireframe"] = Input { Value = 1, },
            ["SurfacePlaneInputs.ObjectID.ObjectID"] = Input { Value = 2, },
            ["Transform3DOp.Rotate.X"] = Input { Value = 90, },
            Shape = Input { Value = FuID { "SurfaceCylinderInputs", }, },
            ["MtlStdInputs.MaterialID"] = Input { Value = 2, },
            ["SurfaceCylinderInputs.Radius"] = Input { Value = 0.4285714, },
            ["SurfaceCylinderInputs.Height"] = Input { Value = 1, },
            ["SurfaceCylinderInputs.SubdivisionLevelBase"] = Input { Value = 43, },
            ["SurfaceCylinderInputs.ObjectID.ObjectID"] = Input { Value = 3, },
         },
         ViewInfo = OperatorInfo { Pos = { 1100, 313.5, }, },
      },
      Merge3D1 = Merge3D {
         Inputs = {
            SceneInput1 = Input {
               SourceOp = "Camera3D1",
               Source = "Output",
            },
            SceneInput2 = Input {
               SourceOp = "Replicate3D1",
               Source = "Data3D",
            },
         },
         ViewInfo = OperatorInfo { Pos = { 1265, 412.5, }, },
      },
      Camera3D1 = Camera3D {
         CustomData = {
            Settings = {
               [1] = {
                  Tools = ordered() {
                     Camera3D1 = Camera3D {
                        CtrlWZoom = false,
                        CustomData = {
                        },
                        Inputs = {
                           ProjectionType = Input { Value = FuID { "Orthographic", }, },
                           AoV = Input { Value = 24.3265863475745, },
                           ["Stereo.Mode"] = Input { Value = FuID { "Mono", }, },
                           ["SurfacePlaneInputs.ObjectID.ObjectID"] = Input { Value = 1, },
                           ["MtlStdInputs.MaterialID"] = Input { Value = 1, },
                        },
                        ViewInfo = OperatorInfo { Pos = { 825, 379.5, }, },
                        Name = "Camera3D1",
                     },
                  },
               },
               [5] = {
                  Tools = ordered() {
                     Camera3D1 = Camera3D {
                        CtrlWZoom = false,
                        CustomData = {
                        },
                        Inputs = {
                           ProjectionType = Input { Value = FuID { "Orthographic", }, },
                           AoV = Input { Value = 24.3265863475745, },
                           ["Stereo.Mode"] = Input { Value = FuID { "Mono", }, },
                           ["SurfacePlaneInputs.ObjectID.ObjectID"] = Input { Value = 1, },
                           ["MtlStdInputs.MaterialID"] = Input { Value = 1, },
                        },
                        ViewInfo = OperatorInfo { Pos = { 825, 379.5, }, },
                     },
                  },
               },
            },
         },
         Inputs = {
            ProjectionType = Input { Value = FuID { "Orthographic", }, },
            AoV = Input { Value = 24.3265863475745, },
            ["Stereo.Mode"] = Input { Value = FuID { "Mono", }, },
            ["SurfacePlaneInputs.ObjectID.ObjectID"] = Input { Value = 1, },
            ["MtlStdInputs.MaterialID"] = Input { Value = 1, },
         },
         ViewInfo = OperatorInfo { Pos = { 1100, 412.5, }, },
      },
      Renderer3D1 = Renderer3D {
         Inputs = {
            Width = Input { Value = 1920, },
            Height = Input { Value = 1080, },
            ["Gamut.SLogVersion"] = Input { Value = FuID { "SLog2", }, },
            SceneInput = Input {
               SourceOp = "Merge3D1",
               Source = "Output",
            },
            RendererType = Input { Value = FuID { "RendererOpenGL", }, },
         },
         ViewInfo = OperatorInfo { Pos = { 1540, 412.5, }, },
      },
   },
}
Offline

Paulo Madeira

  • Posts: 18
  • Joined: Sat Aug 29, 2015 7:10 pm
  • Location: Sweden/Portugal

Re: How to copy this geometry

PostWed Sep 16, 2015 7:19 pm

Hi guys

Thank you for the help .
I would like to share the results of first adventure with fusion.

For the triangles I took a different approach in the end I modeled in 3d the triangles and created a alpha and then imported into Fusion.

Hope you like it

Madeira3d
Offline
User avatar

Stefan Ihringer

  • Posts: 257
  • Joined: Mon Nov 10, 2014 10:40 pm

Re: How to copy this geometry

PostThu Sep 17, 2015 7:00 am

cool!
blog and Fusion stuff: http://comp-fu.com/2012/06/fusion-script-macro-collection/

Return to Fusion

Who is online

Users browsing this forum: No registered users and 21 guests