Shatterstar
Member
|
Terrain Distance Problem
We set the view distance at a rediculas distance in code. We made it to where you can adjust it in an options menu in the game. It all seemed to work just fine except for mountains. It doesn't even render the mountains at a distance. Can Esenthel, or anyone help us? Or can at least give us a reason why the mountains do not appear in the game at a distance?
(This post was last modified: 03-22-2013 06:20 AM by Shatterstar.)
|
|
03-22-2013 06:18 AM |
|
Zervox
Member
|
RE: Terrain Distance Problem
Most likely the area isn't inside Game::World.activeRange().
|
|
03-22-2013 07:24 AM |
|
AndrewBGS
Member
|
RE: Terrain Distance Problem
I'm not sure that is the reason.
I have the view Distance (or something, I don't have the code at me right now) set to about 1000 or so, to view damn far mountains, and I see them.
My activeRange however is set to the viewRange (or whatever) -800, and it works just fine. I'll add the code i use and which works for me when i get the chance.
|
|
03-22-2013 02:04 PM |
|
Shatterstar
Member
|
RE: Terrain Distance Problem
thanks...yeah, i would like to compare your code with ours to see where we went wrong.
|
|
03-24-2013 05:11 AM |
|
Shatterstar
Member
|
RE: Terrain Distance Problem
we fixed it. Thank you Zervox. what you said was the problem.
|
|
03-25-2013 04:06 AM |
|