Welcome to MapForums!

Register, sign in, or use Facebook Connect above to join in and participate in the forum.

When you are signed in, this message, the ads in this row, and the red-underlined link ads all go away.

Subscribe to receive our newsletter.
Subscribe Unsubscribe
Results 1 to 1 of 1

3D Models in Mashups. Customize your own Virtual World on your website!

This is a discussion on 3D Models in Mashups. Customize your own Virtual World on your website! within the Bing Maps Blogs & Tweets forums, part of the Blogs category; Yesterday i promised a great new 3D feature for developers so here it is. In December a minor rev of ...

  1. #1
    VE Team is offline Senior Member Blue Belt
    Join Date
    Sep 2007
    Posts
    185

    3D Models in Mashups. Customize your own Virtual World on your website!

    Yesterday i promised a great new 3D feature for developers so here it is. In December a minor rev of the Virtual Earth Map Control v6 was released. For those that aren't software developers, the VE map control is a JavaScript library providing developers a unified interface for adding traditional mapping as well as 3D visualization and navigation to their web applications. [learn about it in the dev center] In this release we added the ability to load custom 3D models as part of a Collection right in your own web applications! This means that you now have end to end control of your own virtual world, from object creation (with our integrated 3DVIA Modeler) to placement and interactions with our Map Control. And since VE is easy to embed in web applications its now easy to bring your own custom 3D environment to your websites. The possibilities in industries like Real Estate and City Planning all the way to interactive gaming are amazing!

    As an example, here is a Collection in Live Search Maps that I put together of three houses in the north end of Capitol Hill in Seattle. And here is the same collection of 3D models running in my own application or mashup.


    Best of all, the code is trivial. if you know how to load a Collection, you already know how to load 3D models. All you do is add your models to one of your Collections, then load that collection in your Application in 3D. Virtual Earth will take care of fetching and displaying the models. View source of the app above to see the whole thing. here are the relevant bits -

    function OnPageLoad()
    ******* {***
    ********* map = new VEMap('mymapcontroldiv');
    ********* map.onLoadMap = EventMapLoad;
    ********* map.LoadMap(new VELatLong(47.6277,-122.3166), 10 ,'h' ,false);
    ******* }


    function EventMapLoad()
    ***** {
    ********* map.SetMapMode(VEMapMode.Mode3D);
    ********* var viewspec = new VEMapViewSpecification(new VELatLong(47.6277,-122.3166), null, 600, -37, 250);********
    ********* map.SetMapView(viewspec);
    ********* var l = new VEShapeLayer();*****
    ******************* var veLayerSpec = new VEShapeSourceSpecification(VEDataType.VECollection , "546E7E30AC2C5011!3308", l);****
    ********* map.ImportShapeLayerData(veLayerSpec);
    ***** }
    ***

    How do you add a 3d object to a Collection? Simple! In Live Search Maps, switch into 3D mode. Zoom into the area you want to create a model, right click, and choose 'add 3d Model'. then follow the instructions to install the 3DVIA modeling tool. Here are some getting started tutorials to jumpstart your modeling session.

    *

    Technorati tags: , ,


    Click here to view the full post.
    Last edited by Eric Frost; 01-25-2008 at 08:39 AM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Wonders of the World on Virtual Earth
    By VE For Government in forum Bing Maps Blogs & Tweets
    Replies: 0
    Last Post: 10-17-2007, 10:41 AM
  2. Liens vers des mashups et applications utilisant Virtual Earth
    By EMEA Virtual Earth Blog in forum Bing Maps Blogs & Tweets
    Replies: 0
    Last Post: 09-27-2007, 12:07 PM
  3. Links to Virtual Earth mashups and applications
    By EMEA Virtual Earth Blog in forum Bing Maps Blogs & Tweets
    Replies: 0
    Last Post: 09-27-2007, 12:07 PM
  4. Virtual Earth Mashups for Everyone
    By Johannes Kebeck's Blog in forum Bing Maps Blogs & Tweets
    Replies: 0
    Last Post: 09-15-2007, 04:25 PM
  5. Virtual Earth Gives People a Way to Explore The World Online
    By Eric Frost in forum Bing Maps and MapPoint Web Service
    Replies: 0
    Last Post: 07-25-2005, 07:13 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36