I remember seeing a video that included taking a circle creating a NURBS Curve and then scaling it using an expression which I for the life of me can't remember? If anyone either remembers the video and/or the expression used please tell me. ops:
DJ
Creating a spring/spring-like curve
4333 2 1- DJ_BOXER
- Member
- 57 posts
- Joined: Feb. 2010
- Offline
- pclaes
- Member
- 257 posts
- Joined: Nov. 2007
- Offline
Do a search for “helix”.
There is probably one on the exchange, or even as an example in the help file.
Otherwise just create a line sop (give it enough points, like 100 or so), then append a point sop and in the position field:
X: sin($TY)
y: $TY
Z: cos($TY)
You can create your own custom controls to change the frequency.
X: sin($TY*360)
y: $TY
Z: cos($TY*360)
for more rings:
X: sin($TY*360*amount_of_rings)
y: $TY
Z: cos($TY*360*amount_of_rings)
Or you could link it to $PT
X: sin((($PT/$NPT)*360)*2)
y: $TY
Z: cos((($PT/$NPT)*360)*2)
But really you should do this in a vopsop as it is much faster.
There is probably one on the exchange, or even as an example in the help file.
Otherwise just create a line sop (give it enough points, like 100 or so), then append a point sop and in the position field:
X: sin($TY)
y: $TY
Z: cos($TY)
You can create your own custom controls to change the frequency.
X: sin($TY*360)
y: $TY
Z: cos($TY*360)
for more rings:
X: sin($TY*360*amount_of_rings)
y: $TY
Z: cos($TY*360*amount_of_rings)
Or you could link it to $PT
X: sin((($PT/$NPT)*360)*2)
y: $TY
Z: cos((($PT/$NPT)*360)*2)
But really you should do this in a vopsop as it is much faster.
Cg Supervisor | Effects Supervisor | Expert Technical Artist at Infinity Ward
https://www.linkedin.com/in/peter-claes-10a4854/ [www.linkedin.com]
https://www.linkedin.com/in/peter-claes-10a4854/ [www.linkedin.com]
- DJ_BOXER
- Member
- 57 posts
- Joined: Feb. 2010
- Offline
Thanks pclaes that works but I also found one video that I was thinking of by davekaul on youtube: http://www.youtube.com/watch?v=pWm07oqgKbc [youtube.com]. The other video must be on Digital Tutors I will re-subscribe and look at the videos again.
DJ
DJ
“Nothing is just Black & White”- look at the Yin/Yang symbol
-
- Quick Links