I have added a 3D buffer to my CityEngine Scene, and have managed to change to opacity. However, ideally the buffer would be coloured and the edges would be less prominent. If anyone could advise me on how to achieve this that would be great!
I have attached images and the code I have used so far.
@startrule
Lot -->
set(material.opacity,.01 )
comp(f) { all = Face }
comp(e) { all = Edges }
You could turn the wireframe rendering off by either pressing 7 in the viewport or selecting it through the gear icon on the top right corner of the viewport -> "Wireframe on Shaded/Textured". (You could turn it back on the same way; it is a toggle switch.)
You could use color() to set the color and opacity in one command:
You can find additional information on urban planning in CityEngine Tutorial 16:
Tutorial 16: Urban planning—CityEngine Tutorials | ArcGIS for Desktop
Has anyone had trouble using the Tutorial 16 rules? In the Zoning exercise, "Reflecting the zoning definitions" I'm getting an error in 3_Zoning_01.cej after assigning the "PointMarker_To_FootprintShape" rule to the footprint shape.
See screen shots below. The issue seems to be that the parent rule can't file Text.cga even though it's in the ESRI.lib as expected.
How do I get the rules to recoginze where the text.cga file is?
Thanks,
Emily