|
POST
|
Hmm. now I'm not sure if I understood you correct in the first place. Can you post a screenshot of where you're missing the function ? Let me know .. Matt
... View more
06-06-2014
03:19 AM
|
0
|
0
|
1364
|
|
POST
|
How do you mean 'upload to CityEngine' ? Put in a WebScene (online) or open in CityEngine ? 🙂
... View more
06-05-2014
08:59 AM
|
0
|
0
|
1506
|
|
POST
|
See attached pdf. Note that CE 2014 can be installed in parallel to previous versions. Matt
... View more
06-05-2014
07:25 AM
|
0
|
0
|
2576
|
|
POST
|
Not really .. there's only this, but I don't suppose this makes you happy, because you need to copy the code.
Shape -->
A2$Continue // note the $
style A1
attr height = 5
attr col = 0
Continue -->
extrude(height)
color(col, col, col)
style A2
attr height = 50
attr col = .5
Continue -->
extrude(height)
color(col, col, col) Matt
... View more
05-30-2014
09:12 AM
|
0
|
0
|
964
|
|
POST
|
ah shit. yes, sorry, I meant '~'.. (fixed it in the above post) it's really best to play with this and not try to analyze the most complex examples in the beginning .. 😉 m.
... View more
05-30-2014
08:45 AM
|
0
|
0
|
1214
|
|
POST
|
Hi .. I assume you are using CE2013 ? --> it may be that the tutorial states this feature and we did not remove it in the 2013 version of the tutorials. actually, due to the complete rework of CE 2013 ( to implement the CityEngine SDK ), this feature had to be skipped for time reasons. we're right now reimplementing it. sorry for the inconvenience .. matt
... View more
05-28-2014
10:45 AM
|
0
|
0
|
1364
|
|
POST
|
Yes, it it complex to start .. Sadly, I don't have time to teach you all the rules, but what's best is to stop the rule execution with '.' at every point you want. Like this, you can step through the code and check if you understand it. If you have the code A -->
B
B -->
C and you don't know how this goes, just put a point like: A -->
B.
B -->
C this then stops after B. It's best learning writing rules yourself by typing the code yourself. There I can help you better with short, concise questions, that are short to answer. Ok ? Good luck and let me know how it goes. Feel free to post (SHORT, up to 10 lines) code snippets here, if you have questions. matt
... View more
05-28-2014
06:54 AM
|
0
|
0
|
894
|
|
POST
|
Hi, I wished for this also before. But the way you imagine it to work sadly does not work. You can call styles, but then, you need to have that CGA code within the style definition, which is very clumsy and unintuitive. I gave it up. m.
... View more
05-28-2014
06:48 AM
|
0
|
0
|
964
|
|
POST
|
Hi, I'm sorry, but I have no clue in which direction this question goes. GIS is a complex field with many data types ( not just 3 ), so please state the question very concise .. matt
... View more
05-28-2014
06:39 AM
|
0
|
0
|
1013
|
|
POST
|
hi .. try roofGable(30)
comp(f){ bottom: NIL | all:
alignScopeToGeometry(yUp, any, world.lowest)
split ...
}
this should give you an aligned scope to place the elements
... View more
05-28-2014
06:32 AM
|
0
|
0
|
778
|
|
POST
|
first, you need to do setupProjection(), then projectUV(). I see you have reversed this at some point. btw. please try to post only minimal code about the actual issue, the full code blurs the problem a bit .. 🙂 m.
... View more
05-28-2014
06:19 AM
|
0
|
0
|
940
|
|
POST
|
Hi Amiri, The rules are too complex to 'quickly explain' .. Did you work through all the tutorials yet to grasp the basic concepts of CityEngine ? Please let me know .. Matt
... View more
05-26-2014
03:59 AM
|
0
|
0
|
894
|
|
POST
|
Hey Chris, Why do you distinguish between "case comp.index == 1 and 0" ? m.
... View more
05-26-2014
03:57 AM
|
0
|
0
|
1572
|
|
POST
|
Hi, You did not pick an easy example. 🙂 The split() is the most advanced and important operation. It's very powerful and thus does some very complex things internally. Simplest for you to understand is that it tries to evaluate even out multiple options for potential splits and then chooses the version that creates the least 'stretching'. Just get familiar with ', ~ and * for the beginning. If that is clear, then you have already 95% of all you even want to code handled. Ok ? Matt
... View more
05-26-2014
03:54 AM
|
0
|
0
|
1214
|
| 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
|