<?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: Visualising roots of trees in the Javascript API in 3D Questions</title>
    <link>https://community.esri.com/t5/3d-questions/visualising-roots-of-trees-in-the-javascript-api/m-p/1267177#M4846</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I absolutely love this idea! I believe it should be possible, but it might depend on how the data is set up and added to the scene.&lt;/P&gt;&lt;P&gt;Within most 3D Scenes I have seen, trees are usually symbolised from point features, so in these cases a polygon feature class could be set up, and extruded by their Z value to the depth of the Root system.&lt;/P&gt;&lt;P&gt;The following &lt;A href="https://developers.arcgis.com/javascript/latest/sample-code/sceneview-underground/" target="_self"&gt;code sample&lt;/A&gt; might provide some help as it shows how to set up the underground navigation for your application.&lt;/P&gt;&lt;P&gt;I hope that provides some help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 13 Mar 2023 17:17:18 GMT</pubDate>
    <dc:creator>David_McRitchie</dc:creator>
    <dc:date>2023-03-13T17:17:18Z</dc:date>
    <item>
      <title>Visualising roots of trees in the Javascript API</title>
      <link>https://community.esri.com/t5/3d-questions/visualising-roots-of-trees-in-the-javascript-api/m-p/1237560#M4833</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;I am using the Javascript API&amp;nbsp; v4.24.7.&lt;/P&gt;&lt;P&gt;I am wondering if it would be possible to render a 3D cube underneath a model of a tree. This cube will represent where the roots are (roughly). Ideally, I would like to change the height of the tree AND cube based on the length of the tree.&lt;/P&gt;&lt;P&gt;The reason I want to do this is because the application is also showing some cables and sewers and it would be interesting to see if the trees + roots are close to any.&lt;/P&gt;&lt;P&gt;I am aware of the different renderer types in the Javascript API, but I am not quite sure if I can visualize two symbols at once, one of them being below the surface.&lt;/P&gt;&lt;P&gt;Currently, I've got the following renderer config for my layer with the tree data:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;{
 "renderer": {
        "type": "simple",
        "symbol": {
          "type": "web-style",
          "name": "Frangula",
          "styleName": "EsriThematicTreesStyle"
        }
  }
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This renderer shows me the trees perfectly fine. I presume I would need to add a symbol layer for a cube, and then somehow tell the renderer to draw that symbol underneath the tree web-style symbol.&lt;/P&gt;&lt;P&gt;I am not entirely sure if this is possible and how to go about it, I would really appreciate it if someone could help me.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Sat, 03 Dec 2022 20:17:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/3d-questions/visualising-roots-of-trees-in-the-javascript-api/m-p/1237560#M4833</guid>
      <dc:creator>SJonker</dc:creator>
      <dc:date>2022-12-03T20:17:12Z</dc:date>
    </item>
    <item>
      <title>Re: Visualising roots of trees in the Javascript API</title>
      <link>https://community.esri.com/t5/3d-questions/visualising-roots-of-trees-in-the-javascript-api/m-p/1267177#M4846</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I absolutely love this idea! I believe it should be possible, but it might depend on how the data is set up and added to the scene.&lt;/P&gt;&lt;P&gt;Within most 3D Scenes I have seen, trees are usually symbolised from point features, so in these cases a polygon feature class could be set up, and extruded by their Z value to the depth of the Root system.&lt;/P&gt;&lt;P&gt;The following &lt;A href="https://developers.arcgis.com/javascript/latest/sample-code/sceneview-underground/" target="_self"&gt;code sample&lt;/A&gt; might provide some help as it shows how to set up the underground navigation for your application.&lt;/P&gt;&lt;P&gt;I hope that provides some help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Mar 2023 17:17:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/3d-questions/visualising-roots-of-trees-in-the-javascript-api/m-p/1267177#M4846</guid>
      <dc:creator>David_McRitchie</dc:creator>
      <dc:date>2023-03-13T17:17:18Z</dc:date>
    </item>
  </channel>
</rss>

