Rasterizing With OpenGL Question submitted by (21 October 1999) |
Return to The Archives |
I want to use OpenGL as a simple rasterizer, skipping the TL stages (I do it on my own) but I also want to do z buffering and texture mapping so I have to give OGL my Zs thru glVertex3f or glVertex3fv but I think this uses the T engine, doesn't it? How should I do it. I'm having trouble trying to sleep...:) | ||
Unless you're generating your vertices directly in screen space from some
procedural source (like a rational Bezier) it is typically the "wrong" way
to do things since you miss out on possible hardware geometry acceleration.
In any case, the sample code you want to see can be found at: http://www.berkelium.com/OpenGL/examples/index.html Good luck! Response provided by Tom Hubina |
||
This article was originally an entry in flipCode's Fountain of Knowledge, an open Question and Answer column that no longer exists. |