AnsweredAssumed Answered

Using satellite imagery as roof textures

Question asked by raist89 on Oct 20, 2015
Latest reply on Oct 21, 2015 by raist89

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?

Outcomes