Skip to main content
gamedev.net
🔒 Locked

MDX Mesh Data

Started by Craig_jb 1 reply 550+ views
Original Post
Craig_jb
Craig_jb
I am trying to implement a quadtree culling system in my Managed Directx game. Howver I ran into a problem right off the bat. I need to access the vertices of the level mesh to sort them into the quadtree. Is there a method or way of accessing the vertices in a mesh? I need to be able to parse these by their coordinates.
dave
dave
Look up:

LockVertexBuffer() - Locks a vertex buffer and obtains a pointer to the vertex buffer memory.

and

UnluckVertexBuffer() - Unlocks a vertex buffer.

Similar names for the index buffer.
Craig_jb
Craig_jb
Thanks, that did work.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.