I've been working with camera projections for a while in other renderers and have recently been doing a bit in Vray. I noticed pretty quickly some strangeness.
Example:
Make a scene with some colored cubes and spheres
Setup a camera with a proper filmback for the image size you will be rendering
say a 35 mm lens on a camera with 0.98 x 0.55125 Horizontal and Vertical Aperture rendering a 1280x720 image.
Render the Image.
Make a surface shader or lambert or vray shader and make the color a projection from the same render camera.
Project that same image on to the same geo from the same camera and try to render it.
Doesn't line up. Not even close.
Switch to Maya Software, works.
Switch to Mental Ray, works.
I finally got it to work by changing the projection type to "Use Camera Resolution" and Fit Horizontally.
So it works. But I don't know why it works, and that makes me a bit nervous. Why is it different? During one session I changed it back to the default settings to demonstrate that it doesn't work, and it worked with the "wrong" settings. Then reopening the scene later and it no longer worked.
Any help or explanations would be most welcome.
thanks,
Chris
Example:
Make a scene with some colored cubes and spheres
Setup a camera with a proper filmback for the image size you will be rendering
say a 35 mm lens on a camera with 0.98 x 0.55125 Horizontal and Vertical Aperture rendering a 1280x720 image.
Render the Image.
Make a surface shader or lambert or vray shader and make the color a projection from the same render camera.
Project that same image on to the same geo from the same camera and try to render it.
Doesn't line up. Not even close.
Switch to Maya Software, works.
Switch to Mental Ray, works.
I finally got it to work by changing the projection type to "Use Camera Resolution" and Fit Horizontally.
So it works. But I don't know why it works, and that makes me a bit nervous. Why is it different? During one session I changed it back to the default settings to demonstrate that it doesn't work, and it worked with the "wrong" settings. Then reopening the scene later and it no longer worked.
Any help or explanations would be most welcome.
thanks,
Chris
Comment