How to perfectly align shapes to terrain in CityEngine?

07-05-2017 12:02 PM
New Contributor

When I am using the "align shapes to terrain" or "align terrain to shapes", there are always some gaps between the shape and terrain in the places where elevation is relatives high or low. Is there any way to make the shape go up and down perfectly with the terrain?

Tags (1)
1 Reply
New Contributor II

I've been trying to come up with a workaround for this too. Obviously the shapes only align their vertices to the terrain, so elongated shapes that lie over an irregular terrain provide a poor visual. It seems like there should be a more obvious fix for this?

I've used Python to script a process that breaks up the shapes (for example, parks) a certain amount of times until the subdivided shapes are small enough to dynamically fit the terrain. Finally, I align the terrain to the shapes to give it a polished finish to ensure that the terrain is always under the shapes. 

This seems like a lot of overhead? I would really like to hear if there are better alternatives.  

0 Kudos