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 :)
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 :)
About the author
Torque Owner Johnny Hill