Jump to content
  • Advertisement
Sign in to follow this  
Juksosah

Octree + extracting triangles from complex objects

This topic is 4830 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

Hi I'm a programmer (not in the gaming field) and i'm learning game programming using an API (DirectX) I've done some tutorials about the basics. Now I want to partition my objects (mesh and terrain) so that I dont use CPu time drawing an object 10 km away. I simply need information (not too general, and algorithm would be appreciated) on octrees please and how to use them in ! I know it's been answered a million times. Another question too : if I want to do collision detection or render only a part of a complex objext(mesh terrain) , does I really need to check all the coordinates of all the triangles ? It seems time consuming to loop in that vertex or index buffer just ot find the coordinates of a specific triangle. If there is another way to do this please tell me And I would like to know what kind of object is the most used in a 3D game: Meshes ? textured quad ? Are they using heigthmaps for terrain? P.S :When I talk of objects I mean 'something that is rendered , that you see on the screen. Sorry if this term is used incorrectly.

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • 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!