Jump to content

pscale


Recommended Posts

As an example. In your network create a vopsop below a popnet. Inside the vopsop connect the point ID attribute output of the globals into a random vex node. Next connect the output of the random to a ramp parameter vex node. Change the ramp type to Spline Ramp (float). Next connect the parameter output of the ramp vex node to a fit range vex node input value. Set the destination min parm of the fit range node to 0 and the destination max parm to 1. Finally connect the shifted value output into and add attribute vex node. Place pscale in the attribute and local variable name parms. Finally at sop level connect the output of your vopsop into the template to copy to side of a copy node and some other geo in the primitves to copy to input of the copy node. Adjust the spline ramp on your vopsop to see the results of pscale.

Link to comment
Share on other sites

Fun little trivia about pscale.

Did anybody else noticed it before. ??

There is only 1 in 46656 (2.143347050754458e-05) chance of getting Peter Claes (pclaes) out of pscale.

trueRand("pscale") = "pclaes"

Cheers,

Edited by vectorblur
Link to comment
Share on other sites

As an example. In your network create a vopsop below a popnet. Inside the vopsop connect the point ID attribute output of the globals into a random vex node. Next connect the output of the random to a ramp parameter vex node. Change the ramp type to Spline Ramp (float). Next connect the parameter output of the ramp vex node to a fit range vex node input value. Set the destination min parm of the fit range node to 0 and the destination max parm to 1. Finally connect the shifted value output into and add attribute vex node. Place pscale in the attribute and local variable name parms. Finally at sop level connect the output of your vopsop into the template to copy to side of a copy node and some other geo in the primitves to copy to input of the copy node. Adjust the spline ramp on your vopsop to see the results of pscale.

hi

cheers mate! nice example.so it scales randomly according to the point number?

@Macha.

Fantastic! understood.so that scales the geometry which are connected to a point?

Edited by Hello world
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...