OpenGL as Rasterization Library (NEWBIE!!)

OpenGL as Rasterization Library (NEWBIE!!)

Post by Squirell » Sat, 13 Mar 1999 04:00:00



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.

 
 
 

OpenGL as Rasterization Library (NEWBIE!!)

Post by Paul Mart » Sat, 13 Mar 1999 04:00:00


You might visit the OpenGL Game Dev FAQ which has a section of using OpenGL
as a 2D rendered...
http://www.3dgamedev.com/resources/openglfaq.txt

Hope this helps.

   -Paul Martz
    Hewlett Packard Workstation Systems Lab
    To reply, remove "DONTSPAM" from email address.


>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.


 
 
 

1. Rasterization libraries

Hi,

 We are looking for fast rasterization routines callable from C to
render graphics and text output to raster format (such as PNG) in a
commercial product. They should compile on NT, Linux and Unix platforms.
What free or reasonably-priced libraries are available for doing this ?

Paul

Sent via Deja.com http://www.deja.com/
Before you buy.

2. scanning TEM (bw) negatives: auto contrast

3. Newbie seeking for OpenGL library for Borland C++ compiler

4. €€€ Rotalty-free (18meg) weather/storm images on a CD) €€€

5. OpenGL rasterization

6. Sound in Alias on Solid Impact

7. OpenGL and Rasterization

8. FS: clip art for mac

9. Why is culling part of rasterization in OpenGL?

10. OpenGL for rasterization only (again)?

11. OpenGL for Rasterization Only

12. OpenGL for rasterization only?

13. OpenGL rasterization