can set the roof like this?

2554
3
10-09-2013 03:39 AM
xinlongliu
New Contributor II
roof-->
   #roofShed(20)
   #roofGable(rand(20,45),2, 2)
   roofHip(20,1)
   #roofPyramid(30)
  
   setupProjection(0, scope.xy, '0.1, '0.5)
   projectUV(0)
   texture("buildings/Facade/wd0141.tif")
this is my rule.it achieves the effect like this:[ATTACH=CONFIG]28165[/ATTACH].But i want the picture is perpendicular to every roof face.the blue line is the reference.the other png picture is the the effect that i want to achieve.[ATTACH=CONFIG]28166[/ATTACH]
Tags (2)
0 Kudos
3 Replies
by Anonymous User
Not applicable
Original User: matthiasbuehler

Hi !

Please use convexify() ( check CGA docs )

ok ?

m.
0 Kudos
xinlongliu
New Contributor II
Hi !

Please use convexify() ( check CGA docs )

ok ?

m.


Is the CGA docs interpret the CGA grammar?Could tell me where the cga docs is?I didn't find the cga docs in the software or on the Internet.
0 Kudos
by Anonymous User
Not applicable
Original User: matthiasbuehler

hi again,


I meant the GCA shape grammar reference. You find it when you press go to the help ( F1 ) or in Help > Help Contents > CGA Rule Reference.


if you're very new to CityEngine and CGA, please watch the first tutorials ( http://forums.arcgis.com/threads/64843-CityEngine-Collection-RESOURCES-FAQ-HELP )

Ok ?

Matt
0 Kudos