Hello world Posted February 2, 2012 Share Posted February 2, 2012 what is a pscale? is it similair to width parameter? what does it do? it would be great if someone could explain these basics or share an example hip.cheers Quote Link to comment Share on other sites More sharing options...
michael Posted February 2, 2012 Share Posted February 2, 2012 pscale is uniform scale... a simple search through the docs will provide lots of info... http://www.sidefx.com/docs/houdini11.1/ Quote Link to comment Share on other sites More sharing options...
Macha Posted February 2, 2012 Share Posted February 2, 2012 Give a pscale attribute to a point and copy stamp something: it will scale accordingly. Render a point (as point) and pscale will determine its size. Quote Link to comment Share on other sites More sharing options...
benne5 Posted February 3, 2012 Share Posted February 3, 2012 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. Quote Link to comment Share on other sites More sharing options...
gaurav Posted February 3, 2012 Share Posted February 3, 2012 (edited) 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 February 3, 2012 by vectorblur Quote Link to comment Share on other sites More sharing options...
Hello world Posted February 3, 2012 Author Share Posted February 3, 2012 (edited) 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 February 3, 2012 by Hello world Quote Link to comment Share on other sites More sharing options...
pclaes Posted February 5, 2012 Share Posted February 5, 2012 There is only 1 in 46656 (2.143347050754458e-05) chance of getting Peter Claes (pclaes) out of pscale. trueRand("pscale") = "pclaes" I think you have a little too much time on your hands... 3 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.