Flickering colours

Discussion created by csteeresriuk-esridist Employee on Dec 16, 2013
Latest reply on Dec 17, 2013 by MBuehler-esristaff
Hi there,

I'm currently trying to recreate something similar to the Esri Campus ( http://www.arcgis.com/home/item.html?id=9c0e319bfaff4d33a0fe2da97c2c3fd7). I am currently using CGA to colour the floor by the room usage however when I do, the colour flickers in both CityEngine itself and in a web scene. Is this my graphics card suffering or is there a way around this in order to create solid colour?


This is the code:
attr orange = "#ffc04c"
attr grey = "#dadae3"
attr blue = "#00c6bd"
attr beige = "#f5f5dc"
attr green = "#7aa37a"
attr Type = ""

Lot -->

case Type == "Lift":  color(blue)
case Type == "Bathroom" : color(orange)
case Type == "Meeting Room" : color(beige)
case Type == "Storage" : color (green)
else : color(grey)