Advertisement

Polygons in DirectDraw?

Started by August 13, 1999 05:09 AM
0 comments, last by Slide 25 years, 5 months ago
Hi,

I'm trying to build up a simple 3d engine from scratch myself (not through gl / direct 3d) mainly for learning purposes...

I've got some basic directdraw stuff going, back buffers and wotnot and was wondering what the best way to draw straight filled polygons on the screen is? I figure the polygon function in GDI will work if i look the surface but thats probably gonna be slow. I can also work with the memory directly, but that sounds *hairy*. Direct3d has a poly function but i didnt look at that yet...

any suggestions? am i missing anything?

thanks

There's probably a simpler, more elegant way of doing it but hell this is London
DrawPrimitive will do the trick, also allows for Gourad shading which is nice
There's probably a simpler, more elegant way of doing it but hell this is London

This topic is closed to new replies.

Advertisement