Page 1 of 1

Multible Terrains

Posted: Sat Sep 20, 2003 1:09 am
by J. Baker
Is it possible to have multible terrains? When i stretch a single terrain to make it bigger, pc slows down. Didn't know if it was possible to display more then one terrain at a time to make a huge terrain.

Posted: Mon Sep 22, 2003 8:36 pm
by Johan_Haegg
would be nice to load and unload multiple terrains so you can use swapping and fog to create an illusion of a huge terrain while still not putting requirements to state-of-art computer

Posted: Tue Sep 23, 2003 10:37 am
by Fred
Some OGRE plugin use a terrain paging to simulate big terrains dynamically. I will take a closer look to it.

Posted: Tue Sep 23, 2003 4:35 pm
by J. Baker
Cool, thanks Fred. :D

Posted: Wed Sep 24, 2003 2:25 pm
by Johan_Haegg
Something like:
TerrainID.l = CreateTerrain(Filename$, MaterialID, [ScaleX, ScaleY, ScaleZ, [Precision]],[PosX, PosY, PosZ])

UnloadTerrain(TerrainID)

Ok, there will be some loading-times when switching, but how painfull is that? Not a single bit!

Ok, it would be nice with a terrain that is drawn with precision 1 near the camera and 20 at the end, but thats something for the future, right now multiple terrains would be the thing that would make it possible to do a huge landscape for an adventure game or whatever.

The worst thing that could happen to PureBasic is that i becomes something like a 'Write and Play' language, we want to think a bit to ;)

A friend of mine is currently writeing on a few Yaw & Roll functions in C++
to be included in a game we are writeing in PureBasic & C++. Hope it turns out good, maybe ill post it later for use with the terrain-engine.