Loading models from database and serializing created scenes

Mar 15, 2010 at 3:37 PM

Good day!

First of all I want to sincerely thank you for this exciting 3D engine initiative. After analyzing different alternatives of 3D support in Silverlight we have chosen Balder as the most mature and well-supported engine. Then we begun creating prototype for our online furniture shop project. And now some questions have emerged. The main one is about dynamic loading of furniture models from database to client and saving created by user environment to database. If we've understood correctly, the only way to import models is to attach them to assemblies as resources and there is no easy way to export created scenes. But we need to load a lot of models from database depending, for example, on furniture type chosen by user. Also we want to give users an opportunity to create their own furniture settings inside rooms and save them for further use.

So, is there a way to load models from database rather than from resources? What's about serialization of Balder objects? How can we save a room with several furniture models, lights and camera to database?

Thank you for attention!

Coordinator
Mar 15, 2010 at 6:27 PM

Thanks for choosing Balder. 

For now, Balder can't load from anything but files stored in the XAP, or at least that is what we have been testing. It might be possible to load files from a HTTP handler on the server that is connected to the database, but again not tested. There has been several wanting the feature to specify other sources, so we have a task up on the task board for doing so. 

As for saving the scene, we have not discussed that yet as this is the first request for it. But a great idea. The asset system will be under revision very soon, and both these features could easily be implemented then. Can't promise anything when. 

Mar 16, 2010 at 11:39 AM

Thanks for instant reply and willingness to add new features requested by Balder users! We will be looking forward for them. Wish you every success!

 

Coordinator
Mar 16, 2010 at 11:58 AM

Thanks!   

I'll try and remember to update this thread when the feature is done - so if you have email notification for this thread, you should be instantly notified.