Hi
I have developed a very simple 3d engine, and am using a software renderer
(written by myself), and Glide as options for rendering a scene. I want to
use all my code to perform lighting, cameras, projection etc, but use OpenGL
to draw triangles, texture map, and possibbly Z-Buffer for me, as I do with
my glide renderer.
Has anyone done this, and can give me a hand? I have created an OpenGL
Window, and have drawn my triangles but they arent in the window correctly.
Instead of being in the centre of my window (in my example) they are off
screen and a couple of them are appearing in the bottom left.
I am using some example code from opengl.org to do this, it says its
specifically for what I want to do (replace Glide) but its going wierd.
I think it may be that the screen origin in OpenGL is bottom left, when my
engine relies in it being top left. Can this be changed ?
Help
Swin
remove nospam from email address to reply.