<?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: Which influence do I have in SceneView on the behaviour of the Sun Light? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/which-influence-do-i-have-in-sceneview-on-the/m-p/328827#M30414</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Thomas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; view.environmentManager._updateLightParams = function(d) {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //TODO: Create formula to change ambient light depending on zoomlevel and options&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sunUtils.settings.global.ambient = 0.4;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; this.__proto__._updateLightParams.call(this, d);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jeroen van Onzen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 27 Jul 2017 12:51:54 GMT</pubDate>
    <dc:creator>Jeroenvan_Onzen1</dc:creator>
    <dc:date>2017-07-27T12:51:54Z</dc:date>
    <item>
      <title>Which influence do I have in SceneView on the behaviour of the Sun Light?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/which-influence-do-i-have-in-sceneview-on-the/m-p/328823#M30410</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we are currently developing an application within ArcGis Javascript.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We want to have influence on the behaviour of the sunlight, for the following observations:&lt;/P&gt;&lt;P&gt;1) When&amp;nbsp;turning on the option:&lt;/P&gt;&lt;P&gt;view.environment.lighting.cameraTrackingEnabled&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The North Pole and South Pole are partly in dark. In the following old thread, they were working on a solution; but we found no additional information&amp;nbsp;&lt;A href="https://community.esri.com/thread/189586"&gt;how to disable sun?&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) When turning off the option&amp;nbsp;&lt;BR /&gt;&lt;SPAN&gt;view.environment.lighting.cameraTrackingEnabled&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;The sun is behaving as expected. However; the dark side of the earth is too dark for us. We see a light source active (as it is not black), so are we able to power up this light source?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Secondly; especially when the user is zoomed in at a location, we would like to enlighten the earth more.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which options do I have to use AmbientLight only, or to push up the AmbientLight to get a nicer view?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jeroen van Onzen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS. The documentation for&amp;nbsp;&lt;SPAN&gt;cameraTrackingEnabled &amp;nbsp;is missing.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jul 2017 14:18:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/which-influence-do-i-have-in-sceneview-on-the/m-p/328823#M30410</guid>
      <dc:creator>Jeroenvan_Onzen1</dc:creator>
      <dc:date>2017-07-25T14:18:02Z</dc:date>
    </item>
    <item>
      <title>Re: Which influence do I have in SceneView on the behaviour of the Sun Light?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/which-influence-do-i-have-in-sceneview-on-the/m-p/328824#M30411</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There doesn't seem to be a lot of user-facing options for these things.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are various things you could do to obstruct the scene from shadowing the side of the earth opposite the sun. &amp;nbsp;For example:&amp;nbsp;&lt;A class="link-titled" href="https://jsbin.com/doxisopiso/edit?html,output" title="https://jsbin.com/doxisopiso/edit?html,output"&gt;JS Bin - Collaborative JavaScript Debugging&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That sample modifies a function on the environment manager so that it doesn't have a reference position for the camera and therefore&amp;nbsp;falls back to generic lighting settings (entire earth is illuminated). &amp;nbsp;&lt;SPAN&gt;It's not clear to me that's what you're looking for, though.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;One option would be to call that code to modify that function under certain circumstances&amp;nbsp;and then revert to the prototype function&amp;nbsp;when you want normal lighting to resume.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;It can be "dangerous" to play with this kind of stuff as a bug in your codes results in the view freezing with no error message.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jul 2017 15:42:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/which-influence-do-i-have-in-sceneview-on-the/m-p/328824#M30411</guid>
      <dc:creator>ThomasSolow</dc:creator>
      <dc:date>2017-07-25T15:42:29Z</dc:date>
    </item>
    <item>
      <title>Re: Which influence do I have in SceneView on the behaviour of the Sun Light?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/which-influence-do-i-have-in-sceneview-on-the/m-p/328825#M30412</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the specifications for the product, there is a request to have an optional day/night view, so I need to support both views.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess my preferred option is to have influence on the ambient light (color/intensity), and bump this up to a higher value, depending on certain conditions (i.e. zoomlevel, and modus).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jul 2017 16:48:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/which-influence-do-i-have-in-sceneview-on-the/m-p/328825#M30412</guid>
      <dc:creator>Jeroenvan_Onzen1</dc:creator>
      <dc:date>2017-07-25T16:48:25Z</dc:date>
    </item>
    <item>
      <title>Re: Which influence do I have in SceneView on the behaviour of the Sun Light?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/which-influence-do-i-have-in-sceneview-on-the/m-p/328826#M30413</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One option would just be to adjust the time. &amp;nbsp;IE: make it night time at the user's position when night is toggled on and make it day time when day is toggled on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know of a way to influence ambient light.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jul 2017 17:22:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/which-influence-do-i-have-in-sceneview-on-the/m-p/328826#M30413</guid>
      <dc:creator>ThomasSolow</dc:creator>
      <dc:date>2017-07-25T17:22:41Z</dc:date>
    </item>
    <item>
      <title>Re: Which influence do I have in SceneView on the behaviour of the Sun Light?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/which-influence-do-i-have-in-sceneview-on-the/m-p/328827#M30414</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Thomas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; view.environmentManager._updateLightParams = function(d) {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //TODO: Create formula to change ambient light depending on zoomlevel and options&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sunUtils.settings.global.ambient = 0.4;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; this.__proto__._updateLightParams.call(this, d);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jeroen van Onzen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Jul 2017 12:51:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/which-influence-do-i-have-in-sceneview-on-the/m-p/328827#M30414</guid>
      <dc:creator>Jeroenvan_Onzen1</dc:creator>
      <dc:date>2017-07-27T12:51:54Z</dc:date>
    </item>
    <item>
      <title>Re: Which influence do I have in SceneView on the behaviour of the Sun Light?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/which-influence-do-i-have-in-sceneview-on-the/m-p/1159889#M76884</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Happy to announce that you can&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;choose now between sun and virtual light for your scenes.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;With JS API 4.23 released last week,&amp;nbsp; we introduce a new lighting mode called "&lt;A title="VirtualLighting" href="https://developers.arcgis.com/javascript/latest/api-reference/esri-views-3d-environment-VirtualLighting.html" target="_blank" rel="noopener"&gt;VirtualLighting&lt;/A&gt;". This positions the light source relative to the camera, minimizing the amount of visible shadows. Assign it to &lt;A title="SceneView.environment.lighting" href="https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#environment" target="_blank" rel="noopener"&gt;SceneView.environment.lighting&lt;/A&gt; as an alternative to the existing lighting.&lt;/P&gt;&lt;P&gt;We also updated the documentation about the lighting, including the parameter for &lt;A title="cameraTrackingEnabled" href="https://developers.arcgis.com/javascript/latest/api-reference/esri-views-3d-environment-SunLighting.html#cameraTrackingEnabled" target="_self"&gt;cameraTrackingEnabled&lt;/A&gt;.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Check out more about the virtual lighting and other new features in our release notes for &lt;A title="4.23" href="https://developers.arcgis.com/javascript/latest/release-notes/" target="_self"&gt;4.23&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Thu, 31 Mar 2022 14:39:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/which-influence-do-i-have-in-sceneview-on-the/m-p/1159889#M76884</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2022-03-31T14:39:34Z</dc:date>
    </item>
  </channel>
</rss>

