hi guys,
i would need a two normals to my shader.
i tried to get the “N2” normal to vop with parameter node.
it gives me the normals in world space(i believe) and i would need to convert them to camera space.
in RSL it would be the ntransform function, how about in houdini?
thanks!
Kustaa
normals to camera space in vop
7031 2 0- kustaa
- Member
- 47 posts
- Joined: May 2009
- Offline
- eetu
- Member
- 606 posts
- Joined: May 2007
- Offline
Terve!
When mantra is rendering, everything is in camera space by default. You can just use the N you get from Global Variables VOP.
For coordinate system transformations there is the Transform VOP.
Unless you want to have manual control of the normal vectors in SOPs, you could just use a transformed and untransformed version of the rendertime N.
This will also get you displacement/bump effects, if you want them.
eetu.
When mantra is rendering, everything is in camera space by default. You can just use the N you get from Global Variables VOP.
For coordinate system transformations there is the Transform VOP.
Unless you want to have manual control of the normal vectors in SOPs, you could just use a transformed and untransformed version of the rendertime N.
This will also get you displacement/bump effects, if you want them.
eetu.
- kustaa
- Member
- 47 posts
- Joined: May 2009
- Offline
-
- Quick Links