Original Post
Hello everyone , i made terrain class for my engine and it works great but it was kinda slow so i decide improving it so i started reading about Octrees algorithm it was easy to understand but when i started to implement it on the terrain xD it was hard for me to cut it in to cubes ;_; can anyone tell me how ? another question let's say i have objects in the terrain like trees , rocks etc.. how can i cut complex objects in to cubes ? thank you . cya,