Hello there!
I'm trying to export a 3d model to a web scene but am having some trouble with the colors of my shapes to showing when it's published.
Here I have the colors for my shapes layers set:
And then this is what the model looks like in city engine, with all the colors correctly displaying:
Here are my export settings:
And this is what it looks like when I publish to webscene:
Does anyone have any ideas of how I can get this problem resolved?
Hello Jugal,
Thank you for you question.
CityEngine Web Scenes do not support layer coloring.
This is a feature of The Scene Editor to visualize which shapes in the viewport belong to which layer.
Looking at the example you provided, I guess you want to color your CGA models by layer.
To achieve this, you can set a layer attribute "layerColor" for each layer,
then make your CGA rules use this value for the color Operation
attr layerColor = "#c0c0c0" Colorize --> color(layerColor)