|
POST
|
Hi, No, that is not possible since the 'tree structure' is created based during the model generation. Mainly, the 'Model Hierarchy' and the material merging settings in the export settings define that behavior. The shape group option basically adds transformation nodes to group the objects accordingly. Ok ? M.
... View more
08-27-2013
12:35 AM
|
0
|
0
|
4762
|
|
POST
|
Hi, Yes, if you align a shape to the terrain, only the vertices are considered, since the vertices define the polygon. If you need the shape to adapt more precisely to the hill, you need to subdivide the shape more, to produce more vertices. Also, pay attention that you don't work with too detailed shapes. Your shape geometry seems to have a LOT of points. Maybe reduce the precision on those. If you do not care about the topology in the end of the textured Model, what you could do is use 2 CGA rules : 1] 1 rule for the texturing itself, as you already have it. 2] 1 rule which only subdivides your BIG shape into smaller bits in X and Z, just as a preprocess. With this code : attr dim = 10
Cutter -->
split(x, noAdjust) {~dim : split(z) {~dim : Cut. }* }* This code only cuts the shape in little quadrangles. Use the Right-Mouse-Button to convert this grid back to a shape. Align then that new shape to the terrain and assign rule 1] for the texturing. Hope this makes sense.
... View more
08-26-2013
06:19 AM
|
0
|
6
|
8132
|
|
POST
|
Hi, yes I am .. 🙂 Can you rephrase this a bit ? 🙂 Is it possible to for a shape to the the child of another shape? m.
... View more
08-26-2013
06:10 AM
|
0
|
0
|
4762
|
|
POST
|
Hi ! Before starting to code CGA, watch the tutorial videos. Esp. tutos 1,2,6. Watch also the stuff you find in the FAQ thread : http://forums.arcgis.com/threads/64843-CityEngine-Collection-RESOURCES-FAQ-HELP Ok ? m.
... View more
08-26-2013
06:07 AM
|
0
|
0
|
1481
|
|
POST
|
Hi, This is possible, yes. Have a precise look at the comp() operation and specifically to the comp.index and comp.sel. Also, check the string functions in the CGA docs to help finding the correct texture name via CGA. Ok ? Matt
... View more
08-26-2013
06:04 AM
|
0
|
0
|
625
|
|
POST
|
Hi Helen, Here's the answer from the developer : Let me know if this helps. Dear Helen, Cityengine comes with its own version of Java. Try adding java.exe from Cityengine/jre/bin to that whitelist. Then, depending on what mechanism your department uses, you might have to add all the dlls in the Cityengine/plugins/<xxx> directories as well. Your administrator should know more about that though. Cheers
... View more
08-26-2013
12:33 AM
|
0
|
0
|
2856
|
|
POST
|
Hi Yvette, I'm pretty sure you have duplicated shapes somewhere. E.g. A -->
B.
C. Track your code down where you create such copies .. Let me know if it's not clear how .. Matt
... View more
08-23-2013
05:04 AM
|
0
|
0
|
3441
|
|
POST
|
Hi, sure ! 🙂 here's the example : http://resources.arcgis.com/en/communities/city-engine/01w90000000r000000.htm#s=0&n=30&d=1&md=cte-ce-version:10_cte-architectural-style:00001_cte-resource-type:0000001000 download the 'Example Instance City 2012'. i() inserts an asset in the current scope. basically that way, you create instances of assets in CityEngine. this example shows how instead of modeling all buildings procedurally, you can also use premodeled buildings and insert them according to their best-fitting ratio or size in the scope of a shape. the same methodology is used to e.g. distribute trees on point marker shapes. maybe start with the following code on 1 shape : ( copy 1 obj file in the assets folder .. ) buildingAsset = "assets/skyscraper_1.obj"
Lot -->
alignScopeToAxes(y)
s(0,0,0)
i(buildingAsset)
Building. let me know if there's more questions, ok ? have fun ! Matt
... View more
08-23-2013
04:55 AM
|
0
|
0
|
1481
|
|
POST
|
Hi, Texturing does not change the geometry. Your specific issue is that you need to align the terrain back to the shapes. check the CE manual on : - align shapes to terrain - align terrain to shapes ok ? m.
... View more
08-23-2013
04:01 AM
|
0
|
0
|
8132
|
|
POST
|
Hi, 1] The default behavior if you import line features is that CE creates (dynamic) streets. 2] You can only assign rules to shapes, not street graphs. CGA only works on shapes. So importing street center lines is basically a process to create shapes, for later use with CGA. 3] CityEngine 2013 will have a functionality to snap the street width to the neighboring footprints, so exactly the thing you need. But note that static shapes ( imported ones ) are not interacting with dynamic shapes ( streets, blocks, ..). So the area will not be filled, only the street will be made wider, but stay with mainly 'rectangular form'. ok ? m.
... View more
08-23-2013
03:51 AM
|
0
|
0
|
1054
|
|
POST
|
Hi ! Your code works correctly. I tested it with Height = 1. So I assume the issue may be that the attr source is wrongly set. Make sure the attr in the Inspector points to the Object Attr, not the default rule value.. Let me know if this fixes the issue. As said, the code is correct.. Matt
... View more
08-23-2013
03:41 AM
|
0
|
0
|
2077
|
|
POST
|
Hi Yvette, I'm pretty sure the colors do not show correctly because you have duplicate geometries on top of each other. Make sure in all your code you do not have this code structure : A --> B C Because B and C are duplicates of A, so they're on top of each other. The exact same thing would be : Shape --> extrude(10) A. extrude(10) B. And so on. Also, check the 'Inspect Model Mode' together with the 'Model Hierarchy' ( see tutorial 6 video ) to track this down easier. Ok ? Matt
... View more
08-23-2013
03:30 AM
|
0
|
0
|
1613
|
|
POST
|
Hi, BIM is currently not supported in CityEngine. You'll need to export the geometries to .obj or .dae, but of course you'll lose the BIM metadata. We may look into this in future, but not near future. Ok so far ? matt
... View more
08-23-2013
03:25 AM
|
0
|
0
|
1972
|
|
POST
|
Hello Collada .dae files that contain a light point seem to cause CityEngine to exit without warning. This happens whether I'm using the insert command or just clicking on the file in the Navigator window. I'm using CE 2011.2 - is there a list of bug fixes somewhere? Hi Ben, Can you post the asset or PM me your mail address ( so I can get the asset ). I'll then test it in 2012 for you, ok ? There's been many fixes in 2012 which may not be in the change log. Let me know. Matt
... View more
08-23-2013
03:20 AM
|
0
|
0
|
2856
|
|
POST
|
hi, 1] people who are offline also want a documentation 2] that URL is hardcoded in the CityEngine application (.exe) file. So this cannot 'just' be updated. There'll always be a need for a local offline help. but we're currently working on integrating the help into the official Esri documentation management system. this is a gradual process, so this'll take some more time. ok ? m.
... View more
08-22-2013
09:13 AM
|
0
|
0
|
606
|
| 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
|