|
POST
|
First .. What controls do you need ? What elements you want to have on your streets ? Number of Left Lanes / Right Lanes ? Median on/off ? ..
... View more
02-01-2013
04:05 AM
|
0
|
0
|
3835
|
|
POST
|
Made this new sticky thread with the answer : http://forums.arcgis.com/threads/76669-Shapes-VS.-Models-VS.-MultiPatch Cheers !
... View more
02-01-2013
04:02 AM
|
0
|
0
|
1271
|
|
POST
|
Hi ! It is still a little confusing to some people to distinguish between Shapes, Models and MultiPatches, when working with CityEngine. Fundamentals in CityEngine : ------------------------------ 1 Shape + 1 Rule File --> Generate --> 1 Model That means that the RESULT of the work in CityEngine is always supposed to be a Model. So the so-called 'Static Models' are already the Result and thus have no slots for rule file and start rule in the Inspector. [Note that Shapes can be textured.] Now in the GIS world, 3d geometries are represented and stored as MultiPatches, so there's no distinction between Shapes or Models. MultiPatch IMPORT into CE : ------------------------------ If a MultiPatch is imported into a CE scene via gdb, Shapes are created. MultiPatch EXPORT out of CE : -------------------------------- Premiss : A Model can only be generated, if a valid rule file and start rule is assigned. If either the rule file contains errors, the start rule is undefined or for other such reasons, a Model can not be generated from the Shape and you'll get a CGA warning during Generation. So when a Model, which can successfully be generated, is exported to a gdb, a MultiPatch feature class is written or updated in that gdb. But what happens at the export, when for one of the above reasons, a Model can not be generated ? Have a look in the exporter's General Settings, under 'Exported Content' : Default : 'Export models if generatabla, else export shapes' Other options : 'Export generatable models' and 'Export shapes only' So what happens by default is that if no Model can actually be generated, the Shape is exported instead as if it were the Model. So how can I just create a Model from a Shape without altering it otherwise ? By just using a very simple CGA rule with the code : Shape -->
Shape. This basically just copies the incoming geometry of the shape (plus textures, if existing) into the final Model geometry. So what we learn from this is that there's a very important distinction between exporting Shapes and exporting Models. Rendering of Shapes and Models in the 3d viewport : ------------------------------------------------------ Shapes and Models are rendered (= 'displayed') differently in CityEngine's 3d viewport. Shapes are always rendered with little grey wireframe lines, independent of whether the viewport is displayed with wireframes ( toggle by 7 key ) or not. Use F11 and F12 to toggle the visibility of Shapes and Models individually. Terminology of Shape Editing Tools ( such as the 'Polygonal Shape Creation Tool' ) : ----------------------------------------------------------------------------------- Since MultiPatches are just a term used in the GIS world and 'MultiPatch' does not actually exist in CityEngine terminology, many people use the term 'MultiPatch Editor' instead of 'Polygonal Shape Creation Tool'. That's not per se a 'wrong term', just a little misused in the context, since all the tool does is edit 'Shapes' within CityEngine. Hope I did some 'de-inclarification' here. 😮 Cheers ! Matt
... View more
02-01-2013
03:58 AM
|
0
|
4
|
5623
|
|
POST
|
Hi ! In the CityEngine.ini file which you find in the program's directory, edit the line -Xmx2048M to a bigger value .. e.g. -Xmx4096M ( does not have to be a power of 2 value ) This will increase the RAM amount which is reserved for the Java side of CityEngine. Note this RAM is locked for CE only and cannot be accessed by other applications or OS. This is a Java thing. So play with this very carefully. Cheers ! Matt
... View more
02-01-2013
03:03 AM
|
0
|
0
|
6675
|
|
POST
|
Hi ! I cannot access that file .. strange. Can you post the file again, maybe as zip or just in a plain text quote ?
... View more
02-01-2013
01:01 AM
|
0
|
0
|
4056
|
|
POST
|
Hi ! Calling or referencing styles is currently not possible. If you find out how it works .. Let me know .. 🙂 So atm, you best map the 'building style' with a map and then define each attr value by a function, e.g. anything in this direction : myValues(key) =
case myMappedStyle == "residential" :
case key == "height" : 6
case key == "facade texture" : "res_1.jpg"
..
... View more
01-31-2013
07:34 AM
|
0
|
0
|
1360
|
|
POST
|
Hi ! Your name is even too long for copy-paste .. 😮 Well, since the 'scope' in CGA is always rectangular, splits are always created rectangular, so a few tricks would need to be considered. One question first: Will your geometries otherwise be altered afterwards ? Do the geometries have to be clean and watertight ? Or is something which just looks as your example already ok ? Let me know .. Matt
... View more
01-31-2013
07:29 AM
|
0
|
0
|
5181
|
|
POST
|
Hi ! If you have edited Vehicle() in your code, cars will be rotated because that drives their orientation. I know editing somebody else's code, especially if it's that complex.. It seems the code was not created to support all possible scenarios. For this example, I guess I cannot just quickly fix it either. Maybe you'd be interested in starting a new rule which does what you want ? I could help you a little with it and you'd learn a lot about CGA ! 🙂 [I usually start fresh if other people's code is too complex for me to understand.] Let me know .. Matt
... View more
01-31-2013
07:22 AM
|
0
|
0
|
3835
|
|
POST
|
Ok, Thanks for those detailed inputs. There's multiple ways in CE to deal with those types of project specific target inputs.. but none of them will actually create the final result for you. 🙂 I've also been working on ideas which deal with 'reaching' a specific FAR on a parcel, but one of the major issues is that no computer and no software is able to automatically produce 'good designs', neither in urban layouts and nor as generic footprints. They can help you, but in the end you want to have control over the design. I usually tell people : CityEngine is good at creating statistics from models. But creating models from statistics is impossible because the computer would have to design for you. That'd be bad. 😮 I guess it'd be better to explain some things on a specific project .. There's so many different approaches possible. m.
... View more
01-31-2013
07:13 AM
|
0
|
0
|
4705
|
|
POST
|
Hi ! Sadly, the piping feature has not yet been implemented. You still would have to use the 'hack solution' by misusing the 'Dynamic City Layouts System'. That way, fast visualizations can be made, but it will not satisfy an engineer.. 😞
... View more
01-31-2013
06:40 AM
|
0
|
1
|
1752
|
|
POST
|
Hi ! Play with the misc options in the exporter. They do what you want during the export. It is intended in the CE workflow that if your data is georeferenced you keep it so until you export to an app which cannot deal with that nicely, such as Maya. If you prefer, you can also move the .osm data to the cartesian origin with the move tool. Use the entry field in the toolbar to enter the precise values. Separate the xyz values by spaces, then press return to move the data. Let me know if you need more inputs ! Matt
... View more
01-31-2013
06:26 AM
|
0
|
0
|
576
|
|
POST
|
Hi ! Do you have a NVIDIA or AMD/ATI graphics card ? Because native Intel graphics cards are not supported. If you start CE, where does it hang ? It could also be that CE tries to connect to ArcGIS Online. This thread may help you : http://forums.arcgis.com/threads/68004-Trouble-starting-version-2012
... View more
01-31-2013
06:16 AM
|
0
|
0
|
670
|
|
POST
|
Hi ! Importing a zipped archive project via the 'import archive' unzips the file and copies the content (the actual project) in the currently active workspace. Doing this for multiple projects should do the same for each zip file. Can you maybe show a few screenshots with each step and what happens ? Let me know ... M.
... View more
01-31-2013
05:44 AM
|
0
|
0
|
604
|
|
POST
|
Matthias, When I try importing data from a file geodatabase I am seeing a window that does not look like the one in the manual. It is missing the section where you can decide what comes over in the process. File Geodatabase Import window (File-->Import) [ATTACH=CONFIG]21069[/ATTACH] CE Manual - Importing data from a file geodatabase [ATTACH=CONFIG]21070[/ATTACH] It allows the user to import the data, but there is nothing displayed in the Viewport and attributes are stripped off of the layers. As a test, I took one of the FGDB layers, created a shapefile out of it, and tried to import that. It worked but you could only view the layer from underneath the polygons in the Viewport. Dragging and dropping the file geodatabase folder from Windows Explorer to the Viewport opens up the File Geodatabase Import window with all of the functionality. The resulting shapes and graphs have all of their attribution but they are still invisible in the Viewport until a rule is applied to them. Hi Jace .. Is it possible you can send me a gdb with non-sensitive dummy content with which I can use to reproduce the issue here ? I remember that a person has reported an issue that the gdb importer GUI does not adapt if there's a big bunch of feature classes in there, but I'm not sure if that'd be the only issue. If I had data to test, I could also attach it then to the bug ticket. Let me know .. Matt
... View more
01-31-2013
03:59 AM
|
0
|
0
|
3460
|
| 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
|