rotate vector in the render tree

Discussions about rendering in SOFTIMAGE©
NNois
Posts: 754
Joined: 09 Jun 2009, 18:33

rotate vector in the render tree

Post by NNois » 22 Jul 2014, 19:03

hi guys, I'm kind of stuck.
On a point cloud context:

I'm inputing the vector state "intersection point", substracting it by the point position (to get a local coordinate) who feed a uvw coordinate on a fractal texture, Great.
Now i want to rotate this vector accordingly to the particle orientation.
If i was in ice i could use the rotate vector node but in the render tree how do i translate this ?

Thanks

User avatar
rray
Moderator
Posts: 1810
Joined: 26 Sep 2009, 13:51
Location: Bonn, Germany

Re: rotate vector in the render tree

Post by rray » 22 Jul 2014, 21:13

Hi NNois - it should be possible using matrix multiplication, create a matrix using Create_Transform and multiply using Vector_Coordinate_Converter
-r
softimage resources section updated Sep 26th 2026

NNois
Posts: 754
Joined: 09 Jun 2009, 18:33

Re: rotate vector in the render tree

Post by NNois » 23 Jul 2014, 11:08

hup that's works fine. I generate the matrix directly on the ice pcloud that's saving some times i think.

Thank you