I'm making a map and so far it seems easy enough, but I've run into some problems using the depth map. I've sifted through the internet and every single thread tagged 'depth map' which helped me learn how to actually create it, but it seems to be doing absolutely nothing. I've looked over everything multiple times but I just can't seem to tell what the problem is. The depth map is 2048x2048, the same size as my map. I created it in photoshop, set to 8 bits per channel greyscale, with only 1 channel, and no normal map. At first I exported the terrain file and inverted the images b&w to make the muddy areas deep, using levels to make them grey instead of black. This did nothing, but I thought it could be something to do with the image being backwards as it seems flipped when you export the terrain. At this point I made the whole image slightly grey which I assume should make the whole ground slightly deep, but instead it did nothing. I've tried all the things I could think of, and here I am. I'll insert some images and hope someone can offer any advice. Also, the depth file .pngs were saving at about 20kb, and are now saving at about 4000kb... I'm not sure why this is, but neither of them work. First Post!
Another thread on this here, may help. http://www.beamng.com/threads/4323-Terrain-depth-file-not-working
I did already read through that, but the issue seemed to be different, and the working file that a user posted is for a different map size so I couldn't test it out.
Same problem here. I'm saving from Photoshop CS6 as 8-bit Greyscale, single channel, 2048x2048 (my map's size) PNG and it does nothing.
Identical problem, nice to know I'm not alone. Hopefully someone can come up with a solution. Wondering if it has something to do with Photoshop/CS6
Have a look at the console or torque3d.log after loading the map. It should show if the depthmap was loaded or if the format is wrong. Most likely there's something wrong with the format. Upload the png here so we can check it.
Aah! Checking the console was the key to finding out what was wrong. When it searches for the depth map it Isn't searching in the same folder as the .MIS file in levels. It seems to be searching in beamng/art/terrains instead of searching in levels and then the map folder. I have no idea why this is. In the art/terrains there's a materials.cs and then a folder for my map, but I'm not sure why it's saving it there. My problem is essentially solved, but I'm thinking I'm going to run into some issues if I give the map to others to download. Any ideas? Either way thanks for the help
You can move the materials and other files to your map folder, just check the .mis and .cs files in your map and change the file paths if there are references to files outside the folder. References to the game's unmodified default files usually work, but it's better to use everything from the map's own folder.