AnsweredAssumed Answered

How the colors are given to buildings in CityEngine?

Question asked by mansimittal on Jul 13, 2016
Latest reply on Jul 13, 2016 by mansimittal

I am new to City Engine and using trial version 2011.2.I want to know how the colors are given to buildings?pic.png

Cga rule file for buildings I have written is :-

*/

 

version "2011.2"

 

attr BUILD_HEIGHT=0

attr Mass_Color = "#ffaa33"

attr opacityvalue=0.6

@StartRule

Lot-->

   extrude(BUILD_HEIGHT)

   color(Mass_Color)

   set(material.opacity,opacityvalue)

Is there something I am doing wrong or missing ?

Outcomes