Camera and shader space

   4306   5   2
User Avatar
Member
88 posts
Joined: March 2006
Offline
I have a moving camera looking at geo with a noise texture applied using surface position so I can have the object pass through the noise, however the camera doesn't seemed to be moving through the noise so the noise in the shader moves with the camera. If I parent the camera to the moving geo the noise texture appears stationary?

How can I get the camera to move through the noise?
User Avatar
Member
124 posts
Joined: July 2005
Offline
Instead uv using the Global Variable to get you UV values for the noise create a Parameter change it's type to vector and the Parameter Name to uv. This will bring in the UVs of the object. You must have UVs applied to the object first.
User Avatar
Member
2199 posts
Joined: July 2005
Offline
You need to change the space of the point postions from world (camera space) to object space. Then the texture will stay stuck to the object not the camera.
The trick is finding just the right hammer for every screw
User Avatar
Member
124 posts
Joined: July 2005
Offline
How is that done?
User Avatar
Member
2199 posts
Joined: July 2005
Offline
well in H8 you use a space change vop. Not sure if its the same in H9 I haven't done any shader stuff in H9 yet. It looks like you use a transform vop.
The trick is finding just the right hammer for every screw
User Avatar
Member
124 posts
Joined: July 2005
Offline
Transform works great! Thank you very much, I had been puzzling over that one.
  • Quick Links