Killer.Penguin Posted July 24, 2013 Share Posted July 24, 2013 We're having a problem with Terrain Editor. While we could paint holes fine, we cannot paint height map or diffuse map on our terrain at all. We have tried to change to different modes and using different parameters but nothing seems to work. We tried everything we could think of, but we still see no result. Can anyone give us extra pointers? best, ps. And yes, we hold down the alt button and painted with left mouse... Link to comment
Killer.Penguin Posted July 25, 2013 Author Share Posted July 25, 2013 Here's the steps we used to test the terrain editor. - create a new terrain from the terrain icon with 1024x1024. - click edit terrain button from the node window. - try to paint with alt holding down in various mode. Nothing happened except the hole painting mode. We tried this in Mac SDK and the hole painting doesn't even work... Link to comment
sebastianbah Posted July 25, 2013 Share Posted July 25, 2013 Hi, Brushes won't work if no texture is assigned to terrain.Try to import height map using Nodes -> Terrain -> Heights -> Import, then create or import Diffuse, Normal and Mask textures.For more details you can use these articles:https://developer.unigine.com/en/docs/1.0/tutorials/terrain/https://developer.unigine.com/en/docs/1.0/principles/objects/terrain/terrain_options https://developer.unigine.com/en/docs/1.0/principles/objects/terrain/terrain_editor Thanks! Link to comment
frustum Posted July 25, 2013 Share Posted July 25, 2013 Will be fixed in the next SDK update. Link to comment
Killer.Penguin Posted July 25, 2013 Author Share Posted July 25, 2013 Well actually, I tried importing in Heightmap and Diffuse map with various type of image files too. They worked great, but I just can't paint or edit them... Link to comment
sebastianbah Posted July 26, 2013 Share Posted July 26, 2013 Hi,Could you please answer the following questions to clearify the situation: - Did you try to modify the terrain from object/terrain_00 sample? - Could you export the height map from object/terrain_00 sample and import it to the new terrain: Heights and Holes brushes should work correctly, is it so? Here you can find information about exporting height map from sample. Thanks! Link to comment
Killer.Penguin Posted July 29, 2013 Author Share Posted July 29, 2013 Ok, exporting and re-importing the same DDS height map fixed the problem for us. :) Just for ref, what's the DDS format do you use for terrain Height map and what kind? I can't use PSD Nvidia plugin to export the correct (128*x+1, 128*y+1) size. Link to comment
frustum Posted August 2, 2013 Share Posted August 2, 2013 DDS R16 encoding is: dwFlags = DDPF_LUMINANCE dwRGBBitCount = 16 dwRBitMask = 0x0000ffff You can use PNG file format. Link to comment
Recommended Posts