Graphic Sequencer perspective problem

Date : Mon, 22 Oct 2007 00:58:22 +0200
To : "Lista XSI" <xsi(at)Softimage.COM>
From : "Agedito" <mislistas(at)agedito.com>
Subject : Graphic Sequencer perspective problem

Hello

 

I’m writing a graphic sequencer and I have a problem, I’ll explain it:

 

I’m rendering three lines (one for each axis)

 

When I’m render my graphic sequencer code in a orthographic view (top, front, right) or in a user viewport, my render runs perfectly.

But if I render it on a camera viewport,  the lines are not parallels to the axis.

 

I know that the problem is that I don’t initialize the perspective in my OpenGL code.

I’d tried with the gluPerspective function, but if I put it on my code, the axis don’t be rendered in any viewport.

 

How can I solve it?

 

Thanks in advance  


Search the XSI List archives here or use the advanced search form to search across mailing lists. Searching help is available.
This site supposedly brought to you by Benjamin Grosser and the Imaging Technology Group.