Is it possible to use gl as rasterizing api only?I mean making myself all the transformation matrices, supply the vertices to glBegin...glEnd and in there make perspective transformation. e.g:
Make a poly
sx=vertices.x + something that projects it perspectively
Yes. You can set the transformation matrices to the identity matrix that way they don''t change the vertices you send to them. There might be a way to disable transforming but I haven''t looked into it.
If you set both the GL_PROJECTION and GL_MODELVIEW matrices to identity (glMatrixMode + glLoadIdentity) you disable the transformation stage, but not the viewport transform.
Anyway, unless you can get transformed and lit vertices real quickly, this is NOT the preferred way of doing things since you effectively disable the use of HW T&L and processor-optimized (3DNow!, ISSE) T&L.