Tag Info

New answers tagged


The solution is actually quite easy. The .attachChild() method of the rootNode object only accepts Nodes as it's argument. Therfore, a Geometry object must be created with the line object as its second arguement. In addition, you can also set its material afterwards. An example: Line line = new Line(new Vector3f(0, 0, 0), new Vector3f(0, 100, 0)); ...


Trying changing setModelBound(new BoundingBox()); to BoundingSphere bs = new BoundingSphere(); bs.setCenter(new Vector3f(32,0,32)); bs.setRadius(1000000); setModelBound(bs); Edit Larethian (short Version) (confirmed working on example code): setModelBound( new BoundingSphere(1000000, new Vector3f(32f, 0f, 32f)) ); As pointed out in the comments ...


Maybe they are being culled for being partly outside the view area? Might be worth looking at the code selecting what you render instead of the terrain code. (Or setting near and far plane differently and/or moving the camera further away since it seems the engine is not a custom solution)

Top 50 recent answers are included