[Solved] How to show complete terrain with no tiles cliped?

sjcomp

05-04-2006 01:36:17

I use terrain ps_height_1k with 4 pages. I scale it by ScaleX,Y,Z=190000. I move camera high so I can see the edges of the terrain. As I look around corners are not displayed, they appear only when I move closer. How do I make sure all of them are shown? What parameter controls that?

It works in a way similar to camera clipping. But I have RSC_INFINITE_FAR_PLANE so camera's setFarClipDistance() is set to 0.

Thanks.

Falagard

05-04-2006 02:45:50

There are a bunch of options that can be configured in your terrain.cfg file.

Off the top of my head, MaxAdjacentPages=10 will load a lot more pages than the default value of 2.

Check the wiki for more info, specifically search for MaxAdjacentPages you'll get the page on the wiki.

sjcomp

05-04-2006 15:30:39


Off the top of my head, MaxAdjacentPages=10 will load a lot more pages than the default value of 2.

That was the only one I related to the problem when I read wiki, but it does not change what I see.

Terrain consists of pages (MapSplitter generates texture for every page *.X.X.*). Every page has tiles. Am I correct?

Corner tiles (the furthest from the camera) do not show up unless I move camera closer.

tuan kuranes

05-04-2006 16:21:22

correct
pages increment is needed.
Then for tiles/renderables, increment "visiblerenderables" check wiki or template config.
(and make sure maxtile and maxrenderable is high enough)

sjcomp

05-04-2006 16:41:44

Then for tiles/renderables, increment "visiblerenderables"
This solved the problem! Thanks a lot. I added VisibleRenderables=150 instead of default 75.