CityEngine - *.obj file - problem

2752
3
10-04-2015 05:10 AM
SchSch
by
New Contributor II

Hi,

I would like to place a Window.obj element onto the wall of the building. (or another any *.obj geometry from asset folder)

If I put it into the appropriate place and thereafter I would like to transform it, adjust the size, etc., also to use the s(), t(), r() operations, the wall's attributes will change as well, empty space is created on it, so not only the element's attributes is changing, but also the background's attributes, too.

What can I do in this case, what's the problem?

(see the problem and the easy example CGA codes with fictitious data in the link)

Thanks a lot for every answers!

BR

Aletta

0 Kudos
3 Replies
JawadhHabeeb1
Occasional Contributor

Hi,

I still dint get what you meant by element's attributes is changing, but also the background's attributes.

0 Kudos
LR
by
Occasional Contributor III

Inserting doesn't put an object onto the wall, it replaces that bit of wall.

JawadhHabeeb1
Occasional Contributor

i think its because of your code ...

try this :

window -->

color("#00ff00")

i("window_asset")

t(0,0,0)

0 Kudos