Jump to content

Getting bad results in terrain when using scanner option to generate height map in Android settings


circuscharlie

Recommended Posts

Hi. Hope you all are doing fine. 

I am facing an issue. When my platform is set to Android, and I use the Scanner option to generate a Height map from a .fbx file and then use that map in stamp browser then I am not getting very good results in the terrain. The terrain quality looks really bad. But when I so the same process while my target is set to Windows, I get very nice results. I am struggling to find a fix for this, please help me. Attaching the images for reference. 

 

Android:

spacer.png

Windows: 

 

spacer.png

Edited by circuscharlie
Images didn't upload earlier
Link to comment
Share on other sites

This would be due to the height map resolution. 
Due to setting the target Platform to Mobile and VR the heightmap resolution would be set to 257. 

NOTE: 1. When scanning images to use as stamps, the quality of the image makes a big difference. All JPG's and most PNG files are only 8 bits per channel. When this gets converted to a stamp this means that you can only represent 256 possible height values, and the resulting stamp may appear terraced. You can address this by smoothing the terrain after stamping, but if possible use 16 bit textures as the resulting stamp will of better quality. RAW16 is better texture format to use.

2. Image compression will also cause artefacts in the resulting stamps. If possible, please ensure that your source image is not compressed, and regardless, make sure that you disable compression on the texture in Unity before you use the scanner to convert it into a stamp. Make sure you disable the sRGB setting on the texture so that it is imported purely as data.

3. Terrain scale is important. These heightmaps represent quite large areas, so in order to get a more realistic scale make your terrain 4 or 8km sq, and increase the Y scale as shown in the video. This is the type of scenario when streaming is important as well, so in Gaia Pro, make your terrain tiles around 512m sq, and enable separate scenes and streaming.

4. You can also use these stamps as the base for much larger environments using the world designer. To do this use the world designer, and then select Image as the Shape Input Type, and then your new stamp in the World Shape section. You can add more detail or not as you choose.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Tell a friend

    Love Canopy - Procedural Worlds? Tell a friend!
  • Need help?

    We work with some of the biggest brands in global gaming, automotive, technology, and government to create environments, games, simulations, and product launches for desktop, mobile, and VR.

    Our unique expertise and technology enable us to deliver solutions that look and run better at a fraction of the time and cost of a typical project.

    Check out some of our non-NDA work in the Gallery, and then Contact Us to accelerate your next project!

×
×
  • Create New...