Game Development Community

Terrain drawing Distance

by Ilja Vandewalle · in Technical Issues · 10/01/2008 (3:16 pm) · 4 replies

Hi,
I'm messing around with the terrain in TGEA and stumbled onto a little problem:

how do I increase the drawing distance of the terrain?
- the farDistance of the sky is set at 1000 but the terrain isn't drawn that far : when I move I can see triangles being added where I want the terrain to go beyond the clipping plane of the skydome
- increasing the farDistance of the skydome doesn't help
- I tried increasing the farDistance in terrRender.cpp without succes

About the author

Recent Threads


#1
10/01/2008 (3:58 pm)
Try having a look at what the near a far clipping distances are in the render state at the time the terrain is drawn.

Gabriel
#2
10/01/2008 (4:22 pm)
Make sure that noRenderBans = "0";
#3
10/01/2008 (4:37 pm)
Hmm, where do i find the norenderbans?

this is my current situation :
- started a new project with the projectgenerator
iljanated.googlepages.com/terrain.JPG
#4
10/01/2008 (4:47 pm)
Hmm, I toggled the norenderbans option on and back of --> left the editor --> suddenly it's ok

thx :-)

next problem: I deleted the terrain, try adding a new Megaterrain
- selected heightmap from the data/terrains/heightmaps
- select grass1 from data/terrains/Test as texture1

--> program crashes eah time