|
POST
|
Hi, How's 'TotSqft' defined ? I'm not perfectly sure if I understood your pseudo-code right. Can you explain it a bit precise, maybe with a screenshot with a few cut lines ? Doesn't need to be perfect, just to show the 'flow of the code'. lemme know.. Matt
... View more
07-18-2013
06:59 AM
|
0
|
0
|
1705
|
|
POST
|
Hi, we'll track the transparency thing down. Thanks for reporting this. concerning the time / date setting of a WebScene, that's more work and may only be possible to customize once the API is available. But as mentioned in an other thread, that will take some time. Hope you can still work without those features for now.. Matt
... View more
07-18-2013
04:47 AM
|
0
|
0
|
5251
|
|
POST
|
hi.. sorry, I cannot share a release date. it'll take some time. but once out, I know you guys will go crazy. 🙂 m.
... View more
07-18-2013
04:35 AM
|
0
|
0
|
1534
|
|
POST
|
Hi .. CGA can not dictate the attribute source. CGA gets the attribute values to work with. ==> the Connection Editor dictates, which value is used. There's just the 4 states 'Rule', 'User', 'Object Attr' [[or 'Mapped']]. So in your case, I'd create a second attribute which dictates the source for your attribute of interest. E.g.
@Hidden // = generic attribute to transport the info
attr finalValue = 0
@Range ( "Rule", "User", "Object" )
attr useWhichAttr = "Rule"
attr ruleDefaultValue = rand(10,20) // connection : attr source = "rule"
attr userValue = rand(10,20) // connection : attr source = "user" // = you playing with slider
attr objectAttrValue = 0 // value initialized with 0 // connection : attr source = "object"
Then :
Lot -->
case useWhichAttr == "Rule" :
set(finalValue, ruleDefaultValue )
GoExtrude
case useWhichAttr == "User" :
set(finalValue, userValue )
GoExtrude
else :
set(finalValue, objectAttrValue )
GoExtrude
GoExtrude -->
extrude( finalValue )
Done.
Like this, you control all possibilities. Ok ? matt
... View more
07-18-2013
04:31 AM
|
0
|
0
|
906
|
|
POST
|
hmm. weird .. could you send me both shape files as internal test files ? glad you found a workaround. maybe send me a PM with your mail address. cheers ! matt
... View more
07-18-2013
04:08 AM
|
0
|
0
|
2609
|
|
POST
|
hey man, short fix : ignore the difference and just use the point marker geometries in Unity. Write a js or cs script to extract the data in Unity instead of CE. long fix : not sure what could cause this.. weird. it seems the data is also rotated.. could it be you have somehow inverted some axes, e.g. x = -123456 instead of 123456 ? try to track this down on a very simple 1 meter wide / 10 meter long street, so you can precisely control all point marker vertices. I've done a similar thing some time ago in Maya and it did fit spot-on. lemme know. matt
... View more
07-18-2013
03:58 AM
|
0
|
0
|
7252
|
|
POST
|
Hi, forwarding the wish .. for now, use very concise layer naming and scene setup for the swipe comparison, ok ? M.
... View more
07-16-2013
12:18 PM
|
0
|
0
|
2992
|
|
POST
|
hi ! use center() first, usually, do the s(), then center(), then i(). use t() after the i() to fix any issues left. notes: 1] s(0,0,0) uses the asset's original size. s(0,treeHeight,0) will scale your asset proportinally to the given size 2] after scatter(), use alignScopeToAxes(y) to align the scope vertically, to make the tree stand vertically. ok?
... View more
07-16-2013
12:17 PM
|
0
|
0
|
3796
|
|
POST
|
Hi Carl, That's a missing feature. Try a texture layer with a transparent texture, ok ? M.
... View more
07-16-2013
12:04 PM
|
0
|
0
|
5251
|
|
POST
|
Please read on here : http://forums.arcgis.com/threads/88493-Animated-Water-Shader-in-WebScene matt
... View more
07-15-2013
01:30 AM
|
0
|
0
|
1174
|
|
POST
|
[docs provided by Andreas Ulmer ] Hi all, some additional hints on the water shader in CityEngine Web Viewer: the following substrings trigger the water shader in Web Viewer: <something>__water<something> (default wave params) <something>__waterquiet<something> (slower wave speed, less amplitude) <something> __waterstormy<something> (higher wave speed, more amplitude) e.g. "myShape__water" "myLayer__waterstormy" these strings can be set either on a shape name or a layer name. When set on a layer, all objects in this layer will get the water shader. When setting the substring to shape names the export settings of these shapes need to be set to interactivity: pickable for the Web Viewer to pick it up. When set on a layername, the __water* substring will be removed from the layer name displayed in Web Viewer. when using CGA the water material can be specified using the substring "__waterparams" in material name: set(material.name, <something>__waterparams_<wavesize>_<wavespeed>) set(material.name, "watermaterial__waterparams_2_5") set(material.name, "watermaterial__waterparams_5.5_10.2") avoid params with more than one number after the dot (e.g. don't set "waterparams_5.50_10.21") the values used for the __water* strings above: __water: wavesize: 7, speed: 10 __waterquiet: wavesize: 2, speed: 5 __waterstormy: wavesize: 15, speed: 30
... View more
07-15-2013
01:29 AM
|
1
|
12
|
10346
|
|
POST
|
Hi, how were those attributes defined ? Where do their actual values come from ? are those attributes part of a zoning code ? what you need is not directly and easily possible. You can get near a good solution, but not generate spot-on final geometry. I'd recommend you start with the skeleton subdivision and start a rule which cuts ( in horizontal direction ), the Lots into the min and max dimensions ( simply with split(x) and split(z). Note that CityEngine works with y being up.) Then add checks with color(), if the shapes are too wide or thin or deep. As mentioned, this is something that can not directly be solved because it is an iterative process. you will need manual input. m.
... View more
07-12-2013
08:58 AM
|
0
|
0
|
2174
|
|
POST
|
Hi, Still, CityEngine runs only on NVIDIA and ATI hardware. Intel will fail. I recommend NVIDIA. Also note that many laptops usually have 2 graphics cards. 1 onboard ( on the main board ) and 1 'main' card to save power. So I've seen cases where CE did not want to start because the power options were set to 'save power' and thus, the OS fell back to the builtin graphics card, which was an Intel one. Ok ? Matt
... View more
07-11-2013
08:23 AM
|
0
|
0
|
1440
|
| 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
|