Blog'A'Little

Just another C# guy

Balder 3D Engine for Silverlight - Source Code is out

UPDATE, 12th of February 2010, Balder 0.8.8.6 is out - read more about the new features here.

UPDATE: Go to my new blog and the post about the updates for Balder, 3D in Silverlight, here

I've finally published the source code on CodePlex for the 3D engine posted earlier.
It has been built with Visual Studio "Orcas" Beta 1.

The state of the source code is not 100% yet, but people can download it for now and have a look at how you could do a simple 3D engine. In addition a lot of featuers have not been made yet. During the next couple of weeks there will be additions to it.

For the time being I've invited a few friends to join in on the development, after some development time we will invite others to join as well. The project can be found at :

http://www.codeplex.com/Balder

Feel free to come with any suggestions.

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

Comments

Blog'A'Little said:

Being a game developer in heart, my first instincts whenever a technology comes out that have visuals

kick it on DotNetKicks.com kick it on GameDevKicks.com
# juni 13, 2007 3:02

自由、创新、研究、探索…… said:

Silverlight在微软的产品特性中是没有3D功能的,但是开源社区的力量是强大的,现在有一个开源项目来实现这个功能,项目名称叫做Balder,网址是:http://www.codeplex.com...

kick it on DotNetKicks.com kick it on GameDevKicks.com
# juni 17, 2007 8:52

毛遂自荐博客集 said:

Silverlight 在微软的产品特性中是没有 3D 功能的,但是开源社区的力量是强大的,现在有一个开源项目来实现这个功能,项目名称叫做 Balder ,网址是: http://www.codeplex

kick it on DotNetKicks.com kick it on GameDevKicks.com
# juni 17, 2007 9:33

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

fabiopedrosa said:

Is there any need for the code to be in a "Orcas" Project Solution?

kick it on DotNetKicks.com kick it on GameDevKicks.com
# juni 22, 2007 8:34

Einar Ingebrigtsen said:

You can get it to compile in VS2005 :

http://silverlight.net/forums/t/370.aspx

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

SixSix said:

Silverlight在微软的产品特性中是没有3D功能的,但是开源社区的力量是强大的,现在有一个开源项目来实现这个功能,项目名称叫做 Balder,网址是: http://www.codeplex.com/Balder

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

littleme said:

Here is working 3D engine with texture mapping (although not perspective correct):

http://www.windowsvista.si/?content=main&show3d=1

kick it on DotNetKicks.com kick it on GameDevKicks.com
# juli 6, 2007 9:58

Einar Ingebrigtsen said:

This is cool stuff..  

The thing about my texturemapping problem is when you use triangles and want to specify mapping coordinates for each vertex in the triangle. Silverlight does not support this out of the box. There are two ways of overcoming this :

* Use imagebrush transforms to fake it and get the same effect

* Precalculate each texture for every face in a mesh, which might be the best way to go

kick it on DotNetKicks.com kick it on GameDevKicks.com
# juli 10, 2007 8:45

littleme said:

Einar Ingebrigtsen,

in fact Silverlight _does_ support specifying texture coordinates for each vertex. You can do it using proper Clipping and Matrix.

The above 3D Vista sample was done using that.

Source: http://www.windowsvista.si/js/object_3d.js

Used image: http://www.windowsvista.si/img/3d.jpg

You can see, that only one image was used.

If you want, I can tell you more about it.

kick it on DotNetKicks.com kick it on GameDevKicks.com
# juli 10, 2007 6:21

littleme said:

But of course, texture mapping is not perspective correct. Not good for 3D, but logical for 2D drawing.

kick it on DotNetKicks.com kick it on GameDevKicks.com
# juli 11, 2007 9:35

Einar Ingebrigtsen said:

Very interesting..  Please tell me more.. :)

If you don't mind, you can drop me an email : einar_at_dolittle.com.

Thanks for pointing this out. I've been pulling my hair out the last month over this issue.. :)

kick it on DotNetKicks.com kick it on GameDevKicks.com
# juli 12, 2007 5:17

Einar Ingebrigtsen said:

I downloaded the source..   It's plain and simple brilliant!  Damn..  I've been stuck on other ideas, but it makes perfect sence using clipping and PathGeometry for doing it.

Only thing that might be an issue is speed.    I will start implementation on this asap.. :)

Thanks again for the tip..

You're more than welcome to drop me an email for discussing further development on the Balder 3D engine. If you want to join in, drop me an email with your CodePlex username and I'll add you as a contributor to the project.

kick it on DotNetKicks.com kick it on GameDevKicks.com
# juli 12, 2007 5:22

liquidboy said:

Hi Einar,

Firstly awesome project. Just downloaded it and am playing with it as i write.

I have a question. Im currently creating my first silverlight app and im about to create an "itunes like album swisher" control, you know the cool eyecandy in the iTunes app that shows you the albums in 2D (but with perspective giving the 3D illusion).

Without having spent too long evaluating Blader, can your toolkit achieve this? Im hoping it can as im stuck at the moment working out how to achieve it in silverlight.

PS. my blog showing my silverlight/iTunes project is here if your interested... http://advertboy.wordpress.com/project-silverlight-11/

LiquidBoy/AdvertBoy

kick it on DotNetKicks.com kick it on GameDevKicks.com
# juli 16, 2007 9:32

Einar Ingebrigtsen said:

Hi,

thanks for your feedback.

I saw your project the other day and must say it's a great idea and it's really starting to take shape. Great work!

The Balder project should be able to achieve what you're looking for, maybe not easily right now, but when the TextureMapping feature is finnished and my binarysorter stops throwing exceptions. :)  

I've had to move away a bit from the original XAML way of doing things, in order to achieve the speeds I'm looking for, but I want to be able to use the builtin Animation (Storyboard) system for animating properties on Balder objects.

I've also been looking at a way to be able to create 3D scenes declaratively through XAML as well.

If you want to join in, don't hesitate to drop me an email with your CodePlex username (einar_at_dolittle.com).

kick it on DotNetKicks.com kick it on GameDevKicks.com
# juli 16, 2007 11:30

liquidboy said:

Thanks for the offer but i don't think i have anything to offer to your project yet, maybe in a couple of years time when im a guru of something id be able to then contribute.

ps. i have downloaded the source code and i have been studying how it all hangs together, i've learnt so much from it. Great work!!!

kick it on DotNetKicks.com kick it on GameDevKicks.com
# juli 17, 2007 9:37

Einar Ingebrigtsen said:

Thanks again.

I'm will be working on a tutorial and a WebCast for how to do simple 3D stuff using Silverlight.

The rendering pipeline you find in Balder can easily be adopted and used in any other environment, for instance a GDI+ solution.

Good luck with your ITunes application.

kick it on DotNetKicks.com kick it on GameDevKicks.com
# juli 17, 2007 5:33

Mark said:

Hi

This project is looking really exciting. I would be keen to help, probably with tutorials and documentation initially as my 3d knowledge is pretty limited. Codeplex username is mrtrombone.

I whipped up the example here (not Balder just Silverlight): http://timheuer.com/blog/archive/2007/07/03/14127.aspx

Cheers

kick it on DotNetKicks.com kick it on GameDevKicks.com
# juli 18, 2007 4:17

Einar Ingebrigtsen said:

That's great..

I've added you as a contributor to the project.

Cool if you can create some simple tutorials down the line..

kick it on DotNetKicks.com kick it on GameDevKicks.com
# juli 18, 2007 5:38

polkasti said:

I've added you as a contributor to the project.

kick it on DotNetKicks.com kick it on GameDevKicks.com
# november 1, 2008 9:44

Faking 3D in Silverlight « Caleb Jenkins | Developing UX said:

Pingback from  Faking 3D in Silverlight « Caleb Jenkins | Developing UX

kick it on DotNetKicks.com kick it on GameDevKicks.com
# januar 4, 2009 3:54

Vlad said:

# januar 31, 2009 12:44

davetiyeci said:

düğün davetiyesi ve davetiye sözleri

kick it on DotNetKicks.com kick it on GameDevKicks.com
# november 18, 2009 3:25
Leave a Comment

(required) 

(required) 

(optional)

(required) 

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