Re: OpenGL question



On 2008-01-20, Bin Chen <binary.chen@xxxxxxxxx> wrote:

Many operations of opengl is multiply the current matrix with a
provided matrix. But what is the current matrix for?

I suggest you do some reading on computer graphics, before trying to use
OpenGL.

OpenGL works as a typical rendering pipeline. Vertices are fed to it in
model space (say a coordinate system somewhere about the center of each
object) and then, they are sucessively transformed through a number of
coordinate systems, in order to be finally projected to the 2D view
plane and drawn on the screen. A 4x4 matrix is needed for each such
transformation, which you can manipulate with the OpenGL matrix
functions.

This is not the best newsgroup for OpenGL discussions. OpenGL was born
on UNIX systems, but it's a cross-platform API, and there is a special
newsgroup for it: comp.graphics.api.opengl. Post any other questions
you may have, there.

--
John Tsiombikas (Nuclear / Mindlapse)
http://nuclear.sdf-eu.org/
.



Relevant Pages

  • Beginner + coordinates = trouble
    ... I have some troubles understanding the MODELVIEW model of opengl. ... I have a World coordinate system, ... the camera coordinate system. ... I don't need need model transformations, ...
    (comp.graphics.api.opengl)
  • Re: glTranslatef and coordinate system
    ... Medvedev wrote: ... OpenGL uses a right handed coordinate system. ... E-Mail address works, Jabber: hexarith@xxxxxxxxxx, ICQ: 134682867 ...
    (comp.graphics.api.opengl)
  • Re: Something strange with the Perspective Transform?
    ... projection matrix compared e.g. to OpenGL, ... documentation. ... Why Direct3D does this is still an open question. ... Direct3D uses a left-handed coordinate system. ...
    (microsoft.public.win32.programmer.directx.graphics)
  • Re: Something strange with the Perspective Transform?
    ... system while e.g. OpenGL uses a right hand but that doesn't explain why ... Why Direct3D does this is still an open question. ... Direct3D uses a left-handed coordinate system. ...
    (microsoft.public.win32.programmer.directx.graphics)
  • Re: Understanding OpenGL without understanding Linear Algebra?
    ... wanted to write a small program that demonstrated network security for my class by creating a 3D scene. ... I started out reading the NeHe tutorials which excited me about OpenGL and I wanted to know more. ... I'm up to chapter 3 and I have realized I need to know Linear Algebra to understand the matrix math. ...
    (comp.graphics.api.opengl)