views:

596

answers:

2

Hey,

Can anyone point me in the right direction when it comes to parsing a skp and displaying a 3d model on a website through silverlight or flash

+1  A: 

Silverlight's still kinda slow as far as web 3d engines are concerned (although I'm expecting great things from it in the next few years).

So in flash there's alot of evolved graphic engines like Papervision3D for example. You use these libraries to load a certain 3d file format, I forgot the name.

Anyway, you then just export your sketchup file into this format, or into another format you could later convert. Although I think you need the FULL version of sketchup to export if I'm not mistaken...

Shnitzel
Flash is going down!
Hamish Grubijan
Sketchup can export to COLLADA which than can be loaded into Silverlight and than displayed using the ViewPort3d control.. i'm not 100% but i will post back when i have an answer.. i believe Silverlight 3 has this control only
ChrisKolenko
@Chris: any luck figuring out a good way to import your 3D models?
Dave
Hi Dave, i downloaded the new Sketchup version which allows you to export to COLLADA. I then found some source code for displaying a COLLADA file in WPF which I believe will work for silverlight 3. http://blogs.msdn.com/guillaumerandon/archive/2006/08/29/729841.aspx you'll have to navigate your way through the non english version to find the source just look for the heading. Good luck
ChrisKolenko
A: 

You can use a tool such as 3DPaintBrush to export the Sketchup files to XAML which can then be used in Silverlight projects. Unfortunately 3DPaintBrush isn't free, but it does have a 15 day trial to see if it is worth getting.

Waleed Al-Balooshi
I've looked into 3DPaintBrush.. maybe i haven't researched enough.. but from what i did see it will not work for what i'm aiming to do.. I want to load in my model and have it working with out having to convert into XAML etc etc..
ChrisKolenko