Game Development Community

Importing Bitmap problem or.....

by Johnny Hill · in Torque Game Engine · 01/20/2006 (12:21 pm) · 1 replies

Or something Iam overlooking.

Heres what Iam doing just to give a idea of what is happening. Normally I would take a existing terrain and just hammer it into the form of the one I got scribble on paper. Long but error free.

But now that I found some terrain tools I been making 256 Greyscale 8-Bit Heightfields and just loading them into my HF folder.

Ok some of them when I load them up the terrain is completely Borked up, and it seems the camera view drops under the terrain And the best way I can describe is like the terrain keeps rising up each time I try to reload it.

The settings I use are the exact same ones in Terrains for Torque Tutorials on Holodeck. Iam not use DEMs so I cant manually hand paint each contour in my map image. But I do make sure its using 256 greyscale colors, custom color swatch and saved out as a PNG image.

Now when I do load in the bitmap I do see the green-shaded version of my terrain it looks like it does, but the scale or something is thrown waaaay off in the render view. If I try to tweaked it too much it just flattens everything out. and If I try to reload its does what I described in the first part.

I will keep trying on my own, but would also appreciate any additional info if anyone else came across the same thing. I hope to figure out a smooth content path so I can just churn out my landscapes and add the details in torque afterwards.

Anyway keep on Torquing :)

#1
01/21/2006 (9:57 am)
Fix my problem, and I will definitely shared what I was forgetting. When I set the Min and Max terrains heights I was still going by what was in the Holodeck. I guess that bug that affecting the bitmap terrain settings got fixed in 1.4 So I just set the 50 min and 100 max settings and blam there was my nice, sized and scale terrain in Torque test mission. Keep on Torquing :)