there are some "hidden" attributes that lots of sop's are using..
if you create them on your points (attrib create or point wrangle) before copy node, copy will use: @orient (4 floats, quaternion) @scale (3 floats) or: @scale.x, @scale.y, @scale.z @N (3f, vector) @up (3f, vector) @v (3f, vector) @rot (4 floats, quaternion) @trans (3f, vector) @pscale (float)
you can randomize those params in some range of values on point basis.. like: float min = 0.6; float max = 1.2; @pscale = fit01(rand(@ptnum), min, max);
COMMENTS
SRBell 6 years, 5 months ago |
Pretty cool!
I wish there was sound.
Patrick Haraguti 6 years, 5 months ago |
Thank you SRBell,
I´m not English native speaker, so I´m a little shy about my pronunciation... maybe next time I try to record with voice!
best!
TheProgg 6 years, 5 months ago |
You might get faster results instead of copy stamping the spheres if you just randomize pscale and N on the copy points
Patrick Haraguti 6 years, 5 months ago |
TheProgg, can you explain better how to do this in the copy points? that´s separation of the copy nodes make me a little confuse.
best
alenhr 6 years, 3 months ago |
@Patrick
there are some "hidden" attributes that lots of sop's are using..
if you create them on your points (attrib create or point wrangle) before copy node, copy will use:
@orient (4 floats, quaternion)
@scale (3 floats) or: @scale.x, @scale.y, @scale.z
@N (3f, vector)
@up (3f, vector)
@v (3f, vector)
@rot (4 floats, quaternion)
@trans (3f, vector)
@pscale (float)
you can randomize those params in some range of values on point basis..
like:
float min = 0.6;
float max = 1.2;
@pscale = fit01(rand(@ptnum), min, max);
Patrick Haraguti 6 years, 2 months ago |
Thank you so much, I´m still a noob in Houdini and are a lot of secrets to learn :)
Please log in to leave a comment.