<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: dynamically displaying buildings in ArcGIS CityEngine Questions</title>
    <link>https://community.esri.com/t5/arcgis-cityengine-questions/dynamically-displaying-buildings/m-p/441369#M6013</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is not a built in feature, so one possible solution is to use python. Pseudo-code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Get location and direction of the current camera.&lt;/P&gt;&lt;P&gt;2. From that, determine which objects fall in viewshed.&lt;/P&gt;&lt;P&gt;3. Set an object attribute on each object falling in the viewshed, telling which LOD to use.&lt;/P&gt;&lt;P&gt;4. Regenerate all items in the viewshed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Only issue is #2, since I can't say off top of my head how to find if object is in the view or not. So if we can't figure that out, then you can easily determine all objects that fall in a radius from the camera, but then you have items behind the camera that would be at an unnecessarily high LOD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is python an option for you?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 05 Nov 2014 14:58:25 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2014-11-05T14:58:25Z</dc:date>
    <item>
      <title>dynamically displaying buildings</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/dynamically-displaying-buildings/m-p/441368#M6012</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am working on an entire city (lots of buildings, streets, DEM, parks etc.) with quite a bit of detail.&lt;/P&gt;&lt;P&gt;So obviously my computer starts failing when I apply the rules to more than a few 'Lots'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Getting more RAM is not really a solution (considering the size of the city).&lt;/P&gt;&lt;P&gt;So I was wondering if there is a way of dynamically displaying the objects.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At the moment I have defined 2 LODs in my rule. It would be perfect if the LOD&lt;/P&gt;&lt;P&gt;would dynamically change depending on the zoom (how close to the building)&lt;/P&gt;&lt;P&gt;and also on the perspective (which buildings I see right now).&lt;/P&gt;&lt;P&gt;So I only give detail to what I see and when I am close to it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Nov 2014 14:33:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/dynamically-displaying-buildings/m-p/441368#M6012</guid>
      <dc:creator>AlexandruVasile</dc:creator>
      <dc:date>2014-11-05T14:33:07Z</dc:date>
    </item>
    <item>
      <title>Re: dynamically displaying buildings</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/dynamically-displaying-buildings/m-p/441369#M6013</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is not a built in feature, so one possible solution is to use python. Pseudo-code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Get location and direction of the current camera.&lt;/P&gt;&lt;P&gt;2. From that, determine which objects fall in viewshed.&lt;/P&gt;&lt;P&gt;3. Set an object attribute on each object falling in the viewshed, telling which LOD to use.&lt;/P&gt;&lt;P&gt;4. Regenerate all items in the viewshed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Only issue is #2, since I can't say off top of my head how to find if object is in the view or not. So if we can't figure that out, then you can easily determine all objects that fall in a radius from the camera, but then you have items behind the camera that would be at an unnecessarily high LOD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is python an option for you?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Nov 2014 14:58:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/dynamically-displaying-buildings/m-p/441369#M6013</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2014-11-05T14:58:25Z</dc:date>
    </item>
    <item>
      <title>Re: dynamically displaying buildings</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/dynamically-displaying-buildings/m-p/441370#M6014</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What if RAM is a solution to this problem?...&lt;/P&gt;&lt;P&gt;I saw a presentation where Paris was generated in CityEngine and the movement was without lag. What specification do you think would be enough for rendering and generating an entire city without this kind of problems? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Nov 2014 15:19:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/dynamically-displaying-buildings/m-p/441370#M6014</guid>
      <dc:creator>IonutAlixandroae</dc:creator>
      <dc:date>2014-11-05T15:19:50Z</dc:date>
    </item>
    <item>
      <title>Re: dynamically displaying buildings</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/dynamically-displaying-buildings/m-p/441371#M6015</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, python is an option for me. I have not worked too much with it and certainly not in CE, but I can learn:)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please point me to some resources. I have no idea where to start:&lt;/P&gt;&lt;P&gt;like where to get the location and direction of the current camera, where can I look, etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alex&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Nov 2014 15:27:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/dynamically-displaying-buildings/m-p/441371#M6015</guid>
      <dc:creator>AlexandruVasile</dc:creator>
      <dc:date>2014-11-05T15:27:23Z</dc:date>
    </item>
    <item>
      <title>Re: dynamically displaying buildings</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/dynamically-displaying-buildings/m-p/441372#M6016</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'll find a script with some of the right stuff in it, but will be later in the day.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Nov 2014 15:34:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/dynamically-displaying-buildings/m-p/441372#M6016</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2014-11-05T15:34:00Z</dc:date>
    </item>
    <item>
      <title>Re: dynamically displaying buildings</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/dynamically-displaying-buildings/m-p/441373#M6017</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We should start a new thread concerning performance. There are a lot of issues that affect it, thought. I'll start accumulating some knowledge about this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Nov 2014 15:35:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/dynamically-displaying-buildings/m-p/441373#M6017</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2014-11-05T15:35:34Z</dc:date>
    </item>
    <item>
      <title>Re: dynamically displaying buildings</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/dynamically-displaying-buildings/m-p/441374#M6018</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Chris, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I really appreciate it &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Nov 2014 15:39:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/dynamically-displaying-buildings/m-p/441374#M6018</guid>
      <dc:creator>AlexandruVasile</dc:creator>
      <dc:date>2014-11-05T15:39:01Z</dc:date>
    </item>
    <item>
      <title>Re: dynamically displaying buildings</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/dynamically-displaying-buildings/m-p/441375#M6019</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That sounds great, I have only started playing with CE for a few weeks but&lt;/P&gt;&lt;P&gt;I'm sure I will continue to run into issues that this thread will help with.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As a side note: is there a place where we can post .cga files and entire&lt;/P&gt;&lt;P&gt;projects? When I started I could not find such a place,&lt;/P&gt;&lt;P&gt;and it would have been very useful (it's much easier to modify something&lt;/P&gt;&lt;P&gt;than to start from scratch). And now I can post some of my work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2014-11-05 17:36 GMT+02:00 Chris Wilkins &amp;lt;geonet@esri.com&amp;gt;:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE level="1"&gt;&lt;P&gt;      GeoNet&lt;/P&gt;&lt;P&gt;&amp;lt;http://jiveon.jivesoftware.com/wf/click?upn=Dg1s4x8le7Lmxv8KWGaqo8h7SGfRSMkw-2FpvHGF9-2FW3rK-2Bvs1kL9-2FnG6jjf2NZhrLDz0M-2BrY-2By9IaziQEKVk3Hg-3D-3D_0v1izXFVJ-2BmIe51G2FoDc6-2F1uya0mH9hC-2B0fRdlyLgDKhsO7u2iLj4oaBWtf-2BLBiR44WoZYesR58Gnm4ywpY4Ic2DWk-2FauHcHJwsKpW72S-2BBN3o6YgATslNa-2F5HF6nYgDqqZhNzkwAkZBn54qZGK-2Fo0SYpVbMe1MkjV9HA-2FIyiRyaGhs9dnE-2BdC5DCfAqTFHuMTuquBLx9JrahBJUM-2FSByAlMjGEI17fE4q9FebvPlPJAm9oPnRjTjMYSZ-2BC2sZcPk4dkN3WdDJ2ZCUaUcvJhds4kTX-2FGNJOInOEnyVZp4-2BcjSrpIwF0SBtrnCLt9Spy&amp;gt;     dynamically&lt;/P&gt;&lt;P&gt;displaying buildings&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reply from Chris Wilkins&lt;/P&gt;&lt;P&gt;&amp;lt;http://jiveon.jivesoftware.com/wf/click?upn=Dg1s4x8le7Lmxv8KWGaqo7A4BXwO9PY1WvQ5cXCtK49fe2ljzSLeiFBFjIbQtL-2BIes9B8qlE9pl-2BYyB6LQLcR2YwgZltK7MqmM6Bn5Yyguo-3D_0v1izXFVJ-2BmIe51G2FoDc6-2F1uya0mH9hC-2B0fRdlyLgDKhsO7u2iLj4oaBWtf-2BLBiR44WoZYesR58Gnm4ywpY4Ic2DWk-2FauHcHJwsKpW72S-2BBN3o6YgATslNa-2F5HF6nYg3nVWmj1RKR9NI6fAuYwCdPNP2BisjLswd-2FdWcr92O6Iv2r1yvaBprSlIDiURsGJT9Klh8wJ9m-2FoyA-2FD7bvmzyRJxNmADOw-2FyFL-2BCLy-2FzeYHXm1xvXxFYxHg251MDOsIizJvyqassDkh-2Bp00VVMv4B54y0IB1nx3IsVGPt9jrM-2FZnnOEPayoOfZVL-2BF0ehVX0&amp;gt;&lt;/P&gt;&lt;P&gt;in &lt;STRONG&gt;CityEngine&lt;/STRONG&gt; - View the full discussion&lt;/P&gt;&lt;P&gt;&amp;lt;http://jiveon.jivesoftware.com/wf/click?upn=Dg1s4x8le7Lmxv8KWGaqo0VQjeJBYpG9HGC8QZBT-2FExTRYLJbXcf-2FMmthBTqV9I52ol36uESin5Iai9NUpg6inplzzJPZbvZFBuAcGuflgI-3D_0v1izXFVJ-2BmIe51G2FoDc6-2F1uya0mH9hC-2B0fRdlyLgDKhsO7u2iLj4oaBWtf-2BLBiR44WoZYesR58Gnm4ywpY4Ic2DWk-2FauHcHJwsKpW72S-2BBN3o6YgATslNa-2F5HF6nYgUdHmyLK88C5Ty1ZePxrFhBruocMJncivzVD-2B5hPDfvE04Jq7V3L-2Fz3jZ75J4KQnR1ZlsOV5cjIU-2BX3IsDEQtpGQanSoOHNifZSXxsRroRViePi7mYHnTckulhmVfzPSXcxOjvRsQAfVlzS1TNpeIqPEX1b40LRUAcGnABk-2FaPrW-2F97ps6h7fGB2JJn1GE5K8&amp;gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Nov 2014 15:43:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/dynamically-displaying-buildings/m-p/441375#M6019</guid>
      <dc:creator>AlexandruVasile</dc:creator>
      <dc:date>2014-11-05T15:43:30Z</dc:date>
    </item>
    <item>
      <title>Re: dynamically displaying buildings</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/dynamically-displaying-buildings/m-p/441376#M6020</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I believe as a user on Geonet you can write your own blog. I haven't learned it all yet.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Nov 2014 15:46:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/dynamically-displaying-buildings/m-p/441376#M6020</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2014-11-05T15:46:13Z</dc:date>
    </item>
    <item>
      <title>Re: dynamically displaying buildings</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/dynamically-displaying-buildings/m-p/441377#M6021</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alex, &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I work with Chris. &lt;BR /&gt;In terms of CE python specific resources here is a good link. &lt;/P&gt;&lt;P&gt;&lt;A href="http://cehelp.esri.com/help/index.jsp?topic=/com.procedural.cityengine.help/html/manual/python/toc.html" title="http://cehelp.esri.com/help/index.jsp?topic=/com.procedural.cityengine.help/html/manual/python/toc.html"&gt;http://cehelp.esri.com/help/index.jsp?topic=/com.procedural.cityengine.help/html/manual/python/toc.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;While this is in the table of contents, functions related to camera angles/location/and other attributes are found here: &lt;BR /&gt;&lt;A href="http://cehelp.esri.com/help/topic/com.procedural.cityengine.help/html/manual/python/jscripting/jscripting.View3D.html#View3D-addBookmark" title="http://cehelp.esri.com/help/topic/com.procedural.cityengine.help/html/manual/python/jscripting/jscripting.View3D.html#View3D-addBookmark"&gt;http://cehelp.esri.com/help/topic/com.procedural.cityengine.help/html/manual/python/jscripting/jscripting.View3D.html#View3D-addBookmark&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The python section on attributes is here: &lt;BR /&gt;&lt;A href="http://cehelp.esri.com/help/topic/com.procedural.cityengine.help/html/manual/python/jscripting/jscripting.CE.html#CE-setAttribute" title="http://cehelp.esri.com/help/topic/com.procedural.cityengine.help/html/manual/python/jscripting/jscripting.CE.html#CE-setAttribute"&gt;http://cehelp.esri.com/help/topic/com.procedural.cityengine.help/html/manual/python/jscripting/jscripting.CE.html#CE-setAttribute&lt;/A&gt;&lt;/P&gt;&lt;P&gt;From the look of it you will want setAttribute or some of other python attribute setting. &lt;/P&gt;&lt;P&gt;I hope some of this is helpful. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Nov 2014 21:14:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/dynamically-displaying-buildings/m-p/441377#M6021</guid>
      <dc:creator>DavidWasserman</dc:creator>
      <dc:date>2014-11-05T21:14:19Z</dc:date>
    </item>
    <item>
      <title>Re: dynamically displaying buildings</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/dynamically-displaying-buildings/m-p/441378#M6022</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Alexandru,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The above inputs should help you code it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note:&lt;/P&gt;&lt;P&gt;You'll also need to write some sort of timer that runs all the time unless you want to trigger the update manually each time. Which may &lt;STRONG&gt;slow down the whole thing quite a bit&lt;/STRONG&gt;, if you're constantly rebuilding all models.&lt;/P&gt;&lt;P&gt;In general, especially when coding, I never display all models at the same time. But it depends on a use case. Remember, &lt;STRONG&gt;CityEngine is a modeling tool&lt;/STRONG&gt; and not a visualization environment.. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regarding visualizing the whole Paris model fully generated: That does not really generate many polygons (in the default state, there, only a few buildings have the high LOD set), thus a good graphics card can display it quite easily. And the fluidity of the viewport is independent of the system RAM. If you have lots of textures, VRAM may have a bit of an impact, but mostly, it's the amount of polygons and especially shadows/ambient occlusion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ok ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;SPAN lang="EN-US"&gt;Matthias Buehler&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-US"&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;SPAN lang="EN-US"&gt;Head of 3D Technologies&lt;/SPAN&gt;&lt;/EM&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-US"&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #999999; font-size: 10pt;"&gt;&lt;SPAN lang="EN-US"&gt;twitter: @MattB3D&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-US"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US"&gt;-----------------------------------&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US"&gt;Garsdale Design Limited &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="mailto:matthias.buehler@garsdaledesign.co.uk" target="_blank"&gt;matthias.buehler@garsdaledesign.co.uk&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.garsdaledesign.co.uk/" target="_blank"&gt;www.garsdaledesign.co.uk&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Nov 2014 09:49:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/dynamically-displaying-buildings/m-p/441378#M6022</guid>
      <dc:creator>MatthiasBuehler</dc:creator>
      <dc:date>2014-11-06T09:49:19Z</dc:date>
    </item>
    <item>
      <title>Re: dynamically displaying buildings</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/dynamically-displaying-buildings/m-p/441379#M6023</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you all for the help.&lt;/P&gt;&lt;P&gt;I'll come back when I have something to show.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regarding the fact that CE is not a visualisation environment: I agree; but what do you recommend I use to visualize my huge modelled city; and also, how should I do that? For example if I want to load it to Unity, I still have to generate the whole city in CE in the first place in order to export it, right? Which, as I said, is too big and my computer can't handle it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Looking forward to your answers, maybe I won't need to write python after all:)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Nov 2014 10:13:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/dynamically-displaying-buildings/m-p/441379#M6023</guid>
      <dc:creator>AlexandruVasile</dc:creator>
      <dc:date>2014-11-06T10:13:13Z</dc:date>
    </item>
    <item>
      <title>Re: dynamically displaying buildings</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/dynamically-displaying-buildings/m-p/441380#M6024</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;First of all, to export models, you don't need to generate them.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;e.g. just select a shape and go to the exporter. &lt;STRONG&gt;The model does not need to exist in the viewport&lt;/STRONG&gt;. CityEngine regenerates the model anyway new in the background for export. You're rather clogging export resources resources when having all displayed. For exports of big datasets, set Java memory (ini file) to about 50% system memory and run ONLY CityEngine. Close all other apps that may interfere with the process. After export, set the value back to something reasonble. [Or just leave CE closed.]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then it depends on the target application. I also wanted to write about dealing with this instead e.g. in Unity as an example in my last post, but left it out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I sadly never had time to solve this myself, but game engines provide solutions or plugins for this that just dynamically load models based on the player proximity to a specific model. e.g. if a model's bounding box is visible, load the model.. As said, I don't know the details.&lt;/P&gt;&lt;P&gt;This then leads to the question of file granularity, where I'd say it's best to export 1 file per shape, which then can be loaded by the target app, e.g. Unity. I also assume that you may need to export at least 2 files for each shape: 1 with just the bounding box to check, which files should be loaded, and then 1 file for each LOD that gets triggered again based on proximity.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd be really interested in seeing a solution for this. We can collaborate on this, if you like. &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;About 2 years ago, I searched a bit and found a plugin ( never tested it ) that does 'asset streaming' (harddrive or cloud), which would be exactly what you need.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;SPAN lang="EN-US"&gt;Matthias Buehler&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-US"&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;SPAN lang="EN-US"&gt;Head of 3D Technologies&lt;/SPAN&gt;&lt;/EM&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-US"&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #999999; font-size: 10pt;"&gt;&lt;SPAN lang="EN-US"&gt;twitter: @MattB3D&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-US"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US"&gt;-------------------------------&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US"&gt;Garsdale Design Limited &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="mailto:matthias.buehler@garsdaledesign.co.uk" target="_blank"&gt;matthias.buehler@garsdaledesign.co.uk&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.garsdaledesign.co.uk/" target="_blank"&gt;www.garsdaledesign.co.uk&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Nov 2014 10:45:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/dynamically-displaying-buildings/m-p/441380#M6024</guid>
      <dc:creator>MatthiasBuehler</dc:creator>
      <dc:date>2014-11-06T10:45:42Z</dc:date>
    </item>
    <item>
      <title>Re: dynamically displaying buildings</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/dynamically-displaying-buildings/m-p/441381#M6025</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So I tried to lead my scene to Unity.&lt;/P&gt;&lt;P&gt;I tried the script from here:&lt;/P&gt;&lt;P&gt;&lt;A href="http://3decide.com/break-a-leg/ce-to-unity-tutorial" style="line-height: 1.5;" title="http://3decide.com/break-a-leg/ce-to-unity-tutorial"&gt;http://3decide.com/break-a-leg/ce-to-unity-tutorial&lt;/A&gt;&lt;/P&gt;&lt;P&gt;but it didn't work (just kept searching for the terrain). So I just exported my scene as .fbx.Than uploaded it to Unity.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is that it only exports the models which have already been generated. So I have to generate them before I export it to Unity, which kind of defeats the purpose.&lt;/P&gt;&lt;P&gt;So I thought of importing .fbx in batches into a Unity project. The issue here is that the spatial reference is lost; the houses imported the second time ended up in the air somewhere.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am simply documenting my experiences as I go along. So if someone has any suggestions&lt;IMG alt="Unity.jpg" class="jive-image image-1" src="https://community.esri.com/legacyfs/online/28178_Unity.jpg" style="width: 620px; height: 349px;" /&gt; I am all ears &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Nov 2014 13:26:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/dynamically-displaying-buildings/m-p/441381#M6025</guid>
      <dc:creator>AlexandruVasile</dc:creator>
      <dc:date>2014-11-07T13:26:43Z</dc:date>
    </item>
    <item>
      <title>Re: dynamically displaying buildings</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/dynamically-displaying-buildings/m-p/441382#M6026</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I helped them create this tutorial..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe drop them a mail and check if something has changed for your current CE version .. Ok ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;SPAN lang="EN-US"&gt;Matthias Buehler&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-US"&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;SPAN lang="EN-US"&gt;Head of 3D Technologies&lt;/SPAN&gt;&lt;/EM&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-US"&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #999999; font-size: 10pt;"&gt;&lt;SPAN lang="EN-US"&gt;twitter: @MattB3D&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-US"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US"&gt;----------------------------------&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US"&gt;Garsdale Design Limited &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="mailto:matthias.buehler@garsdaledesign.co.uk" target="_blank"&gt;matthias.buehler@garsdaledesign.co.uk&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.garsdaledesign.co.uk/" target="_blank"&gt;www.garsdaledesign.co.uk&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Nov 2014 14:45:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/dynamically-displaying-buildings/m-p/441382#M6026</guid>
      <dc:creator>MatthiasBuehler</dc:creator>
      <dc:date>2014-11-07T14:45:57Z</dc:date>
    </item>
    <item>
      <title>Re: dynamically displaying buildings</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/dynamically-displaying-buildings/m-p/441383#M6027</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sure,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the only email I could find was the &lt;A href="mailto:info@3decide.com" style="font-family: Arial, sans-serif; font-size: 12px; color: #666666;"&gt;info@3decide.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ill use that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alex&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S. as far as i understand, this script helps with the terrain file, making it easier for Unity. But I still have to generate the model&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Nov 2014 14:49:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/dynamically-displaying-buildings/m-p/441383#M6027</guid>
      <dc:creator>AlexandruVasile</dc:creator>
      <dc:date>2014-11-07T14:49:50Z</dc:date>
    </item>
  </channel>
</rss>

