|
POST
|
Hello Javad Salimi Thank you for your question. You can use the Python script below to align selected floor shapes of a building to a terrain. First specify the ce.alignShapes() parameters as documented here: Align function Heightmap Offset from scripting import *
# get a CityEngine instance
ce = CE()
# align shapes parameters
alignFunction = AlignShapesSettings.TRANSLATE_TO_MIN
heightmapName = 'Terrain_Satellite'
groundOffset = 0.0
# selected floor shapes
floors = ce.getObjectsFrom(ce.selection())
# get initial heights
initialFloorHeight = []
for f in floors:
vertices = ce.getVertices(f)
initialFloorHeight.append(min(vertices[1::3]))
initialGroundFloorHeight = min(initialFloorHeight)
# align floor shapes to ground
settings = AlignShapesSettings()
settings.setHeightmap(heightmapName)
settings.setAlignFunction(alignFunction)
for i in xrange(0,len(floors)):
settings.setOffset(groundOffset + initialFloorHeight - initialGroundFloorHeight)
ce.alignShapes(floors, settings)
... View more
06-24-2016
08:53 AM
|
2
|
0
|
671
|
|
POST
|
Hello Stefano, Thanks for the post. Your report has been forwarded to the admins of the download site. There are also other customers reporting the same issue. I'll update this threat when the issue is resolved.
... View more
06-24-2016
07:32 AM
|
1
|
4
|
1685
|
|
POST
|
Hello Chen Hangyu, thank you for your question. Shadows and Ambient occlusion are not available on older graphics cards. If you use graphics hardware that is in CityEngine 2015 system requirements—Esri CityEngine | ArcGIS for Desktop , these options are always available.
... View more
06-14-2016
07:59 AM
|
0
|
0
|
769
|
|
POST
|
Black polygons can also be caused by wrong faces normals. Have you checked that the normals are set correct? Select a black polygon face and try Shapes > Reverse Normals. This operation reverses the normals (i.e., the orientation) of all selected faces. This step is often necessary after importing shapes with reversed orientation.
... View more
05-31-2016
05:49 AM
|
0
|
1
|
2115
|
|
POST
|
Hello Reit Sined One hour to open CityEngine is extravagant, indeed. When starting CityEngine the last scene is opened automatically. May I ask, which part of opening takes so long? Is there any progress bar or status message? Which version of CityEngine are you using? Does the startup time change, when opening an empty scene and restarting CityEngine? In case it is a certain scene that takes so long to load, is there anything special about it? Is there a particularly big street network? Your feedback on this matter is very much appreciated.
... View more
05-31-2016
12:53 AM
|
0
|
0
|
504
|
|
POST
|
Hello Jugal, Thank you for the report. So far, I have never seen reports of such an artifact pattern. There seems to be an issue with textures rendered black in certain areas. Does this happen all the time, or only occasionally? Does it help to change the panorama image? (Edit > Edit Panorama > Environment Map) What is your graphic card driver version? What are your settings for the Procedural Runtime? (Edit > Preferences > General > Procedural Runtime)
... View more
05-30-2016
08:25 AM
|
0
|
1
|
1110
|
|
POST
|
Hello Renato, Thank you for your reply. This threat provides a way of doing a simple flyover animation with CityEngine. But CityEngine is not intended to be a standalone solution for animation. I am sorry, if you got the impression this would be the case. Instead, the development team is working closely with key customers in the VFX industry to meet their production needs. Today CityEngine provides a wide range of 3D model export formats, and there are continuous efforts to support the latest standards. This includes support for animation software workflows like: Autodesk 3DS MAX and Maya: Autodesk FBX Export Pixar Renderman: Renderman RIB Export ... and others
... View more
05-30-2016
08:09 AM
|
0
|
0
|
586
|
|
POST
|
Hello Marta, One reason could be, that you are using the BASIC version of CityEngine. Python scripting is only included in the ADVANCED version. Please refer CityEngine the feature list: Esri CityEngine | Features
... View more
05-30-2016
06:30 AM
|
1
|
0
|
444
|
|
POST
|
Hi Dave The "Generate Bridges" option sets the height depended on the attribute 'height' (if present). This is mainly thought to be used with 2D data that has some segments (like bridges) with height information. Maybe this is the cause of your strange results?
... View more
05-23-2016
12:14 PM
|
0
|
1
|
1749
|
|
POST
|
Hello Scott, I think it would worth trying a newer version of CityEngine like 2015.2 first and check if the problem is sill present.
... View more
05-23-2016
12:42 AM
|
0
|
2
|
2115
|
|
POST
|
Hello Thomas, you can use the CityEngine Python Scripting Interface to automatically export to small patches of your scene. The code example below creates 4 patches and should be a good starting point: def checkInside(shape,xMin,xMax,zMin,zMax):
vert = ce.getVertices(shape)
for i in xrange(2,len(vert),3):
if (xMin <= vert[i-2] <= xMax) & (zMin <= vert <= zMax):
return True
return False
def exportPatch(shapes,xMin,xMax,zMin,zMax):
exportSettings = FBXExportModelSettings()
exportSettings.setBaseName("fbx_batchexport_"+str(xMin)+"_"+str(zMin))
exportShapes = []
for shape in shapes:
if checkInside(shape,xMin,xMax,zMin,zMax):
exportShapes.extend([shape])
if len(exportShapes):
ce.export(exportShapes, exportSettings)
def iterate():
shapes = ce.getObjectsFrom(ce.scene(),ce.isShape)
patchSize = 256
xMin = 0
xMax = 512
zMin = 0
zMax = 512
for x in xrange(xMin,xMax,patchSize):
for z in xrange(zMin,zMax,patchSize):
exportPatch(shapes,x,x+patchSize,z,z+patchSize)
... View more
04-26-2016
08:51 AM
|
1
|
1
|
711
|
|
POST
|
Hi Tobias, I'm sorry, but there is no way to open a CGA rule file generated by the facade wizard in the facade wizard again. The CGA file alone does not contain all the information needed. Please immediately review and correct the CGA after export while the facade wizard is still open.
... View more
04-26-2016
07:00 AM
|
0
|
0
|
676
|
|
POST
|
Hello Scott, Thank you for your report. Can you please give more detail on the version of CityEngine and the coordinate system you used for your scene? Exporting a street network as multipatch should be no different to a export of any other geometry. For graph networks there is also the option to export it to FGDB as a plolyline.
... View more
04-18-2016
03:05 AM
|
0
|
0
|
381
|
|
POST
|
Hi ZR, this is a trade off between two bottlenecks: reading files from disk decompressing the files on the CPU The answer depends on your hardware and compression method. I would recommend to use standard compression to reduce the file size. After reading the textures they are sent to the GPU via the Open GL interface. For CityEngine's procedural runtime 'GL Texture Compression' is enabled by default, what should give best GPU performance. Texture compression is provided by the driver and is independent of the original image format.
... View more
04-11-2016
03:01 AM
|
1
|
0
|
534
|
|
POST
|
You can find additional information on urban planning in CityEngine Tutorial 16: Tutorial 16: Urban planning—CityEngine Tutorials | ArcGIS for Desktop
... View more
04-06-2016
02:40 AM
|
0
|
1
|
1094
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 10-15-2025 08:03 AM | |
| 1 | 10-16-2025 03:16 AM | |
| 3 | 10-20-2025 06:11 AM | |
| 1 | 04-19-2023 12:30 AM | |
| 1 | 02-27-2025 05:19 AM |
| Online Status |
Offline
|
| Date Last Visited |
17 hours ago
|