Create shape

704
4
Jump to solution
09-17-2013 10:10 PM
LenaKryukova
New Contributor
Hello please help to create a shape using CGA Grammar, it is trapezoid form balcony. Sorry for the picture. [ATTACH=CONFIG]27528[/ATTACH]
0 Kudos
1 Solution

Accepted Solutions
MatthiasBuehler1
Frequent Contributor
with .obj assets, the .mtl file is also needed, because it stores the actual texture reference per material in your asset.

so if you only copy the .obj file, the texture cannot be displayed, even if it's sitting there.

=> check out the .mtl files.

note that you can preview .obj assets in the Navigator within CityEngine ( check Help ). If the texture is shown there, the .mtl is ok. If it shows an 'unknown texture' standin texture, most probably the texture paths in the .mtl are slightly wrong.

(open a .mtl in a text editor to edit paths )

Ok ?

m.

View solution in original post

0 Kudos
4 Replies
MatthiasBuehler1
Frequent Contributor
Hi !


It's easier to work with an asset in this specific form. Not everything needs to be modeled procedurally in CityEngine.

Check out tutorial 7 (video & link to actual tutorial files):
http://video.arcgis.com/watch/1775/tutorial-7-facade-modeling

It's best that such assets are modeled with the +Z axis being 'in front'. Use e.g. SketchUp or Maya or Max to model such assets.

Let me know if you need more details !

Matt
0 Kudos
LenaKryukova
New Contributor
Hi !


It's easier to work with an asset in this specific form. Not everything needs to be modeled procedurally in CityEngine.

Check out tutorial 7 (video & link to actual tutorial files):
http://video.arcgis.com/watch/1775/tutorial-7-facade-modeling

It's best that such assets are modeled with the +Z axis being 'in front'. Use e.g. SketchUp or Maya or Max to model such assets.

Let me know if you need more details !

Matt


Thank you very much, I had one more question. When you create a model obj texture is sometimes lost, please tell me how to install the code in the examples described, but can not figure out what line of code is responsible for this.
0 Kudos
MatthiasBuehler1
Frequent Contributor
with .obj assets, the .mtl file is also needed, because it stores the actual texture reference per material in your asset.

so if you only copy the .obj file, the texture cannot be displayed, even if it's sitting there.

=> check out the .mtl files.

note that you can preview .obj assets in the Navigator within CityEngine ( check Help ). If the texture is shown there, the .mtl is ok. If it shows an 'unknown texture' standin texture, most probably the texture paths in the .mtl are slightly wrong.

(open a .mtl in a text editor to edit paths )

Ok ?

m.
0 Kudos
LenaKryukova
New Contributor
with .obj assets, the .mtl file is also needed, because it stores the actual texture reference per material in your asset.

so if you only copy the .obj file, the texture cannot be displayed, even if it's sitting there.

=> check out the .mtl files.

note that you can preview .obj assets in the Navigator within CityEngine ( check Help ). If the texture is shown there, the .mtl is ok. If it shows an 'unknown texture' standin texture, most probably the texture paths in the .mtl are slightly wrong.

(open a .mtl in a text editor to edit paths )

Ok ?

m.



ok! thank you very much:)
0 Kudos