Two good questions

Posting some answers to questions I’ve gotten recently. Bug in the samples: Kind of silly that I hadn’t noticed this until now, but there’s an error in the sample html for most of the samples.  The name of the functions used for plug-in load and activate conflict with an internal name used in the AJAX…


Multitouch in VE3D

Ever since I got a Touchsmart at home I’ve been very interested in the desktop touch experience, and so in the last couple days I decided to play with how I could incorporate it into VE3D.  The code itself isn’t really ready for consumption, but if you’d like to see where I’m at, I’ve built…

11

Animation Redux

This sample was released before, but didn’t have a version that could run on the web without an install. The new version in the samples pack is almost exactly the same, so I won’t go over it again in detail.  This post is just to show it off interactively. See it in action! When the page…

1

Actors and DataSources

In this sample, we create a DataSource, which is a class that can be used for large-scale data sets.  It provides hooks into the system’s spatial index, memory cache, and background data threads.  Data from the DataSource will only be requested when it is in view, and will be automatically cached according to how often…

1

Camera Control

In this sample, we create a plug-in to move the camera to a random location in the world every time a HTML button is pressed.  It demonstrates basic plug-in loading, writing and using a CameraController, and communicating between a plug-in and the hosting web page via Events. See it in action. Camera controllers are important because…

1

Terrain Imagery Overlays

There are four ways to add custom imagery to VE3D.  The first three involve using built-in classes, and you just have to provide information on where to get the data.  The fourth involves implementing your own DataSource. See it in action!  This sample demonstrates how to add common terrain imagery data to the world, and…

3

Controlling Time

Today we show a little of the “Time” sample.   It demonstrates how to use the concepts of rendering time and world time. In any rendering or simulation engine it is important to understand the system’s concepts of time.  VE3D uses two time concepts.  The first is “rendering time”, which is a time value specified at the…

3

Current Samples

Here’s the newest, most whiz-bang sample set we’ve got right at the moment. Download The Samples! Get the Bing Maps 3D installer! For the future, whenever we update the sample set we will update this post, to save you (and us) from having to slog through out-of-date links. Updated April 9, 2009.  Current Control Version:  4.0

5

Animation

Note:  this entry references code for an older version of VE3D.  The newest code samples are here. Smoothly animated objects make for a more compelling 3D world, and in this entry we’ll learn about using them.  In the X File entry, the model that we loaded could be rotated around a point.  This is pretty easy,…

2

Installing Plug-Ins

Note:  this entry references code for an older version of VE3D.  The newest code samples are here.  Some types of plug-ins feature special data or rendering, and are intended to be used with a particular website.  Others are intended to enhance the experience of all websites, and run every time a user runs VE3D.  Most of…

2