I'm playing with SLAR and trying to use Balder as the rendering engine, starting from the example in the SLAR toolkit. I'm having a lot of trouble with the Balder part though. I can see a good mix of Balder samples at http://www.ingebrigtsen.info/Balder/SampleBrowser/TestPage.html
but when I try to replicate that code in my own application, it won't compile.
I'm using Balder 0.8.8.9, Silverlight 4, Microsoft Visual Web Developer 2010 Express, SLARToolkit 18.104.22.168.
There have been numerous minor issues, which lead me to suspect that the Balder samples are built against a different version of Balder to the one I'm using.
For example, the Programatic/teapot sample shows how to programatically load a mesh from an ASE file. It includes statements like this:
ContentManager.AssetsRoot = "Assets";
_teapot = ContentManager.Load<Mesh>("teapot.ase");
Neither of these statements compile in my environment. The class reference to ContentManager won't compile unless I add a "using Balder.Content" declaration (the sample doesn't have one). Having referenced the class correctly the samples still
won't compile because the class doesn't defined a static property "AssetsRoot" or a static method "Load<Mesh>"; they're instance methods. I'd need to obtain an instance of ContentManager to access them, and so far I haven't worked
out how to do that - the only constructor takes several arguments that I don't recognise and can't provide.
These are only examples of the sort of snags I've run into. I don't see how the samples could compile against Balder 0.8.8.9. Are they coded against a different API version?
As an aside - I haven't found any API documentation at all - I'm working from the samples, and the metadata from the DLL. Does any API documentation exist? It would make this learning experience much easier if so.