wrong uv_projection

   3458   4   0
User Avatar
Member
191 posts
Joined: Aug. 2008
Offline
I have connected the final_shot camera rotations to my uv_projection in my geometry so it is always facing the camera.

But the uv_projection don't match the camera rotation.

I have put in here a zip with a hipnc and the geo.

Attachments:
projection_test.zip (2.5 MB)

User Avatar
Member
191 posts
Joined: Aug. 2008
Offline
no one can help?
User Avatar
Member
8551 posts
Joined: July 2007
Offline
not sure what you are trying to do
if you want camera projection there is an option for that in UVTexture SOP called Perspective From Camera

but if you need to match only rotation then be aware that either make sure your snowman object has zero rotation in transform/pretransform
using transform SOP before uvproject with the values that are now on object

or compensate for that in uvproject1 node
not sure if this values are correct but this is a quick guess:
rx: 90+ch(“../../final_shot/rx”)
ry: ch(“../../final_shot/rz”)
rz: 90+ch(“../../final_shot/ry”)
Tomas Slancik
FX Supervisor
Method Studios, NY
User Avatar
Member
191 posts
Joined: Aug. 2008
Offline
Hi Tomas,

Thanks for your help and for the explanation. It works very well after I have inserted the transformations of the snowman on the sop level.

But is the camera proejtction in the uv_texture the same same as a uv_projection facing the camera?
User Avatar
Member
8551 posts
Joined: July 2007
Offline
not exactly
camera projection also matches with screen dimensions (so xy resolution = uv )
and it is not orthographic, but rather projection from one point (camera origin) unless you set camera to be orthographic of course

it really depends on what you are after
Tomas Slancik
FX Supervisor
Method Studios, NY
  • Quick Links