Game Development Community

Heightmap?

by Firas · in Torque Game Engine · 10/01/2004 (2:59 am) · 7 replies

I tried to make 512*512 heightmap and imported it to torque but it display just a part of it ! so what shall i do to solve this problem?

note: i want my heightmap to be bigger than 256*256.

#1
10/01/2004 (6:37 am)
Only supports 256x256 .png files. You will have to alter the engine code to support home tiles with higher resolutions. Why don't you look at EGTGE in the resizing the terrain section. Explains all of your questions, I think.

www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=5661

Joe
#2
10/01/2004 (6:50 am)
Ok I will check them tonight, and hope to find somthing helpful

thanks in advance.
#3
10/01/2004 (6:58 am)
On a simlar vein, is it possible to increase the resolution of the textures that are painted onto the terrain? I'd like a higher res as i've made loads of realistic textures only to find they are huge when painted on.
#4
10/01/2004 (7:16 am)
@ Bat

Reduce your square size from 8, to 4 or 2. Do NOT try to use anything other than a power of 2 for square size or it will crash every time.
#5
10/01/2004 (8:56 am)
It doesn't like that! It crashes when I change it to 2 :(
#6
10/01/2004 (9:57 am)
Currently, there is no other easy trick than what Gonzo mentioned. You could dig yourself into the blender and manually change the code, but that's alot of work I think.
#7
10/01/2004 (11:20 am)
Change it to 2 before it loads(In your text editor)

And be prepared for your entire level to be screwed as it resizes the terrain.