How Do I keep the Framerate High?

Blitz3D Forums/Blitz3D Beginners Area/How Do I keep the Framerate High?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Instead of entityvisible and entitydistance you could also do ...

tformpoint entityx(tree), entityy(tree), entityz(tree), 0, camera

and check the returned tformedz() ( assuming >0 ) to see how far in front of the camera the tree is for lod / hiding. It may be a bit faster than a combination of the other two.

Stevie