Game Development Community

TGEA 1.7.0 Beta 1 -Bug MegaTerrain texelsPerMeter, clipMapSize

by robo · in Torque Game Engine Advanced · 03/20/2008 (4:39 am) · 4 replies

Certain texelsPerMeter value does not apply world editor.

and when clipMapSizeLog2 is 200 or 100 , program is crashed.

for example.

texelsPerMeter = 40

www.myschoollife.co.kr/bug/s1.jpg
texelsPerMeter = 32

www.myschoollife.co.kr/bug/s2.jpg

#1
03/20/2008 (5:28 am)
TexelsPerMeter should be a power of 2 (8, 16, 32, 64, 128)

clipMapSizeLog2 = 9 = 512x512 clipmap
clipMapSizeLog2 = 10 = 1024x1024 clipmap

We should catch the invalid input. I'll look into this for release.
#2
03/20/2008 (6:03 am)
Regarding clipMapSizeLog2, what other values work? I got a crash at 11.
#3
03/20/2008 (9:47 am)
@ matt: 2*1 = 2 *2 = 4 *2 = 8 * 2 = 16 *2 = 32 *2 = 64 *2 = 128 ect.
#4
03/21/2008 (7:54 pm)
In T3D demo

TexelsPerMeter = 64
clipMapSizeLog2 = 10

I got a crash


this is log
Mapping string: MissionStartPhase1 to index: 8
*** New Mission: scriptsAndAssets/data/missions/simple.mis
*** Phase 1: Download Datablocks & Targets
Mapping string: MissionStartPhase1Ack to index: 0
GFXTextureManager::createTexture - Unable to load Texture: ~/data/environment/lightning1frame1
GFXTextureManager::createTexture - Unable to load Texture: ~/data/environment/lightning1frame2
GFXTextureManager::createTexture - Unable to load Texture: ~/data/environment/lightning1frame3
GFXTextureManager::createTexture - Unable to load Texture: 
GFXTextureManager::createTexture - Unable to load Texture: 
GFXTextureManager::createTexture - Unable to load Texture: 
GFXTextureManager::createTexture - Unable to load Texture: 
GFXTextureManager::createTexture - Unable to load Texture: 
GFXTextureManager::createTexture - Unable to load Texture: C:/SDKs/TGEA_1_7_0_Beta_1/GameExamples/T3D/game/scriptsAndAssets/data/shapes/players/common/base.lmale
GFXTextureManager::createTexture - Unable to load Texture: C:/SDKs/TGEA_1_7_0_Beta_1/GameExamples/T3D/game/scriptsAndAssets/data/shapes/players/common/base.lmale
Validation required for shape: scriptsAndAssets/data/shapes/players/SpaceOrc/SpaceOrc.dts
GFXTextureManager::createTexture - Unable to load Texture: C:/SDKs/TGEA_1_7_0_Beta_1/GameExamples/T3D/game/scriptsAndAssets/data/shapes/players/common/base.lmale
GFXTextureManager::createTexture - Unable to load Texture: C:/SDKs/TGEA_1_7_0_Beta_1/GameExamples/T3D/game/scriptsAndAssets/data/shapes/players/common/base.lmale
Validation required for shape: scriptsAndAssets/data/shapes/players/BoomBot/BoomBot.dts
GFXTextureManager::createTexture - Unable to load Texture: C:/SDKs/TGEA_1_7_0_Beta_1/GameExamples/T3D/game/scriptsAndAssets/data/shapes/players/common/base.lmale
GFXTextureManager::createTexture - Unable to load Texture: C:/SDKs/TGEA_1_7_0_Beta_1/GameExamples/T3D/game/scriptsAndAssets/data/shapes/players/common/base.lmale
Validation required for shape: scriptsAndAssets/data/shapes/players/Elf/Elf.dts
GFXTextureManager::createTexture - Unable to load Texture: C:/SDKs/TGEA_1_7_0_Beta_1/GameExamples/T3D/game/scriptsAndAssets/data/shapes/players/common/base.lmale
GFXTextureManager::createTexture - Unable to load Texture: C:/SDKs/TGEA_1_7_0_Beta_1/GameExamples/T3D/game/scriptsAndAssets/data/shapes/players/common/base.lmale
Validation required for shape: scriptsAndAssets/data/shapes/players/ForgeSoldier/ForgeSoldier.dts
GFXTextureManager::createTexture - Unable to load Texture: C:/SDKs/TGEA_1_7_0_Beta_1/GameExamples/T3D/game/scriptsAndAssets/data/shapes/players/common/base.lmale
GFXTextureManager::createTexture - Unable to load Texture: C:/SDKs/TGEA_1_7_0_Beta_1/GameExamples/T3D/game/scriptsAndAssets/data/shapes/players/common/base.lmale
Validation required for shape: scriptsAndAssets/data/shapes/players/SpaceOrc/SpaceOrc.dts
GFXTextureManager::createTexture - Unable to load Texture: C:/SDKs/TGEA_1_7_0_Beta_1/GameExamples/T3D/game/scriptsAndAssets/data/shapes/players/common/base.lmale
GFXTextureManager::createTexture - Unable to load Texture: C:/SDKs/TGEA_1_7_0_Beta_1/GameExamples/T3D/game/scriptsAndAssets/data/shapes/players/common/base.lmale
Validation required for shape: scriptsAndAssets/data/shapes/players/Spacesuit/Spacesuit.dts
GFXTextureManager::createTexture - Unable to load Texture: C:/SDKs/TGEA_1_7_0_Beta_1/GameExamples/T3D/game/scriptsAndAssets/data/shapes/players/common/base.lmale
GFXTextureManager::createTexture - Unable to load Texture: C:/SDKs/TGEA_1_7_0_Beta_1/GameExamples/T3D/game/scriptsAndAssets/data/shapes/players/common/base.lmale
GFXTextureManager::createTexture - Unable to load Texture: C:/SDKs/TGEA_1_7_0_Beta_1/GameExamples/T3D/game/scriptsAndAssets/data/shapes/players/TorqueOrc/crossbow
GFXTextureManager::createTexture - Unable to load Texture: C:/SDKs/TGEA_1_7_0_Beta_1/GameExamples/T3D/game/scriptsAndAssets/data/shapes/players/TorqueOrc/clip
Validation required for shape: scriptsAndAssets/data/shapes/players/TorqueOrc/TorqueOrc.dts
Mapping string: MissionStartPhase2 to index: 9
*** Phase 2: Download Ghost Objects
Mapping string: MissionStartPhase2Ack to index: 1
GFXTextureManager::createTexture - Unable to load Texture: 
Allocating a 1024 px clipmap for a 131072px source texture.
   - 7 base clipstack entries, + 1 cap.
   - Using approximately 42.560001MB of texture memory.
Allocating a 512 px clipmap for a 16384px source texture.
   - 5 base clipstack entries, + 1 cap.
   - Using approximately 7.980000MB of texture memory.
Allocating a 512 px clipmap for a 16384px source texture.
   - 5 base clipstack entries, + 1 cap.