Jump to content
  • Advertisement
Sign in to follow this  
dxdotnet1

need help on implementing Octree

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

Can anyone just game me idea on how to implement Octree in DX? maybe just gave me the pseudocode.. Ive implemented my level using directX Mesh. Just gave me step by step idea on how to do this. I cant find any tutorial on the net for Octree that uses DX Mesh. here are some list about octree that im confused: a)do we still need to get the Vertices of each Mesh in every frame? to build the Octree b) how to assign a vertex/polygon to an octree node? c) how to test collision in Octree? we just need to check if we collide with the bounding box? hope u guys an help me on this

Share this post


Link to post
Share on other sites
Advertisement

Hiya,

Just wrote a small essay on the subject on the thread neneboricua19 just mentioned.

Hope it helps.

In fact i believe neneboricua19 helped me out when i was stuck on mine, could be wrong.

Edit: Should have read it properly the first time.

Collisions: if your bounding volume is inside the octree node (bounding volume), test them against the triangles in that node. Look into spheres for the octree node and your bounding volume.

Laters again. hehe

Share this post


Link to post
Share on other sites
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!