On 07.05.12 15:57, Maik Riechert wrote:
> I try to figure out how to do orthographic projection but the only thing
> I could find is the RenderMan specific RiProjection(RI_ORTHOGRAPHIC). Is
> this the only way? Also, how would I then set the viewing box?
Are you talking about rendering a cgkit scene or do you have your own
script that produces RIB?
So far, there is no orthographic camera in cgkit, so if you are
rendering a cgkit scene, you may have to tweak the RIB.
If you are producing the RIB yourself, then you would use the
RiProjection() call to set an orthographic projection and use regular
transformation calls to set up the view transformation.
- Matthias -