Jump to content

  • Log In with Google      Sign In   
  • Create Account


Polygons in DirectDraw?


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
1 reply to this topic

#1 Slide   Members   -  Reputation: 122

Like
Likes
Like

Posted 12 August 1999 - 11:09 PM

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


Sponsor:

#2 Slide   Members   -  Reputation: 122

Like
Likes
Like

Posted 12 August 1999 - 11:09 PM

DrawPrimitive will do the trick, also allows for Gourad shading which is nice




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS