Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Chris0001

Polygon Structure

This topic is 5683 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

What kind of polygon class can be fast enough for a game involving 3d terrain, models, and meshes? I currently have a polygon class with a list of verticies and a list of indices that refrence the verticies. Could such a structure be fast where speed is an issue? Any places where I can find some examples? Thanks

Share this post


Link to post
Share on other sites
Advertisement
I''m not very knowledgable in the ways of C++ so I dont know how much help I can be, but It seems to me that your polygon class is fine. If you are really worried about speed, you should start looking at things like backface culling, Multiple LOD''s, and things of that nature. After all, you can only make a single polygon so fast.
Also, by polygon, i hope you are talking about a single plain ??? poly with more than 3 vertices tend to get CPU hungry.

- Twisted Matrix

Share this post


Link to post
Share on other sites
That will be fine. DirectX certainly supports what you are describing exactly (Index Buffers) so I''m thinking that hardware does too.

Mark
mark@cornutopia.co.uk
http://www.cornutopia.co.uk

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!