Atlas terrain creation problem
by Afan Olovcic · in Torque Game Engine Advanced · 04/23/2007 (1:46 am) · 4 replies
Hi
I have problem with creation of atlas file could you help me please
I have :
raw file 1025 x 1025
texture 16384 x 16384
could somebody help with value for atlasOldGenerateChunkFileFromRaw16 function I try it but I have problems
thanks
I have problem with creation of atlas file could you help me please
I have :
raw file 1025 x 1025
texture 16384 x 16384
could somebody help with value for atlasOldGenerateChunkFileFromRaw16 function I try it but I have problems
thanks
About the author
www.bootwars.com
#2
height is 1000 m and terrain has to be about 12000 m in the real world
thanks a lot for your help again
still there is some problem there is the last lines from log file
AtlasResourceTOC::cbOnChunkReadComplete - discarding cancelled chunk (2 @ 1, 3)!
AtlasResourceTOC::cbOnChunkReadComplete - discarding cancelled chunk (2 @ 3, 1)!
AtlasResourceTOC::cbOnChunkReadComplete - discarding cancelled chunk (4 @ 6, 9)!
AtlasResourceTOC::cbOnChunkReadComplete - discarding cancelled chunk (3 @ 5, 3)!
run time error
04/23/2007 (2:17 pm)
Thanks for your helpheight is 1000 m and terrain has to be about 12000 m in the real world
thanks a lot for your help again
still there is some problem there is the last lines from log file
AtlasResourceTOC
AtlasResourceTOC
AtlasResourceTOC
AtlasResourceTOC
run time error
#3
TGEA make terrain without errors but when I try to load my terrain engine loads and in few moments engine crash ,yet I don't know why .TSE 4.2 works perfectly .
04/26/2007 (11:23 am)
This problem is some TGEA bug,or something I don't understand , couse I follow same procedure in TSE 4.2 version and works perfectly.TGEA make terrain without errors but when I try to load my terrain engine loads and in few moments engine crash ,yet I don't know why .TSE 4.2 works perfectly .
#4
04/26/2007 (11:24 am)
I think I saw that there is a known bug with creating Atlas terrains using the 1.01 version. Revert back to 1.0 if you have it.
Torque 3D Owner Mark Dynna
* This is the height range (or multiplier) parameter and should be expressed as (your range) / 65536
How much bigger of an Atlas terrain do you want compared to your height map size? This is expressed as a multiplier (2x larger, 3x larger). The "default" value is 2, making a 2048 terrain for you (the +1 is ignored for sizing).
* This is the square size parameter
Tree depth and Error Metric are the parameters that you "play with" to get the best results. Try starting with a Tree Depth of 4 and Error Metric of 1. Look at the log after conversion and it will tell you if it thinks you should be making a deeper (higher) or shallower (lower) Tree. Use the Error Metric value to "tweak" the value between Tree levels.