MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




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 Virtual Earth Blogs 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 ...


Go Back   MapPoint Forums > Blogs > Virtual Earth Blogs

Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read



Click here to register

Reply

 

LinkBack (1) Thread Tools Display Modes
  1 links from elsewhere to this Post. Click to view. #1 (permalink)  
Old 01-25-2008
Senior Member
Blue Belt
 
Join Date: Sep 2007
Posts: 161
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: Virtual Earth, 3DVIA, Dassault


Click here to view the full post.

Last edited by Eric Frost; 01-25-2008 at 07:39 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
customize, mashups, models, virtual, website, world


LinkBacks (?)
LinkBack to this Thread: http://www.mapforums.com/3d-models-mashups-customize-your-own-virtual-world-your-website-7046.html

Posted By For Type Date
The Magazine for MapPoint - MP2K Magazine This thread Refback 01-25-2008 08:12 AM

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Wonders of the World on Virtual Earth VE For Government Virtual Earth Blogs 0 10-17-2007 09:41 AM
Liens vers des mashups et applications utilisant Virtual Earth EMEA Virtual Earth Blog Virtual Earth Blogs 0 09-27-2007 11:07 AM
Links to Virtual Earth mashups and applications EMEA Virtual Earth Blog Virtual Earth Blogs 0 09-27-2007 11:07 AM
Virtual Earth Mashups for Everyone Johannes Kebeck's Blog Virtual Earth Blogs 0 09-15-2007 03:25 PM
Virtual Earth Gives People a Way to Explore The World Online Eric Frost MapPoint Web Service and Virtual Earth 0 07-25-2005 06:13 AM


All times are GMT -5. The time now is 07:08 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
MP2K Magazine
Visitor Map

Ski Resorts
Choose from the comprehensive range of ski resorts at Holiday Hypermarket. Search for ski holidays online at Holiday Hypermarket to find ski holidays that are right for you.

Flights to Portugal
Find and book flights to Portugal. Travel Counsellors can help with travel to Portugal including flights and accommodation.

Holiday to Thailand
Want to go somewhere new? Book a low cost holiday to Thailand at dealchecker.co.uk. See the stunning national parks and uninhabited islands.

Sri Lanka Holidays
There are some outstanding deals on Sri Lanka holidays at theholidayplace.co.uk. Sri Lanka is renowned for it's exceptional beauty! Book a holiday today!

Cheap Greece Holidays
For cheap Greece holidays make sure you know when to book and who to book with. Visit ulookubook.com to get help with doing both of those things. Why not time your visit with a Greek festival?

Compare Prices
Travel.co.uk makes it easy for you to compare prices from hundreds of UK based travel companies.

Holidays in Portugal
Find the perfect Algarve holiday. Book holidays in Portugal now at On The Beach.


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 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52