View Full Version : Randomize Color of Points?
02-19-2003, 01:59 AM
I am starting with a grid, appending a point SOP. I am then attempting to randomize the color of each point on the grid, in order to copy a geometry to the points and have them inherit the random color.
thanks in advance.
nevermind - I found my answer.
03-09-2003, 08:12 AM
enable copy template point attributes of copy sop
03-09-2003, 06:20 PM
Would it be possible for you to do something like rand($PT) in your color channel?
Other things you can look at are noise(), snoise(), turb(), sturb() function.
Hope that helped.
07-01-2004, 07:58 AM
I would use rand() together with the point position so rand($TX)*256 for the red channel rand($TY)*256 for the green channel ...
Also i would use a multiplier ( * 256 ) because rand() gives back a float value between 0 and 1 .
Hope it helps
01-14-2006, 12:00 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
vBulletin v3.0.5, Copyright ©2000-2013, Jelsoft Enterprises Ltd.