|
POST
|
Hi ! The fact that it is shiny shows that CE seems to interpret shininess inverted. 0 and 1 are inverted. But it could also be that the Max Exporter writes that information wrong into the file. Were you able to track this down further ? Matt
... View more
06-12-2013
11:43 AM
|
0
|
0
|
2064
|
|
POST
|
Hi, This can not be said in 1 short sentence. This video is a bit old, but may help you : http://www.youtube.com/watch?v=4RHfUs75jKc Matt
... View more
06-12-2013
11:40 AM
|
0
|
0
|
574
|
|
POST
|
Hi ! Currently, you will need to look at coding this in CGA, there's no way around this at the moment. But theoretically, the approach of the instance City is correct. By inserting e.g. the asset with the best ratio. Just int his example it seems as you mention that the models are scaled. Try using the asset's original scale with s(0,0,0) Let me know. m.
... View more
06-12-2013
11:32 AM
|
0
|
0
|
507
|
|
POST
|
I've never seen that the aliases could be imported. Is that something which may make sense to provide ? M.
... View more
06-12-2013
11:22 AM
|
0
|
0
|
4274
|
|
POST
|
Hi ! Did you get this working ? Did you check the import tutorials ? Let me know .. Matt
... View more
06-12-2013
11:17 AM
|
0
|
0
|
4258
|
|
POST
|
Maybe you could also play with Python scripting to create the series of bookmarks. Matt
... View more
06-12-2013
11:12 AM
|
0
|
0
|
1184
|
|
POST
|
Hey .. Got this working already ? Let me know .. Matt
... View more
06-12-2013
10:54 AM
|
0
|
0
|
1316
|
|
POST
|
Hi Joanne, Were you able to break this down further ? If you have a scene in which you can reproduce this issue systematically, let me know. Kind greetings from Dubai ! Matt
... View more
06-12-2013
10:33 AM
|
0
|
0
|
5425
|
|
POST
|
Hi Joanne, Usually trees are sized with a function alone ( size heuristic ), or driven via a GIS attribute. Thus, in the rule, search something for : s(0,treeSize, 0)
i(treeAsset) Just browse through the vegetation rule, you should find it. Let me know. Matt
... View more
06-12-2013
10:29 AM
|
0
|
0
|
654
|
|
POST
|
Hi ! I've seen this error before, but I guess this is not triggering the wireframe mode. If you play with the 4,5,6 keys, does it go back to standard shaded mode (also, check the viewport display settings, little cogwheel menu) ? Let me know.. Matt
... View more
05-22-2013
05:00 AM
|
0
|
0
|
1142
|
|
POST
|
Hi, In addition to the above post, this is planned, but will take some more time. Cheers ! Matt
... View more
05-22-2013
04:57 AM
|
0
|
0
|
2049
|
|
POST
|
hi, no, to edit those with the polygonal shape creation tool ( as in tutorial 14 ), you need to convert the dynamic shapes first to static shapes. ( right mouse click > convert to static shapes ) m.
... View more
05-16-2013
11:08 AM
|
0
|
0
|
1950
|
|
POST
|
hi Devon, there's no connection possible between static (imported) footprints and dynamic streets. but you can use the 'dynamic city layouts' system, to create blocks, then set the block subdivision type to 'skeleton subdivision' to get similar results to what data you imported. ok ? Matt
... View more
05-16-2013
08:19 AM
|
0
|
0
|
1950
|
|
POST
|
hi ! images consist of r,g,b components. if you have a standard 8 bit image ( 3 channels ), each one color is represented in a range with 256 brightness values ( for each color component ). e.g. 255,0,0 is pure red. 0,255,0 is pure green. .. sampling attributes can be done differently, to get a proper attribute mapping. but in the end, you're always querying those r,g,b colors and putting them in a new range, default is 0 - 1, as you've seen in the tutorials. what you sample is up to you : whether you're working with the image brightness ( 0 - 1 ), hue, saturation or with just the individual color components of that image. since usually you want to map one information to 1 color value, it is easiest to use just 'brightness' and not colors per se, because they contain 3 components. I usually create 1 greyscale map for each attribute I want to map, mapped by brightness. The issue with sampling colors is that you have to find specific colors within 3 components. e.g. if color.r > 0.9 && color.g < 0.1 && color.b < 0.1 then it must be 'reddish'. testing this component-wise is a pain. The additional factor which makes this tricky is that CityEngine samples image color values ( the integer values 0 - 255 ) and 'casts' them as float values ( values with decimals ), which can produce tiny imprecisions of the color values. e.g. color.r = 0.999878453 instead of 1. Those potential errors have to be handled in case statements, which you find a bit confusing and unintuitive. [But that's how it is currently.] Thus, by far the best thing is to encode any info you need simply in greyscale values ( e.g. rgb 0,0,0 // 10,10,10 // 58,58,58 , ..). Hope this makes sense. Let me know if it does .. 😉 Matt
... View more
05-16-2013
01:12 AM
|
0
|
0
|
1505
|
|
POST
|
Hi ! There's no way to get rid of that created attribute any more. The only way to handle this is to create a heuristic which checks the attr SOURCE first. Means you have to handle the case where the user may have set something once ( thus that value is stored as an attr ), though then goes back to the SOURCE = DEFAULT. E.g. if ce.getAttributeSource(..) == "DEFAULT" :
return 8 ( or whatever the default is ), return this as hardcoded value
if ce.getAttributeSource(..) == "USER" :
return value of getObjectAttr(..)
.. Ok ? Matt
... View more
05-15-2013
06:09 AM
|
0
|
0
|
1701
|
| 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
|