Jump to content
  • Advertisement


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


Is it here....or over there...how about here?

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

I have a wonderful octree structure to organize my VoxelLandscape, Nodes with both 1 or 0 values are split until each node only has a) 1 voxel, or b) all of the voxels are the same value. My octree stucture has a size (a radius of the cube) and a center. I want to (when i''m passing the VoxelData onto the kiddies) test if a voxel lies in child a or b, but i can''t for the life of me found out how! I have a GetVoxel (x,y,z) that returns the voxel from the 1D array. But i can''t simply turn world space into array space. Sorry if this is unclear. I''m rushing thanks...

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!