I'm new to C.E. and CGA but have been immersed for last few days in order to generate a cityscape for an important presentation. C.E. could be a time saver provided I don't get hung up on to many little things.....such as...
I've using the schematic city.cga to propegate geometry into a custom designed landscape with elevation. In evaluating the CSA code I can't figure out why the floor (ground plane) of my blocks are transparent. They are clear in teh CE viewport but when exported there is no geometry.
Any clues appreciated?
I have moved this post to https://community.esri.com/community/gis/3d/cityengine?sr=search&searchId=fa0bc4e5-dae3-40ff-a404-37... so it doesn't languish unnoticed
Post the rule?
Are you looking at the floors from above or below? Both? It could be a face culling issue.
What happen in the CE scene when you toggle Back face culling on and off?
Gang-
Thanks for leaning into my inquiry. Still stumped and frustated by my work arounds thus far.
L.R. I have attached the .cga file. Thanks in advance for taking a look.
David- The back face culling does toggle on/off the visibility of assets....except those generated with the schematic_city.cga rule. Reference pic.
The lack of texture on the building geometry is preferred in this instance but would ideally be able to select from 3-4 ground plane (LotInner) options via the script. Reference creative direction below.
Again...grateful to support of ESRI community.
Unless I'm not understanding what you're trying to do it seems that you're generating buildings on lots and leaving the area around them blank/NIL. What's visible in CE is the shape underneath, which isn't displayed in the webscene. Try replacing..
@StartRule
Lot -->
with
@Color
attr GroundColor = "#FF0000"
@StartRule
Lot -->
ColorGround
LotCase
ColorGround --> color(GroundColor)
LotCase -->
You can hide shapes by hitting F11 while the viewport is active.