Stremik Posted May 20, 2004 Share Posted May 20, 2004 Hi all. A simple question. At least I think that it's simple. Still, this one has been tripping me up all morning today. I want to edit the positions of points on a circle relatively to, and in the direction facing outwards from, the center of the circle. I'm going for kinda wobbly circle. And I also want to animate positions of those points. Sorta like send an irregular waves along the curve. Any suggestions? Thank you! Vladimir. Quote Link to comment Share on other sites More sharing options...
crunch Posted May 20, 2004 Share Posted May 20, 2004 I want to edit the positions of points on a circle relatively to, and in the directionfacing outwards from, the center of the circle. I'm going for kinda wobbly circle. And I also want to animate positions of those points. Sorta like send an irregular waves along the curve. Any suggestions? Thank you! Vladimir. Set the point normals to be $TX-$CEX, $TY-$CEY, $TZ-$CEZ (so that they point from the center of the circle to the outside). Then use a VEX mountain SOP. Move the noise in the same direction as the circle's normal (i.e. in the Z direction) and you get the animation. Try the following: opadd -n circle circle1 oplocate -x 0.143302 -y 10.0482 circle1 opparm circle1 type ( poly ) divs ( 199 ) # Node point1 opadd -n point point1 oplocate -x 0.143302 -y 9.04821 point1 #chadd -t 0 0 point1 tx ty tz nx ny nz chkey -t 0 -v 0 -m 0 -A 0 -F '$TX' point1/tx chkey -t 0 -v 0 -m 0 -a 0 point1/tx chkey -t 0 -v 0 -m 0 -A 0 -F '$TY' point1/ty chkey -t 0 -v 0 -m 0 -a 0 point1/ty chkey -t 0 -v 0 -m 0 -A 0 -F '$TZ' point1/tz chkey -t 0 -v 0 -m 0 -a 0 point1/tz chkey -t 0 -v 0 -m 0 -A 0 -F '$TX' point1/nx chkey -t 0 -v 0 -m 0 -a 0 point1/nx chkey -t 0 -v 0 -m 0 -A 0 -F '$TY' point1/ny chkey -t 0 -v 0 -m 0 -a 0 point1/ny chkey -t 0 -v 0 -m 0 -A 0 -F '$TZ' point1/nz chkey -t 0 -v 0 -m 0 -a 0 point1/nz opparm point1 donml ( on ) # Node v_mountain1 opadd -n v_mountain v_mountain1 oplocate -x 0.143302 -y 8.04821 v_mountain1 opparm v_mountain1 rough ( 0.489 ) height ( 0.252 ) freq ( 2.5 2.5 2.5 ) offset ( 0 0 1.1 ) opset -d on -r on -h off -f off -y off -t off -l off -s off -u off -c off -C on -p on -e on -b off v_mountain1 opwire -n circle1 -0 point1 opwire -n point1 -0 v_mountain1 Quote Link to comment Share on other sites More sharing options...
Stremik Posted May 20, 2004 Author Share Posted May 20, 2004 Worked out great! Thank you very much!!! 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.