gluOrtho2d

gluOrtho2d

Post by DORAEMO » Sun, 27 Sep 1998 04:00:00



Dear all,

        I have the same problem as thread #140. I want to draw some 2D control
buttons to control my 3D animation object. But how to draw 3D and 2D in
the same environment? I try to use gluOrthoD. But I can only see the
portion that I select on the screen and my 3d animation disappeared. It
becomes blank. What should I do? Thank you very much!

--
Law Ka Wai                            .oooO  Oooo.
The Chinese University of Hong Kong   ( ( )  ( ) )                          
The Department of Computer Science     \ (    ) /                          
Chung Chi College     ( CSC 3/3 )       \_)  (_/                            

 
 
 

gluOrtho2d

Post by Jonathan Li » Wed, 30 Sep 1998 04:00:00



> Dear all,

>         I have the same problem as thread #140. I want to draw some 2D control
> buttons to control my 3D animation object. But how to draw 3D and 2D in
> the same environment? I try to use gluOrthoD. But I can only see the
> portion that I select on the screen and my 3d animation disappeared. It
> becomes blank. What should I do? Thank you very much!

> --
> Law Ka Wai                            .oooO  Oooo.
> The Chinese University of Hong Kong   ( ( )  ( ) )
> The Department of Computer Science     \ (    ) /
> Chung Chi College     ( CSC 3/3 )       \_)  (_/

Be sure to set the right matrix mode using glMatrixMode( ) and use
glPushMatrix( )/glPopMatrix( ) to isolate the transformations.

                Jonathan Lim    Silicon Graphics, Inc.
                GPS Graphics      Mountain View,  CA

 
 
 

1. gluOrtho2D

Hi all,
I'm writing a simple obj. modeller for internal pourposes...now I'm working
on the Ortho view.
I've got a problem
I'm building my projection matrix whit this code:

gluOrtho2D(-m_nWinWidth,-m_nWinHeight,m_nWinWidth,m_nWinHeight);

ok it's work but when I resize the pane all objects are scaled

How can I mantain the same scale when I resize the Pan?(like LightWave :)

thanks for you time
Alberto

2. This news group is invited to a Secret online book ! All Ages Welcome!

3. Desperate... Viewport and gluOrtho2D, GL_POINTS

4. UPDATED: GIF Animation Resources (130+ programs listed)

5. Gluortho2D

6. ANIMATION ENTHUSIASTS E-MAIL GROUP

7. primitive drawing order with gluOrtho2D

8. job

9. glOrtho, gluOrtho2D, and glRotate