Object disappearing... too many objects??

Started by volpesfuggente, June 22, 2010, 06:14:52 PM

Previous topic - Next topic

volpesfuggente

I must to create many objects in my simulation.
I have tryed to create over than 50 spheres adjacent on the 3 axis (x,y,z).
Many Objects disappear on camera's movement and most of them is not visualized at all. Moving the camera, some appear and other disappear. Are there any limits on the visualizable objects?

volpesfuggente

I'm sorry, I have search in the forum for my problem, but I haven't found anything before writing this post.

Continuing my search I've found the solution!!!

The answer for my question is here:
http://www.jpct.net/forum2/index.php/topic,375.0.html

This post can be closed I suppose...  ::)

EgonOlsen

No problem. If you are using this many objects, you may want to consider to compile them ( http://www.jpct.net/doc/com/threed/jpct/Object3D.html#compile() ) to improve performance (if you are using a hardware renderer). A side effect is, that a compiled object need much less entries in the visibility list than uncompiled ones do.