Rotate Primitive by Color
3982 4 1- anto187
- Member
- 23 posts
- Joined: June 2012
- Offline
hello all,
need help for this effect,
i want to the primitive per face on the object, and rotate folowing the color attribute, and i think i got, but got trouble with banking rotate of the face…
i have created template point with match with direction of $PR attribute, and connected onto second input of “ Primitive ” attribute, but seems im still not get the effect
is there any help for me with this, to rotate the face with respect normal direction of the $PR attribute , and effected by color
thanks
need help for this effect,
i want to the primitive per face on the object, and rotate folowing the color attribute, and i think i got, but got trouble with banking rotate of the face…
i have created template point with match with direction of $PR attribute, and connected onto second input of “ Primitive ” attribute, but seems im still not get the effect
is there any help for me with this, to rotate the face with respect normal direction of the $PR attribute , and effected by color
thanks
- anto187
- Member
- 23 posts
- Joined: June 2012
- Offline
- Sadjad Rabiee
- Member
- 1391 posts
- Joined: Dec. 2010
- Offline
one of the simple way is using Transform Axis SOP , you can rotate each primitives based on specify direction (in this case it is N) with this node , So you should just append a For Each SOP for doing this operation for each primitive .
Also to achieve better result you can use T (tangent) instead of N , you can compute T vector simply with PolyFrame SOP .
Also to achieve better result you can use T (tangent) instead of N , you can compute T vector simply with PolyFrame SOP .
- Sadjad Rabiee
- Member
- 1391 posts
- Joined: Dec. 2010
- Offline
- anto187
- Member
- 23 posts
- Joined: June 2012
- Offline
thanks Joker386, ok ill try figure it out with vex method…and thanks with for each sop.
regards
anto187.wordpress.com
regards
anto187.wordpress.com
-
- Quick Links