peliosis Posted January 20, 2006 Share Posted January 20, 2006 What is the problem with peak SOP? I was sure it accepts $PT and $PR but it appears to be most embarassed with them. How to move points randomly along their normals then? point sop uses global transform so is a bit useless here. My example is a very simple one, there is a deformed grid with uniqued prims, I have to randomly displace points along their normals. Should I use particle sop set to "modify source geo" or prepare my own vex sop or is there some mystery with peak? Quote Link to comment Share on other sites More sharing options...
sibarrick Posted January 20, 2006 Share Posted January 20, 2006 Custom VOP or $TX+$NX*rand($PT)*0.1, $TY+$NY*rand($PT)*0.1, $TZ+$NZ*rand($PT)*0.1 in a point sop...... or VEX Mountain Quote Link to comment Share on other sites More sharing options...
edward Posted January 20, 2006 Share Posted January 20, 2006 Can't you use the VEX Mountain SOP? Quote Link to comment Share on other sites More sharing options...
peliosis Posted January 21, 2006 Author Share Posted January 21, 2006 Can't you use the VEX Mountain SOP? 23980[/snapback] I promise this was my last question today Anyway, wouldn't it be nice if we had standard variables in this SOP. Simon, give me a few days to analyze this expression Thanks a lot Quote Link to comment Share on other sites More sharing options...
peliosis Posted January 21, 2006 Author Share Posted January 21, 2006 But...actually neither vex mountain nor Simon's expression work like peak SOP. You can try three of them on the most simple polysphere. Again, that's not THAT obvious. edit: I created custom VOP SOP: displace along normal with amount param, connected to point position. It works just like peak but what to do to make it work with $PT? I'm so close edit: Got it, I still don't know how to use $PT, but approached with non deterministic random with multiplier plugged into amount and I'm home. thanks 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.