Jump to content

Issue with ObjectMeshClutter Floating on Sloped Terrain Unigine 2.19


photo
Go to solution Solved by silent,

Recommended Posts

Posted

I would like to report an issue related to ObjectMeshClutter in Unigine 2.19. While working with terrain clutter placement, I noticed that meshes placed on sloped surfaces are not aligning correctly with the terrain.

Instead of conforming to the slope, several clutter instances appear to be floating above the surface. This issue is especially noticeable on steeper gradients, while placement on flat terrain works as expected.

Steps to reproduce:

  • Create a terrain with slope
  • Apply ObjectMeshClutter
  • Assign clutter meshes
  • Observe placement on sloped areas

Expected behavior:
Meshes should align properly with the terrain surface and follow slope orientation.

Actual behavior:
Meshes appear floating and misaligned on slopes.

I have attached screenshots for better visibility of the issue.

image (2).png

image (1).png

image.png

Posted

Hi Swapnil,

That's strange, I could not get the same results with built-in sample:

image.png

Grass in a ObjectMeshClutter object is being correctly rendered on a terrain slop. This is built-in Art Samples package, you should be able to download it and check on your side as well. The sample is located in main_samples/vegetation/grass_terrain_example world.

If you can modify this sample to look like in your screenshot and send us a minimal test scene (save .world and export it as package) -- we can check it on our side and find out the root cause:

image.png

Thank you!

How to submit a good bug report
---
FTP server for test scenes and user uploads:

Posted

Hi Silent,

I have updated the files on the mentioned FTP.

I’ve placed a reference box in one location where the issue is clearly visible. However, this problem is occurring across multiple areas, not just that specific spot.

Please take a look and let me know your thoughts.

Thanks,
Swapnil

  • Solution
Posted

@Swapnil.NARE

Actually, we did a quick check and it seems that flying grass can be fixed by increasing the intersection precision for the specific lmap.

In your case Intersection Bicubic Filter was disabled for CDG_Sections_2_4_pull_to_terrain:

image.png

After enabling this option, saving the world and reloading world will result in correctly spawned grass:

image.png

Thanks!

How to submit a good bug report
---
FTP server for test scenes and user uploads:

×
×
  • Create New...