Malcolm Zaloon Posted April 2, 2014 Share Posted April 2, 2014 (edited) Hi! i´m trying to rotate each points randomically without stamping. does exist a node to do this? anyway i wish to do it in VOP SOP too, to be more customizable... i´m thinking "ICE WAY": get points orientation -- > add random rotation --> set point orientation but even cant see "rotation" or orientation on GLOBALS! its crazy.. can anyone help me? just for curiosity, but how to do the same in point_wrangle? thanks! Edited April 2, 2014 by Malcolm Zaloon Quote Link to comment Share on other sites More sharing options...
anim Posted April 2, 2014 Share Posted April 2, 2014 (edited) http://forums.odforce.net/topic/12442-instance-orientation/?p=78447 and in wrangle it would be for example: create spare parameter called anglevar, then float anglevar = ch("anglevar"); vector angleranges = anglevar*fit(random(@ptnum), {0,0,0}, {1,1,1}, {-.5,-.5,-.5}, {.5,.5,.5}); @orient = quaternion(angleranges, 0); Edited April 2, 2014 by anim 2 Quote Link to comment Share on other sites More sharing options...
pezetko Posted April 2, 2014 Share Posted April 2, 2014 Just set Orient attribute. Another example attached.There exist only attributes that are necessary or inherited, so for Points there is only position by default.Click RMB on any VOPSOP node and choose View VEX Code to see how syntax in VEX looks like. random_rotation.hipnc 4 Quote Link to comment Share on other sites More sharing options...
Malcolm Zaloon Posted April 3, 2014 Author Share Posted April 3, 2014 Wow, nice! Thanks guys! 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.