Jump to: Board index » General » Fusion

how to extract vertex position value?

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

Eugene Afanasiev

  • Posts: 558
  • Joined: Sun Aug 30, 2015 2:57 pm
  • Location: Russia

how to extract vertex position value?

PostSat Nov 11, 2017 1:12 pm

Code: Select all
{
   Tools = ordered() {
      FastNoise1 = FastNoise {
         Inputs = {
            Width = Input { Value = 1000, },
            Height = Input { Value = 1000, },
            ["Gamut.SLogVersion"] = Input { Value = FuID { "SLog2" }, },
            Detail = Input { Value = 7.09, },
            Contrast = Input { Value = 0.838, },
            XScale = Input { Value = 5.64, },
            SeetheRate = Input { Value = 0.026, },
            Color1Red = Input { Value = 1, },
            Color1Blue = Input { Value = 1, },
         },
         ViewInfo = OperatorInfo { Pos = { 1045, 181.5 } },
      },
      Displace3D1 = Displace3D {
         CtrlWZoom = false,
         Inputs = {
            SceneInput = Input {
               SourceOp = "Ribbon3D1",
               Source = "Output",
            },
            Channel = Input { Value = 6, },
            Scale = Input { Value = 1, },
            Input = Input {
               SourceOp = "FastNoise1",
               Source = "Output",
            },
         },
         ViewInfo = OperatorInfo { Pos = { 1155, 412.5 } },
      },
      Ribbon3D1 = Ribbon3D {
         Inputs = {
            NumberOfLines = Input { Value = 1, },
            SubdivisionLevel = Input { Value = 59, },
            ["ObjectID.ObjectID"] = Input { Value = 1, },
            ["MtlStdInputs.Diffuse.Color.Red"] = Input { Value = 0.46, },
            ["MtlStdInputs.Diffuse.Color.Green"] = Input { Value = 0.789533010485076, },
            ["MtlStdInputs.MaterialID"] = Input { Value = 1, },
         },
         ViewInfo = OperatorInfo { Pos = { 1045, 412.5 } },
      }
   }
}
__
--Blackmagic URSA Mini Pro, DaVinci Resolve 14 Studio, Fusion 9 Studio Owner
--Run on ALIENWARE 17 R3 (Win 10, i7 6820HQ, 32 GB RAM, GeForce 980M 4GB.
--BMD's cameras user since 2014
--All my movies: http://www.youtube.com/rebelorelse
Offline
User avatar

michael vorberg

  • Posts: 737
  • Joined: Wed Nov 12, 2014 8:47 pm
  • Location: stuttgart, germany

Re: how to extract vertex position value?

PostSat Nov 11, 2017 4:02 pm

what you want to do with it? where do you need the vertex position?

you could render a WorldCoordinaten pass at the end or you can do something with the vertex position in a CustomVertex3D node
Offline
User avatar

Bryan Ray

  • Posts: 221
  • Joined: Mon Nov 28, 2016 5:32 am

Re: how to extract vertex position value?

PostMon Nov 13, 2017 2:07 am

My favorite technique to get access to that kind of data is to use CustomVertex to copy it to the vertex colors. You just have to remember to set them back to white before the Renderer.
Bryan Ray
http://www.bryanray.name
http://www.musevfx.com

Return to Fusion

Who is online

Users browsing this forum: Google [Bot] and 9 guests