Author Topic: Rendering distance  (Read 1113 times)

Offline orkshaman

  • byte
  • *
  • Posts: 25
    • View Profile
Rendering distance
« on: April 20, 2011, 08:26:01 pm »
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?

Code: [Select]
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);



Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 11748
    • View Profile
    • http://www.jpct.net

Offline orkshaman

  • byte
  • *
  • Posts: 25
    • View Profile
Re: Rendering distance
« Reply #2 on: April 20, 2011, 09:01:45 pm »
Thank you EgonOlsen.