Turing off the repeating terrain
by N R Bharathae · in General Discussion · 05/28/2003 (6:04 am) · 9 replies
Incoming nOOb question...
I have a simple request, but it seems to be one that most developers don't want to answer. So I'm posting here with hopes of getting a favorable response.
I want to turn off the repeating terrain function in the Terrain Editor. I've been told that I can change the Repeating Bool from true to false but the guy who told me this didn't say where the Repeating Bool is. I've looked through the pref, game and mission files in RW but I can't find it.
Is this a .cc file that I would have change and then compile a new build to get this to work?
Thanks for any responses.
I have a simple request, but it seems to be one that most developers don't want to answer. So I'm posting here with hopes of getting a favorable response.
I want to turn off the repeating terrain function in the Terrain Editor. I've been told that I can change the Repeating Bool from true to false but the guy who told me this didn't say where the Repeating Bool is. I've looked through the pref, game and mission files in RW but I can't find it.
Is this a .cc file that I would have change and then compile a new build to get this to work?
Thanks for any responses.
#2
-Ron
05/28/2003 (7:11 am)
I was told their is a way to-do it with out TM, but have yet to find the forum thread/resource that outlines it.-Ron
#3
You find this in the terrmanager.cc:
bool repeatTerrain = Con::getBoolVariable("$pref::Terrain::repeatTerrain", true);
Here:
void TerrainManager::buildConvex(const Box3F& box,Convex* convex)
{
// Transform the bounding sphere into the object's coord space. Note that this
// not really optimal.
bool repeatTerrain = Con::getBoolVariable("$pref::Terrain::repeatTerrain", true);
Box3F osBox = box;
mWorldToObj.mul(osBox);
05/28/2003 (8:56 am)
Sorry N.R. My fault.You find this in the terrmanager.cc:
bool repeatTerrain = Con::getBoolVariable("$pref::Terrain::repeatTerrain", true);
Here:
void TerrainManager::buildConvex(const Box3F& box,Convex* convex)
{
// Transform the bounding sphere into the object's coord space. Note that this
// not really optimal.
bool repeatTerrain = Con::getBoolVariable("$pref::Terrain::repeatTerrain", true);
Box3F osBox = box;
mWorldToObj.mul(osBox);
#4
Besides, N R Bharathae isn't an SDK owner so I don't think that'll do him much good.
05/28/2003 (10:18 am)
Fredrik, we're not supposed to post C++ source in the non-SDK owner forums.Besides, N R Bharathae isn't an SDK owner so I don't think that'll do him much good.
#6
05/28/2003 (12:17 pm)
The code is in the form of a patch though. If you don't have SDK source you're out of luck trying to trun off terrain repitition.
#7
Mark Mozynski- a less sarcastic response would have done just as well.
05/28/2003 (12:46 pm)
Well I see the Neo-Nazis programming gang is on top of things. Mark Mozynski- a less sarcastic response would have done just as well.
#8
Then again, these things are hard to judge in a text medium.
05/28/2003 (1:13 pm)
No sarcasm was intended and I don't notice any on a re-read. Then again, these things are hard to judge in a text medium.
#9
>>>Well I see the Neo-Nazis programming gang is on top of things.
Sarcastic, abusive and slanderous.
05/29/2003 (5:26 am)
The only out-of-line comment I see here is this:>>>Well I see the Neo-Nazis programming gang is on top of things.
Sarcastic, abusive and slanderous.
Torque Owner John Kabus (BobTheCBuilder)
Hope this helps...
John.