Solve conflict between bridge & buildings in CE

341
1
Jump to solution
07-29-2019 10:54 AM
simonyue
New Contributor

In CityEngine, I generate bridge using Bridge Generate Tool, then use the demo cga file (International City.cga) to generate buildings from a block area under the Bridge.

However, it turns out that when the buildings are too high, they will penetrate the bridge like this.

Is there a way to solve conflict in this case?

0 Kudos
1 Solution

Accepted Solutions
CherylLau
Esri Regular Contributor

Generally speaking, in the rule that creates the building, you could use occlusion testing to test whether the building overlaps anything else in the scene.

With the International City rule, you could change the attributes on the shapes to change the height of the building (Type, HeightFactor), or you could change the code to define different ranges for building heights.

View solution in original post

0 Kudos
1 Reply
CherylLau
Esri Regular Contributor

Generally speaking, in the rule that creates the building, you could use occlusion testing to test whether the building overlaps anything else in the scene.

With the International City rule, you could change the attributes on the shapes to change the height of the building (Type, HeightFactor), or you could change the code to define different ranges for building heights.

0 Kudos