View Distance is not enough

Hello,



i tried to search for this problem but i couldnt find anything helpful.



So here is my problem:



I have some huge terrain & a sphere with i move around.

But i cant look really far because the terrain somehow disappears around 150-200 in front of me.



Pics of moving forward:



http://i49.tinypic.com/1ieuqb.jpg



http://i49.tinypic.com/w2dctd.jpg



http://i50.tinypic.com/2iufa7p.jpg



Please tell me, where i can change this to ahigher value or something  :expressionless:

When you initialize the camera, you set a near and far plane,

You can set the far plane to a further distance like 10'000.



You should look up more info about the camera frustum and zbuffer, as its not a trivial topic.


:smiley:



Thanks a lot!



Result: http://i49.tinypic.com/mm3dxy.jpg



added at the end of simpleInit() this 2 lines, works as expected … well for now :slight_smile:


       cam.setFrustumFar(5000);
       cam.onFrameChange();

@h1ghst0r3y said: :D<br /> <br /> Thanks a lot!<br /> <br /> Result: http://i49.tinypic.com/mm3dxy.jpg<br /> <br /> added at the end of simpleInit() this 2 lines, works as expected ... well for now :)<br /> <p><br />        cam.setFrustumFar(5000);<br />        cam.onFrameChange();<br /> </p>

worked for me aswell