On Jun 20, 10:58 am, Medvedev <3D.v.Wo...@[EMAIL PROTECTED]
> wrote:
> +y
> |
> |
> | __ __ __ +x
> /
> /
> /
> +z
>
> please , i want to know if the coordinate system we are working on
> opengl in organized in the above way
> because when i do:
> glTranslatef( 0.0,0.0,-5.0);
> the object move in the +z instead of getting backward , why?!!!!!!!!
> here is the full code
>
> glMatrixMode(GL_MODELVIEW);
> glLoadIdentity();
>
> glTranslatef(0.0,0.0,-5.0);
> glColor3f(0.0,1.0,0.0); //green
> glutSolidCube(1.0f); //cube 1
>
> glLoadIdentity();
> glColor3f(1.0,0.0,0.0); //Red
> glutSolidCube(2.0f); //cube 2
> ---
> u will find that the first drawn cube will get forward to camera
> instead of moving backward along the -z axis
i got it!!!!!!!!!!!!!
thanks for nothing :)


|