shaders > normals > cusping

   2606   3   1
User Avatar
Member
2624 posts
Joined: 8月 2006
Offline
Recently there was an interesting question posted on the list about normal displacement while keep the nice sharp edges generated using a vertex cusp sop. While looking at a posted solution, I cannot seem to eliminate the normals smoothing incorrectly, as you can see from the image.Is there anything I should be looking at inside the shader to eliminate this.

rob

Attachments:
cuspCube.hip (511.3 KB)
cube.jpg (53.1 KB)

Gone fishing
User Avatar
Member
731 posts
Joined: 12月 2006
Offline
Hm, interesting. I looked at your example and then at how I had described it on the list, and it looks like you did exactly what I did. I'm not sure if my example did the same and I just hadn't noticed, but I'm going to have another play with it, but would be good to see if anyone else has a chance to have a look and offer a solution.
Sean Lewkiw
CG Supervisor
Machine FX - Cinesite MTL
User Avatar
Member
8592 posts
Joined: 7月 2007
Offline
normals you are importing in shader are in object space, but they need to be in camera space to work correctly
so just put Transform VOP after importing them (after parameter1 node)
set
Interpretation to Normal
From Space to spacebject
To Space to space:current or space:camera
Tomas Slancik
FX Supervisor
Method Studios, NY
User Avatar
Member
2624 posts
Joined: 8月 2006
Offline
Tomas,
How on earth did I let that one get by me ! Cheers

rob
Gone fishing
  • Quick Links