Chu generation time
by Vincent BILLET · in Torque Game Engine Advanced · 08/26/2005 (2:35 pm) · 5 replies
I tried my first terrain with these code :
I work on a P IV 2.4GHz 1 Go RAM...
My file is a 2049x2049 RAW file containg values from ~ -350 to ~ 1800. (that's the reason why I choose 1.0 in VertScale.
So.. Let's go...
Actually I'm trying
You can find the file Here
Anybody have a suggestion?
I work on a P IV 2.4GHz 1 Go RAM...
My file is a 2049x2049 RAW file containg values from ~ -350 to ~ 1800. (that's the reason why I choose 1.0 in VertScale.
generatechunkfilefromraw16("demo/data/terrains/test.raw",2048,2.0,1.0,"demo/data/terrains/test.chu",2.0,6);After 71 minutes, it gave me this error : Try a deeper tree... So.. Let's go...
generatechunkfilefromraw16("demo/data/terrains/test.raw",2048,2.0,1.0,"demo/data/terrains/test.chu",2.0,10);I Stopped it after 107 minutes.... :( (chu filesize = 214 Mo!!!)Actually I'm trying
generatechunkfilefromraw16("demo/data/terrains/test.raw",2048,8.0,1.0,"demo/data/terrains/test.chu",8.0,10);It's running since 24 minutes.You can find the file Here
Anybody have a suggestion?
#2
It take you less than an hour... With this file (see first post..)?
yes it generate a chunk file. but terrain does not load... I explain : I placed my spawn point 10 meter higher than the top point of my terrain, and my player fall... [Alt+C] to switch camera mode and flying around, but no terrain... why?
EDIT : Can you try the file in the first post? and tell me if it's a good file. (It's a file I generated myself).
08/26/2005 (4:27 pm)
I Run it in debug mode.It take you less than an hour... With this file (see first post..)?
yes it generate a chunk file. but terrain does not load... I explain : I placed my spawn point 10 meter higher than the top point of my terrain, and my player fall... [Alt+C] to switch camera mode and flying around, but no terrain... why?
Quote:Great news! But when?
The next revision of this stuff will be MUCH better about being easy to use
EDIT : Can you try the file in the first post? and tell me if it's a good file. (It's a file I generated myself).
#3
I putted S16 instead of U16 in my RAW file... So Now It Works in short time (<1min) :D
08/26/2005 (5:25 pm)
Ben, Sorry... I putted S16 instead of U16 in my RAW file... So Now It Works in short time (<1min) :D
#4
08/26/2005 (5:27 pm)
Ah, that'll do it. :)
#5
08/26/2005 (6:26 pm)
Also, doing a Release build speeds chunk file generation by several orders of magnitude.
Associate Kyle Carter
But in debug mode it can take several hours to generate a chunk file.
In the first case, did it generate a .chu file or not? I seem to recall the deeper tree text being just a warning indicating you didn't hit an optimal poly count. The next revision of this stuff will be MUCH better about being easy to use.