Hi,
I was looking in the help section of city engine and I found something about this.
In the "setupProjection operation" we can see this code:
attr buildingheight= 20
Lot-->
set(trim.vertical, false)
extrude(buildingheight)
comp(f){top : Roof | side : Facade}
Roof-->
setupProjection(0, world.xz, 586, 442)
projectUV(0)
scaleUV(0, 1, -1)
set(material.colormap, "test_0102_ortho.jpg")
I have used it but i can´t assign the texture of the ortophoto to my roofs...
This code is for the version 2009. How can i do it? Should i use another code?
Solved! Go to Solution.
Ok this is the solution that have worked for me
you should move this post to City Engine CityEngine
you have posted in the place where people come to find out about the GeoNet contest... perhaps there is some overlap, but I suspect moving there will produce more answers.
Sorry, I have moved it now.
This is what works for me:
Roof-->
setupProjection(0, world.xz, 586, 442)
projectUV(0)
texture("test_0102_ortho.jpg")
Ok this is the solution that have worked for me