Rendering distance

Started by orkshaman, April 20, 2011, 08:26:01 PM

Previous topic - Next topic

orkshaman

Hello again forum! I have Object3D model=Primitives.getCylinder(4,100,10), and I can't see this object at distance Z > 1000 from camera position. But if I move object Z back to camera (z<1000) I can see object. How can I change render distance?

MODEL=Primitives.getCylinder(4,100,10);
MODEL.setTexture("building");
MODEL.build();

SimpleVector sv=world.getCamera().getPosition();
sv.x-=300;
sv.z+=3000;
MODEL.setOrigin(sv);





orkshaman