|
POST
|
Hi Daniel, Can it be that you have your PMs deactivated ? I tried sending you one, then got an error. Let me know, otherwise, I'll try to help here. Matt
... View more
06-25-2012
08:23 AM
|
0
|
0
|
1115
|
|
POST
|
Hi, Sorry for the late reply. CityEngine has no settings for the units. By default, CGA assumes your units are in meters, thus, if your dataset is in inches or feet, you need to adapt the attribute values in CGA by adding a correctional factor in the code. Sadly, we do not yet have a global scale in the Exporter, but I'll try to address this issue again in the team.
... View more
06-25-2012
08:18 AM
|
0
|
0
|
4664
|
|
POST
|
hello crazy lady ! please send me a PM with the details (name, version, ..) I'll take it from there.. m.
... View more
06-19-2012
03:14 AM
|
0
|
0
|
1720
|
|
POST
|
Hi .. 1] 0.0039 makes absolutely sense if the unit 'feet/inches' are used somewhere. 2.54 cm = 1 inch -> 1/2.54 = 0.3937 2] read this thread carefully and check in CityEngine, if your projection is using feet. http://forums.arcgis.com/threads/59442-FBX-export-%28models%29-to-3DSMAX let me know how it goes ..
... View more
06-15-2012
09:07 AM
|
0
|
0
|
4664
|
|
POST
|
hi ! Lot --> extrude(10) comp(f) {side : Bevel} Bevel --> roofGable(50,0,0,true) # use the vertical edge = rotate roof // angle must be larger than 45 degs because of following comp(f) split(y){0.005: comp(f) {top : color(1,0,0) X. | all : X.} | ~1 : NIL}
... View more
06-15-2012
04:58 AM
|
0
|
0
|
2542
|
|
POST
|
hi ! interesting project. if you have placed your terrain manually ( which I usually think IS precise enough ! ) and then want to use the same terrain 'extent' ( size and offset ) for use in CGA for texturing purpose, use the following code and enter your specific terrain values : you can use it of course for texturing roofs or e.g. Streets, .. a note on the code : An other user of this forum found that using a projection with world.xz produces OpenGL texture flickering with geolocated scenes because of the high UV-coordinates. this version here keeps the UVs in the 'zero-to-one-space', thus without flickering.
satellitePic = "data/basemap/Philly_basemap3.tif"
xS = 1519.035
zS = 1411.032
xO = 819715.793
zO = -73249.384
xWorld = convert(x, scope, world, pos, 0, 0, 0)
zWorld = convert(z, scope, world, pos, 0, 0, 0)
Lot -->
alignScopeToAxes()
setupProjection(0, scope.xz, xS, -zS, -(xWorld - xO) , -( zWorld - zO) )
projectUV(0)
texture(satellitePic)
Shape.
a tip would also be to use the 'dirtMap' channel ( UV set 2 ) and an adapted satellite picture (photoshopped to a brighter version), which then is multiplied over the standard color channel of e.g. the standard roof texturing. that way, you can add some 'realworld details' onto otherwise (too) simply textured models. please note that using multiple UV networks in your materials, you need to be able to port that information to softimage. the standard export formats such as 3ds or obj do NOT support this ( BASIC version ! ). thus, you may need to set this up in softimage afterwards, if you need this behavior. but if you use just an altered version of your satellite picture to texture (just using UV set 0) e.g. the roofs, you will be fine of course. btw : cool demo reels you have on your site ! nice work !
... View more
06-14-2012
02:23 AM
|
0
|
0
|
1030
|
|
POST
|
hi ! to start very easily, I created this mini tutorial .. did you already see this ? http://forums.arcgis.com/threads/53008-GIS-Data-Mini-Tutorial-Building-Height-and-Floor-Splits * * * the basic data you can use from shape files / gdb are : - shapes (polygon features) - street center lines (line features) - markers (point features) those can be attributed, so you can access access those values for use with CGA rules. additionally, you then can use 'assets', which can be either textures (e.g. facade pictures), 3d objects (e.g. trees, windows, cars, ..) to create a large visual variety.
... View more
06-12-2012
01:20 AM
|
0
|
0
|
1287
|
|
POST
|
I knew that question would come .. but sadly I cannot promise anything and share more at the moment.
... View more
06-12-2012
01:04 AM
|
0
|
0
|
1280
|
|
POST
|
hi .. no, the attribute is just an object attribute, thus it needs no path. it's linked to the shape. name correct ? no syntax error ? no space at the end or similar ? did you select the shape while running the script ? if the selection is empty, nothing is done ..
... View more
06-07-2012
01:59 AM
|
0
|
0
|
2467
|
|
POST
|
for me it's working too, in 2010.3, without edits. are you using all forward slashes in the file paths ? ( '/') sorry, but it seems you really have to track it down line by line.. it works fine here, so it must something small. maybe add a screenshot, where I can see ALL the details too, ok ?
... View more
06-06-2012
07:02 AM
|
0
|
0
|
2469
|
|
POST
|
it works fine here .. the try commenting out some things and print the type of buildingID : buildingID = int (ce.getAttribute(shape, 'buildingID')) print type(buildingID) I am not sure if this is really the issue. what version of CityEngine are you using ?
... View more
06-06-2012
06:17 AM
|
0
|
0
|
2469
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 12-06-2012 08:40 AM | |
| 1 | 09-30-2013 08:33 AM | |
| 1 | 08-07-2013 04:45 AM | |
| 1 | 10-15-2012 02:19 AM | |
| 1 | 01-30-2014 12:09 AM |
| Online Status |
Offline
|
| Date Last Visited |
11-11-2020
02:24 AM
|