<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/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>Virtual Earth 3D team blog : Documentation</title><link>http://blogs.msdn.com/virtualearth3d/archive/tags/Documentation/default.aspx</link><description>Tags: Documentation</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>New Version Released!</title><link>http://blogs.msdn.com/virtualearth3d/archive/2009/04/09/new-version-released.aspx</link><pubDate>Fri, 10 Apr 2009 01:46:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9541704</guid><dc:creator>NikolaiF</dc:creator><slash:comments>13</slash:comments><comments>http://blogs.msdn.com/virtualearth3d/comments/9541704.aspx</comments><wfw:commentRss>http://blogs.msdn.com/virtualearth3d/commentrss.aspx?PostID=9541704</wfw:commentRss><description>&lt;P&gt;Our new version has gone live.&amp;nbsp; Head on over to &lt;A class="" href="http://maps.live.com/" target=_blank mce_href="http://maps.live.com/"&gt;maps.live.com&lt;/A&gt; and click "3D" to upgrade.&amp;nbsp; This release is billed primarily as a perf and bug release because it doesn't add a lot of new features at the end-user level (though I think you will be pleased with the perf improvements), but we did have time to throw in some good stuff for the devs.&lt;/P&gt;
&lt;P&gt;I've updated the Samples entry, and clicking on the link should get you the new sample set.&amp;nbsp; As usual, please pass along any problems in comments or blog feedback.&amp;nbsp; The samples are mostly the same, with a few new additions, but they have been cleaned up for best practices and new features.&amp;nbsp; I do recommend that you take a glance at them even if you're already familiar with the API.&amp;nbsp; The Camera sample is most changed, and hopefully should help explain the flow of camera control a little better.&lt;/P&gt;
&lt;P&gt;&lt;A class="" href="http://blogs.msdn.com/virtualearth3d/archive/2008/09/25/current-samples.aspx" mce_href="http://blogs.msdn.com/virtualearth3d/archive/2008/09/25/current-samples.aspx"&gt;Get the code!&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Here's a sampling of new and expanded areas:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Initialized event&lt;/STRONG&gt;&lt;BR&gt;&amp;nbsp;A new event on RenderEngine that simplifies the startup scenario.&amp;nbsp; Check out SimpleForm to see it.&amp;nbsp; Remember that use of this event or FirstFrameRendered is now required!&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Anisotropic Filtering&lt;/STRONG&gt;&lt;BR&gt;&amp;nbsp;Greatly improves the appearance of terrain when at an angle.&amp;nbsp; It's off by default, since there are some graphics cards that don't play nice with it (usually old and rare, but still).&amp;nbsp; You can turn this on through the website in the options box, or you can set it programmatically.&amp;nbsp; See SimpleForm.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Dem Data&lt;/STRONG&gt;&lt;BR&gt;&amp;nbsp;The ability to supply custom DEM data, and have it automatically stitched into existing data.&amp;nbsp; Previously DEM datasources did not work very well, mostly because we did not automatically stitch.&amp;nbsp; They are still a bit trickier than imagery, but there's a new sample DemData to help you out.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;ILocationListener&lt;/STRONG&gt;&lt;BR&gt;&amp;nbsp;An interface that allows automatic and efficient query of a location to determine elevation as data changes.&amp;nbsp; ActorDataSource now uses it.&amp;nbsp; Essentially, you register this object and report its Lat/Lon position.&amp;nbsp; If the ground or other solid object moves or changes there, you will get a call to update.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Manual Rendering&lt;/STRONG&gt;&lt;BR&gt;&amp;nbsp;Manual render functions that allow use your own thread as the render thread, good for offline rendering or incorporation into another product.&amp;nbsp; RenderEngine.ManuallyInitializeRender and ManuallyRenderNextFrame.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Datasource ConnectionParameters&lt;/STRONG&gt;&lt;BR&gt;&amp;nbsp;Helper function for specifying data sources without a content manifest.&amp;nbsp; The string parameter was very hard to use, this is nicer.&amp;nbsp; There are also a few new options, like allowing caching of data specified this way.&amp;nbsp; See TerrainImages.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;CelestialStyle&lt;/STRONG&gt;&lt;BR&gt;&amp;nbsp;Allow display of a stylized sky with constellations.&amp;nbsp; This is used on the website in Road Mode, but you can set it yourself.&amp;nbsp; See SimpleForm.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Versioning&lt;BR&gt;&lt;/STRONG&gt;&amp;nbsp;Support for running code built against previous control versions, if it meets certain requirements.&amp;nbsp; I've outlined this in &lt;A href="http://blogs.msdn.com/virtualearth3d/archive/2009/04/01/upcoming-new-version.aspx"&gt;http://blogs.msdn.com/virtualearth3d/archive/2009/04/01/upcoming-new-version.aspx&lt;/A&gt;.&amp;nbsp; To show it working, I've set up a page with samples built from the &lt;A class="" href="http://www.veteam.members.winisp.net/Spaceland/Samples/TestPage.htm" target=_blank mce_href="http://www.veteam.members.winisp.net/Spaceland/Samples/TestPage.htm"&gt;previous version&lt;/A&gt;&amp;nbsp;and from the &lt;A class="" href="http://www.veteam.members.winisp.net/Spaceland/Samplesv4/TestPage.htm" target=_blank mce_href="http://www.veteam.members.winisp.net/Spaceland/Samplesv4/TestPage.htm"&gt;new version&lt;/A&gt;.&amp;nbsp; Both sets work just fine with the new release.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Pixel-width lines&lt;/STRONG&gt;&lt;BR&gt;&amp;nbsp;GeometryManager supports pixel-width 3D lines (previously only single-pixel or meter-width).&amp;nbsp; See the Camera sample.&amp;nbsp; We also now have nice looking text labels.&amp;nbsp; See the XFile sample.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Constant value datasources&lt;/STRONG&gt;&lt;BR&gt;&amp;nbsp;Helper functions for supplying flat color or elevation data.&amp;nbsp; The Mandelbrot sample uses one to display flat elevation.&amp;nbsp; Please note that a DEM and an Imagery datasource are actually required for proper display.&amp;nbsp; These constant value sources are useful for this case.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Terrain Scaling&lt;/STRONG&gt;&lt;BR&gt;&amp;nbsp;WorldEngine.Min/MaxElevationScaling.&amp;nbsp; It is actually possible to have varying scale based on your altitude, but there is some cost associated and I recommend that you set the two values equal to each other.&amp;nbsp; Our default value is 1.0, unscaled.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Override Loading Screen&lt;BR&gt;&lt;/STRONG&gt;&amp;nbsp;You can now render (or suppress) the loading screen (affectionately known as "The Circle Of Hope" since our first version, back when the startup flow was a bit less stable than it is now).&amp;nbsp; In the very simplest case, write this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;class MyControl : GlobeControl&lt;BR&gt;&amp;nbsp;{&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; protected override void OnPaintLoading(...)&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;BR&gt;&amp;nbsp;}&lt;/P&gt;
&lt;P&gt;This will get you a black screen.&amp;nbsp; You can also grab a reference to the control's Graphics object from the PaintEventArgs and draw anything you like.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Building culling value&lt;/STRONG&gt;&lt;BR&gt;&amp;nbsp;Allows control of how many buildings are displayed, based on distance and size of the buildings.&amp;nbsp; WorldEngine.BuildingCulling.&amp;nbsp; The effectiveness of this varies on hardware -- some hardware benefits a great deal, some very little.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Turn on/off street level navigation&lt;BR&gt;&lt;/STRONG&gt;&amp;nbsp;Can turn off some of the special navigation effects that occur when right next to the ground, such as sticking to the ground, and the screen drag regions on the sides of the screen when at low altitude.&amp;nbsp; WorldEngine.Enable*.&lt;/P&gt;
&lt;P&gt;&lt;BR&gt;We have not yet updated the docs.&amp;nbsp; However, we did not make many fundamental changes to the code from an API perspective, and in fact existing code is as much as possible exactly the same.&amp;nbsp; So it is just lacking detail on the new features, and still a good reference.&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9541704" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/virtualearth3d/archive/tags/Code/default.aspx">Code</category><category domain="http://blogs.msdn.com/virtualearth3d/archive/tags/VE3D/default.aspx">VE3D</category><category domain="http://blogs.msdn.com/virtualearth3d/archive/tags/Documentation/default.aspx">Documentation</category></item><item><title>Documentation!</title><link>http://blogs.msdn.com/virtualearth3d/archive/2009/01/25/documentation.aspx</link><pubDate>Sun, 25 Jan 2009 22:21:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9375207</guid><dc:creator>NikolaiF</dc:creator><slash:comments>5</slash:comments><comments>http://blogs.msdn.com/virtualearth3d/comments/9375207.aspx</comments><wfw:commentRss>http://blogs.msdn.com/virtualearth3d/commentrss.aspx?PostID=9375207</wfw:commentRss><description>&lt;P&gt;Due to the outstanding efforts of our team's tech writer, we've produced some lovely help documentation and are able to share it with you, the intrepid VE3D dev community.&amp;nbsp; Why intrepid?&amp;nbsp; Well, at least some of you coded for some time and did some impressive work without even the intellisense files!&amp;nbsp; Even I think that takes dedication (and I'm not really being self-deprecating or anything, any signficant codebase is hard to work with when all you have is function names).&amp;nbsp; Lots of folks have asked for some more standard documentation files, and now we're able to deliver.&lt;/P&gt;
&lt;P&gt;&lt;A class="" title="Virtual Earth 3D Documentation" href="http://www.veteam.members.winisp.net/Spaceland/blog/VirtualEarth3DAPI.zip" mce_href="http://www.veteam.members.winisp.net/Spaceland/blog/VirtualEarth3DAPI.zip"&gt;Here they are!&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;As always, let us know if you have any trouble or suggestions.&amp;nbsp; Some of the usual caveats apply.&amp;nbsp; Both the API and documentation are still in beta form and are not officially supported.&amp;nbsp; That said, still make sure to let us know about what you want to do, issues you encounter, etc, and we'll do our best to help you out.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Update:&lt;/STRONG&gt;&amp;nbsp; the link now points to a zip file, which should bypass the "blocked" issue with the chm.&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9375207" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/virtualearth3d/archive/tags/VE3D/default.aspx">VE3D</category><category domain="http://blogs.msdn.com/virtualearth3d/archive/tags/Documentation/default.aspx">Documentation</category></item></channel></rss>