Blog'A'Little

Just another C# guy

3D in Silverlight 1.1 Alpha

Being a game developer at heart, my first instincts whenever a technology comes out that have visuals to it is to figure out a way to create some cool 3D stuff..

Silverlight proved to be a challenge doing this seeing that Microsoft dropped all of the subset of XAML that has to do with 3D. But fear not, it has the polygon visual...    That means we can do a lot of fun.

I've published an early version of my 3D engine at the following URL :
http://www.dolittle.com/Silverlight/3D/TestPage.html

In order to run it, you need the Silverlight 1.1 Alpha runtime, it can be
downloaded at the following location :
http://msdn.microsoft.com/vstudio/eula.aspx?id=e2c1a44f-0b5c-face-28c8-08a26f2e0b3c

It should look something like this :

Silverlight 3D - First Shot 

I will be publishing the source for the solution when I have it looking a bit better.

On to making texturemapping a reality ... :)


 UPDATE, 13th of June 2007 :
SourceCode is out. Read more about it at : http://www.dolittle.com/blogs/einar/archive/2007/06/13/balder-3d-engine-for-silverlight-source-code-is-out.aspx

kick it on DotNetKicks.com kick it on GameDevKicks.com

Comments

Alexey Gavrilov said:

Great stuff, Einar! It looks real good. I guess however that without z-buffer and any chance to emulate it we are kind of stuck anyways.

kick it on DotNetKicks.com kick it on GameDevKicks.com
# mai 21, 2007 11:51

Morten Salthe said:

Yeah, great! Looking forward to the source code, Einar :-)

kick it on DotNetKicks.com kick it on GameDevKicks.com
# mai 22, 2007 12:43

Einar Ingebrigtsen said:

Thanks..

You could fake Z-buffering by calculating the intersecting planes and then rely on sorting the polygons.

By implementing sorting I can get away with most of it. This might even be simpler than one would think, each polygon have a Z-index property. I'll have to look into this.

kick it on DotNetKicks.com kick it on GameDevKicks.com
# mai 22, 2007 2:34

Anthony S said:

Your project is very interesting.

I am actually trying to make a 3D cube (with 2 differents technologies) to display video, web page, RSS, or image.

I saw your example in javascript and I am looking for the same in C# under Orca. Perhaps we could help each other.

my mail : <censored for privacy issues>

Anthony S

kick it on DotNetKicks.com kick it on GameDevKicks.com
# mai 25, 2007 2:16

Community Blogs said:

Cream , as in &#39;Pick of the Litter&#39; is always subjective, but this is my list for today as I view

kick it on DotNetKicks.com kick it on GameDevKicks.com
# mai 29, 2007 2:35

dan said:

Good stuff Einar :)

kick it on DotNetKicks.com kick it on GameDevKicks.com
# mai 30, 2007 1:39

Michael's Blog said:

During the weekend I spent some minutes to collect some of the greatest Silverlight examples. Most of

kick it on DotNetKicks.com kick it on GameDevKicks.com
# juni 4, 2007 10:27

Jose Luis said:

Great job!!

come on and keep pushing! this looks great and can't wait to see your code :)

kick it on DotNetKicks.com kick it on GameDevKicks.com
# juni 12, 2007 7:54

FrankFi's view of the world said:

Hi... since there is no "build-in" 3D engine in Silverlight it makes sense to build some kind of engine.

kick it on DotNetKicks.com kick it on GameDevKicks.com
# juni 14, 2007 4:32

Web.Next said:

I just stumbled across this excellent work in Silverlight and 3D. Another great example of how the power

kick it on DotNetKicks.com kick it on GameDevKicks.com
# juni 15, 2007 12:30

John Dowdell said:

If you're into in-browser 3D, and are brand-neutral, then you might be interested in the Papervision 3D project too.

http://blog.papervision3d.org/

jd/adobe

kick it on DotNetKicks.com kick it on GameDevKicks.com
# juni 15, 2007 1:39

Eric Griffin's Blog said:

Screen shot of the demo . You can find out more here It's called Balder and is available on CodePlex

kick it on DotNetKicks.com kick it on GameDevKicks.com
# juni 15, 2007 2:40

Software Cafe said:

Sorry, this entry is in Japanese. ブログとデモンストレーションの紹介です。 Silverlight 1.1 で 3D が実現できています。WPF ではおなじみの きれいな

kick it on DotNetKicks.com kick it on GameDevKicks.com
# juni 15, 2007 4:25

Around and About .NET World said:

kick it on DotNetKicks.com kick it on GameDevKicks.com
# juni 16, 2007 8:03

Christophe Lauer, Blog Edition said:

Contrairement à une idée reçue et qu'on retrouve assez souvent sur un blog ou sur un autre, il n'y a

kick it on DotNetKicks.com kick it on GameDevKicks.com
# juni 17, 2007 12:03

Around and About .NET World said:

kick it on DotNetKicks.com kick it on GameDevKicks.com
# juni 22, 2007 12:06

MSDN Up North said:

Det har vært kjent en stund at Silverlight ikke skal støtte 3D, i alle fall ikke foreløpig. Einar Ingebrigtsen,

kick it on DotNetKicks.com kick it on GameDevKicks.com
# juni 27, 2007 10:59

Presentation layer said:

A WPF-esek nagy szívfájdalmára az SL runtime-ba nem kerül bele a 3D támogatás. Ilyenkor szokott az lenni

kick it on DotNetKicks.com kick it on GameDevKicks.com
# juli 5, 2007 10:58

Bryan Chow said:

分享几个国外的silverlight例子和blog GreatVisualStudioQuickStarts

kick it on DotNetKicks.com kick it on GameDevKicks.com
# juli 19, 2007 2:28

zbatorfi said:

A WPF-esek nagy szívfájdalmára az SL runtime-ba nem kerül bele a 3D támogatás. Ilyenkor szokott az lenni

kick it on DotNetKicks.com kick it on GameDevKicks.com
# juli 26, 2007 11:06

Sharepoint BUZZ said:

Mikey G has been posting some great content. Very hard to keep up with him. Is like doing full time blogging or something? Not that I&#8217;m complaining, learning alot from him. One of his latest posts (New Mashup � Combining SharePoint List Data ..

kick it on DotNetKicks.com kick it on GameDevKicks.com
# august 6, 2007 6:34

SilverlightExamples said:

This is great! While I'm finding a way to draw some basic pixels on the Image control, you guys have managed to draw up 3D objects already. Keep up the good works!

kick it on DotNetKicks.com kick it on GameDevKicks.com
# januar 7, 2008 4:02

JamesMattheson said:

Getting a Javascript error on page load.

document.getElementById("SilverlightControl") has no properties

That aside, it's only loading the 'Download Silverlight' image.

I have downloaded the latest version and still no change.  Can anyone help?

kick it on DotNetKicks.com kick it on GameDevKicks.com
# februar 3, 2008 3:45
Leave a Comment

(required) 

(required) 

(optional)

(required) 

Design downloaded from Free Templates - your source for free web templates