in version 1.04 i added a new command, BT/UT InitialiseTerrain.
Make sure you call it when you finnished building your terrain.
////////////////////////////////////////////////////
// SUBROUTINE //
// NAME: _SetupBT //
// PURPOSE: Setup BlitzTerrain (LOD terrain) //
// DATE CREATED: 1372009.1603 //
////////////////////////////////////////////////////
_SetupBT:
heightmap = find free image()
load image "media/heightmap.jpg", heightmap
terrain = UT MakeTerrain()
UT SetTerrainHeightmap terrain, heightmap
UT SetTerrainTexture terrain, heightmap
UT SetTerrainDetail terrain, heightmap
UT SetTerrainLOD terrain, 4
UT SetTerrainScale terrain, 12
UT SetTerrainYScale terrain, 2
UT SetTerrainSplit terrain, 16
UT SetTerrainDetailTile terrain,8
UT SetTerrainLODDistances terrain,1000,3000,5500,0,0,0
UT BuildTerrain terrain
Building=1
while Building
object=find free Object()
phyobject=find Free Object()+1
progress=UT ContinueBuild(object,phyobject)
Position Camera CurveValue(Object Position X(Object),Camera Position X(),50), 500, 0
Point Camera 2000, 0, 2000
// Physics commands
sc_setupObject phyobject, 1, 0
if progress=-1
Building=0
else
center text screen width()/2,screen height()/2,"Loading Terrain: "+str$(progress)+"%"
sync
endif
endwhile
UT InitialiseTerrain terrain
Return
SpiderPig, No release date for the full version has been announced.
Free Version will be released on:
19th August 2009 (37 days)
People who know me in person will know why I choose that
The full version is likely to be released before next Christmas. (depends on my luck)