|
POST
|
hi .. this workflow should not be a problem. you should easily be able to import a cube or similar polygonal mesh via obj. did you try importing into the obj into an empty scene ? I just tested the preview of a MAX-generated obj file, so the workflow should just work fine .. btw. I created tutorial 13 .. Matt
... View more
05-07-2014
06:18 AM
|
0
|
0
|
2887
|
|
POST
|
Hi, this thread is just a relict of the old procedural forum, it's inactive. generate crashes are a bad thing.. can you try to: - create a new project and use the same rule - does it crash there too ? - if you still get a crash: - create a new workspace - delete the '.cityengine' folder in the user account let me know .. matt
... View more
05-07-2014
06:08 AM
|
0
|
0
|
558
|
|
POST
|
hi ! just the zipped building asset (.dae) with the actual textures .. m.
... View more
05-07-2014
06:00 AM
|
0
|
0
|
4241
|
|
POST
|
Window > Show Log Then double click the errors to get the stack trace. Well, OBJ is not a format that is suited to bring over georeferenced data. Maybe tell me which kind of data you need to bring from which tool to which tool .. and for what .. 🙂 Then i can help better .. 🙂 m.
... View more
05-06-2014
08:40 AM
|
0
|
0
|
2887
|
|
POST
|
Hi again, can you post this example with texture that fails to export to WebScene ? This would help us to track the issue down .. Let me know .. matt
... View more
05-06-2014
07:18 AM
|
0
|
0
|
4241
|
|
POST
|
Hi .. use iFrames .. http://forums.arcgis.com/threads/87614-Web-Cameras-Web-Scenes?highlight=iframe ok ? m.
... View more
05-06-2014
07:17 AM
|
0
|
0
|
892
|
|
POST
|
well, that looks ok. what happens if you drag and drop this into a new empty scene ? What are the precise steps you take to try and import the file ? I assume you have a georeferenced scene and try to import via File > Import > .. .. correct ? matt
... View more
05-06-2014
07:14 AM
|
0
|
0
|
2887
|
|
POST
|
Hi ! I just got some feedback from a developer regarding holes and importing them ( Not 100% all of the above was stated correctly by me) To clarify: holes are supported with following input formats: ??? CityEngine 2013.1: gdb ??? CityEngine 2014.0: gdb, shp So if you import footprints with holes into CityEngine 2013.1 we recommend to use the gdb format.
... View more
05-05-2014
08:30 AM
|
0
|
0
|
10839
|
|
POST
|
Hi ! Are the building positions georeferenced ? Did you open the obj in a text editor and check if there's actually infinite values in there ? Check the 'v' lines for their coordinates. Let me know .. Matt
... View more
05-05-2014
08:25 AM
|
0
|
0
|
2887
|
|
POST
|
Hmm. Interesting .. Which version of CE are you using ? Can you post those non-working footprints as e.g. shapeFile or GDB ? Please let me know .. Matt
... View more
05-05-2014
08:24 AM
|
0
|
0
|
6189
|
|
POST
|
Hi ! Which version of CityEngine are you using ? Are you using the latest version of the WebViewer ? ( http://www.arcgis.com/home/item.html?id=38fede3935a440e49cf316dcae6aae47 ) Let me know .. matt
... View more
05-05-2014
08:19 AM
|
0
|
0
|
4241
|
|
POST
|
Cool, thanks for sharing ! And thanks for mentioning me .. 😉 Matt
... View more
05-05-2014
08:14 AM
|
0
|
0
|
1925
|
|
POST
|
Hi, since for this, there's no CGA operation yet, you need to 'hack it' as an approximation. It's not too complex. The idea is that you recursively rotate the scope n times e.g. 2 degrees and each time check the scope dimension. the base is something like:
attr degreeDelta = 2
biggestScope(v1, v2) =
case v1 < v2:
v1
else:
v2
@Hidden
attr minimalScopeDimension = 1000000
Lot -->
alignScopeToAxes(y)
Recursion(90)
Recursion(remainingAngle) -->
case remainingAngle < 0:
print (minimalScopeDimension)
DoneAndContinueWithTheResult.
else:
EvalScope(remainingAngle)
EvalScope(remainingAngle) -->
case biggestScope(scope.sx, scope.sz) < minimalScopeDimension:
set(minimalScopeDimension , biggestScope(scope.sx, scope.sz) )
EvalScope(remainingAngle - degreeDelta )
else:
EvalScope(remainingAngle - degreeDelta )
Did not check this code .. Just scribbled this down. If you can get this working, you'll have to add in the 'best scope rotation' as an other attribute, which you then can set, before you continue to the actual splits. Note that n times, you only evaluate the scope dimension, you never change the geometry. Makes sense ? Note that you may need to set the recursion depth (prefs/general/procedural runtime) to a higher value for preciser results. This stuff is fun to play with !! matt
... View more
05-02-2014
06:39 AM
|
0
|
0
|
3086
|
|
POST
|
I'm not sure if I get the issue. Are you trying to extrude the building up to the allowed height before it exits the envelope that's assigned on the parcel ? What do you mean by 'while the larger transparent one ignores it' ? m.
... View more
05-02-2014
06:25 AM
|
0
|
0
|
4425
|
|
POST
|
hi ! use functions instead, don't write that logic directly in the rules.. e.g. getColor(value) =
case value > 2000:
""#FF0000""
case value > 1000:
"#FF00FF"
else:
"#0000FF" note that this works the same. I used different hex colors here though. note that if the first case is not true, it goes to the next case, and so on,.. then returns the value.
... View more
05-02-2014
03:32 AM
|
0
|
0
|
998
|
| 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
|