Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Graphics > RenderMan interface > Re: 3D applicat...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 5 Topic 707 of 788
Post > Topic >>

Re: 3D application camera to RenderMan transformation

by "Moritz" <moritz@[EMAIL PROTECTED] > Feb 4, 2007 at 07:13 PM

On Feb 3, 6:00 pm, "Nicholas" <Yue.Nicho...@[EMAIL PROTECTED]
> wrote:
>   Does anyone know of a good place to get a good understanding of the
> camera transformation between 3d application and renderman?

Any book about 3D computer graphics. :)
RenderMan is not special in the way it defines a camera. It uses a
left-handed coordinate system, that's it. Using rotations and
translations (an maybe scales as well) stacked atop is just another
way, perhaps more human readable, of specifying what can, in case of a
RenderMan camera, be fitted into single 4x4 matrix for the orientation
and one RiProjection() call. Unless people need to re-orient the
camera by hand-editing the RIB..

So why not just use a 4x4 matrix with RiTransform()?
It's quite straightforward to go from e.g. eye, target, up to 4x4. And
the right-handed issue you can address by concatenating a negative
scale on z into the 4x4 matrix, then doing a RiReverseOrientation()
immediately after your camera transform definition.
I believe to recall that this is also what MtoR does. The advance is
that coordinates in the RIB reflect those in your 3D app.


Cheers,

Moritz
 




 5 Posts in Topic:
3D application camera to RenderMan transformation
"Nicholas" <  2007-02-02 23:00:58 
Re: 3D application camera to RenderMan transformation
"Moritz" <mo  2007-02-04 19:13:04 
Re: 3D application camera to RenderMan transformation
"Felipe Esquivel&quo  2007-02-04 21:33:01 
Re: 3D application camera to RenderMan transformation
"Nicholas" <  2007-02-05 11:02:08 
Re: 3D application camera to RenderMan transformation
"guanaco" <e  2007-02-06 09:40:56 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Nov 22 0:28:43 CST 2008.