<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.esri.com/Info/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>ArcGIS Explorer Blog : OpenGL</title><link>http://blogs.esri.com/Info/blogs/arcgisexplorerblog/archive/tags/OpenGL/default.aspx</link><description>Tags: OpenGL</description><dc:language>en</dc:language><generator>CommunityServer 2.1 SP2 (Debug Build: 61120.2)</generator><item><title>Explorer and OpenGL in Action</title><link>http://blogs.esri.com/Info/blogs/arcgisexplorerblog/archive/2007/08/23/explorer-and-opengl-in-action.aspx</link><pubDate>Thu, 23 Aug 2007 19:12:00 GMT</pubDate><guid isPermaLink="false">8296249d-4d69-4913-b1e7-14b85fcd9fb0:320</guid><dc:creator>ArcGIS-Explorer-Team</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.esri.com/Info/blogs/arcgisexplorerblog/comments/320.aspx</comments><wfw:commentRss>http://blogs.esri.com/Info/blogs/arcgisexplorerblog/commentrss.aspx?PostID=320</wfw:commentRss><description>&lt;P&gt;In an &lt;A class="" title="Blog Post" href="http://blogs.esri.com/Info/blogs/arcgisexplorerblog/archive/2007/08/20/new-explorer-sdk-enhancements-build-410.aspx" target=_blank&gt;earlier post&lt;/A&gt; we talked about some of the new SDK features in the latest release (Build 410). In that post we mentioned the addition of&amp;nbsp;OpenGL support and included a screenshot showing wind vectors implemented using OpenGL in Explorer. Here's a link to a &lt;A class="" title="Open YouTube movie" href="http://www.youtube.com/watch?v=KjcDWG8nV1g&amp;amp;eurl=http%3A%2F%2Fgisconsultancy%2Ecom%2Fblog%2F%3Fp%3D15%26preview%3Dtrue" target=_blank&gt;YouTube movie&lt;/A&gt; showing that in action.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://blogs.esri.com/Info/aggbug.aspx?PostID=320" width="1" height="1"&gt;</description><category domain="http://blogs.esri.com/Info/blogs/arcgisexplorerblog/archive/tags/YouTube/default.aspx">YouTube</category><category domain="http://blogs.esri.com/Info/blogs/arcgisexplorerblog/archive/tags/Build+410/default.aspx">Build 410</category><category domain="http://blogs.esri.com/Info/blogs/arcgisexplorerblog/archive/tags/OpenGL/default.aspx">OpenGL</category><category domain="http://blogs.esri.com/Info/blogs/arcgisexplorerblog/archive/tags/SDK/default.aspx">SDK</category><category domain="http://blogs.esri.com/Info/blogs/arcgisexplorerblog/archive/tags/Developer/default.aspx">Developer</category></item><item><title>New Explorer SDK Enhancements (Build 410)</title><link>http://blogs.esri.com/Info/blogs/arcgisexplorerblog/archive/2007/08/20/new-explorer-sdk-enhancements-build-410.aspx</link><pubDate>Tue, 21 Aug 2007 01:32:00 GMT</pubDate><guid isPermaLink="false">8296249d-4d69-4913-b1e7-14b85fcd9fb0:306</guid><dc:creator>ArcGIS-Explorer-Team</dc:creator><slash:comments>2</slash:comments><comments>http://blogs.esri.com/Info/blogs/arcgisexplorerblog/comments/306.aspx</comments><wfw:commentRss>http://blogs.esri.com/Info/blogs/arcgisexplorerblog/commentrss.aspx?PostID=306</wfw:commentRss><description>&lt;P&gt;(submitted by Rob Dunfey, ArcGIS Explorer SDK Development Team)&lt;/P&gt;
&lt;P&gt;The latest release of ArcGIS Explorer includes a host of enhancements to the API, creating new opportunities for custom task developers.&amp;nbsp; The custom task framework genuinely differentiates ArcGIS Explorer from other virtual globes, allowing users to plug in custom functionality directly into the main application.&lt;/P&gt;
&lt;P&gt;The most notable of the API enhancements are changes to the &lt;A class="" title="View3D Class Help" href="http://edndoc.esri.com/arcobjects/9.2/Explorer/ESRI.ArcGIS.E2API~ESRI.ArcGIS.E2API.View3D.html" target=_blank&gt;View3D class&lt;/A&gt;. This class controls the main viewing window in ArcGIS Explorer (the window which displays the globe).&amp;nbsp; New methods and events on the View3D class now allow developers to render OpenGL graphics on top of the view. In the example below, we've drawn wind vectors using OpenGL.&lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://blogs.esri.com/Info/photos/arcgisexplorer/images/313/original.aspx" border=0&gt;&lt;/P&gt;
&lt;P&gt;If you step back and think about this, it really is a quite powerful feature. What&amp;nbsp;you choose to draw to the globe is now only limited by your imagination. A &lt;A class="" title="Custom Drawing Sample" href="http://edndoc.esri.com/arcobjects/9.2/Explorer/CustomDrawingSample.html" target=_blank&gt;new developer sample&lt;/A&gt; in the SDK illustrates how you can use these new methods and events to draw grid lines and symbols on top of the globe, but perhaps you will choose to render a Second Life avatar?&amp;nbsp; More usefully, you may want to display a unique watermark on top of the globe when viewing a particular layer, or incorporate the output from other specialist modelling software.&lt;/P&gt;
&lt;P&gt;Other changes to the View3D class include a new property that enables your custom task to alter the vertical exaggeration of the globe surface, and a &lt;A class="" title="FlyPolyine Method Help" href="http://edndoc.esri.com/arcobjects/9.2/Explorer/ESRI.ArcGIS.E2API~ESRI.ArcGIS.E2API.View3D~FlyPolyline.html" target=_blank&gt;FlyPolyline method&lt;/A&gt; that will allow you to fly along a polyline. This is similar to the functionality available in the application when you right-click a result from the Get Driving Directions task.&lt;/P&gt;
&lt;P&gt;We’ve also added methods and properties to the &lt;A class="" title="View Class Help" href="http://edndoc.esri.com/arcobjects/9.2/Explorer/ESRI.ArcGIS.E2API~ESRI.ArcGIS.E2API.View.html" target=_blank&gt;View&lt;/A&gt; and &lt;A class="" title="Layer Class Help" href="http://edndoc.esri.com/arcobjects/9.2/Explorer/ESRI.ArcGIS.E2API~ESRI.ArcGIS.E2API.Layer.html" target=_blank&gt;Layer&lt;/A&gt; classes to give developers greater control over the caching of layers.&amp;nbsp; Now when you add layers to ArcGIS Explorer with a custom task, you can use the new &lt;A class="" title="CacheType Property Help" href="http://edndoc.esri.com/arcobjects/9.2/Explorer/ESRI.ArcGIS.E2API~ESRI.ArcGIS.E2API.Layer~CacheType.html" target=_blank&gt;CacheType&lt;/A&gt; layer property to determine how ArcGIS Explorer caches the layer, just&amp;nbsp;like&amp;nbsp;when you add layers via the ArcGIS Explorer user interface.&amp;nbsp; &lt;/P&gt;
&lt;P&gt;In addition, the new &lt;A class="" title="RemoveLayerCache Method Help" href="http://edndoc.esri.com/arcobjects/9.2/Explorer/ESRI.ArcGIS.E2API~ESRI.ArcGIS.E2API.View~RemoveLayerCache.html" target=_blank&gt;RemoveLayerCache&lt;/A&gt; method on the View class allows your custom task to delete a layer cache.&amp;nbsp; Using these new members in combination as a developer, you have far greater control of layer caching, and can ensure layers representing dynamic data sources remain current.&lt;/P&gt;
&lt;P&gt;New methods and properties have also been added to the API to help developers work with results.&amp;nbsp; For example, the new &lt;A class="" title="AutoZoom Property Help" href="http://edndoc.esri.com/arcobjects/9.2/Explorer/ESRI.ArcGIS.E2API~ESRI.ArcGIS.E2API.TaskContext~AutoZoom.html" target=_blank&gt;AutoZoom property&lt;/A&gt; on the &lt;A class="" title="Task Context Class Help" href="http://edndoc.esri.com/arcobjects/9.2/Explorer/ESRI.ArcGIS.E2API~ESRI.ArcGIS.E2API.TaskContext.html" target=_blank&gt;TaskContext&lt;/A&gt; will automatically zoom the observer to the location of any new results that are passed to the task context.&amp;nbsp;Using this, and adding just a&amp;nbsp;single line of code should make for more user friendly custom tasks.&amp;nbsp; &lt;/P&gt;
&lt;P&gt;The new &lt;A class="" title="SetZoomPerspective Method Help" href="http://edndoc.esri.com/arcobjects/9.2/Explorer/ESRI.ArcGIS.E2API~ESRI.ArcGIS.E2API.Result~SetZoomPerspective.html" target=_blank&gt;SetZoomPerspective&lt;/A&gt; on the&amp;nbsp;&lt;A class="" title="Result Class members" href="http://edndoc.esri.com/arcobjects/9.2/Explorer/ESRI.ArcGIS.E2API~ESRI.ArcGIS.E2API.Result_members.html" target=_blank&gt;Result class&lt;/A&gt; lets the custom task developer define the location from which a particular result should be viewed when zoomed to in the application. Again,&amp;nbsp;this should make for more user friendly custom tasks.&lt;/P&gt;
&lt;P&gt;We’ve also fixed a bug with the LocalLayer class so that it can be used to represent kml files stored on a web server. Previously it didn’t recognize the http prefix which meant this wasn’t possible.&amp;nbsp; Perhaps you want to build a custom task that searches the web for&amp;nbsp;KML files and displays the&amp;nbsp;KML files it finds in ArcGIS Explorer?&amp;nbsp; With this fix, now you can.&lt;/P&gt;
&lt;P&gt;And finally, a&amp;nbsp;number of constructor overloads have been added to the API which should make for less lines of code. &lt;/P&gt;&lt;img src="http://blogs.esri.com/Info/aggbug.aspx?PostID=306" width="1" height="1"&gt;</description><category domain="http://blogs.esri.com/Info/blogs/arcgisexplorerblog/archive/tags/OpenGL/default.aspx">OpenGL</category><category domain="http://blogs.esri.com/Info/blogs/arcgisexplorerblog/archive/tags/SDK/default.aspx">SDK</category><category domain="http://blogs.esri.com/Info/blogs/arcgisexplorerblog/archive/tags/API/default.aspx">API</category><category domain="http://blogs.esri.com/Info/blogs/arcgisexplorerblog/archive/tags/Developer/default.aspx">Developer</category></item></channel></rss>