Finaly got the Scene loader Working, BUT only 97.3%!

Evak

13-04-2006 01:27:53

Woohoo, Finaly got the OSM Scene manager working :) in our app, almost everything seems to be working except for one odity, and no animation.

1: The odity is that initialy I thought our implementation wasn't working because all we saw was an empty window set at the ogre viewport colour but no scene was being drawn.

Prior to this we had the scene drawn but the settings for lights etc were not loading.

Anyway, with some experimentation I found that turning on stencil shadows manualy allowed the scene to be displayed almost perfectlyexcept for the background colour (all is good with the skybox etc). Not biggie, just wondering if anyone had any ideas regarding the BG colour.


2: The other thing is that my scene has a 600 frame light animation that works in the OSM_Viewer. I was wondering how I go about animating the scene thats being drawn in my app?

Here's the code I'm using to load the OSM scene:

class oSceneCallback : public OSMSceneCallbacks {
public:

};

DLL void _stdcall LoadScene(const char *file)
{
// Create the scene loader
OSMScene oScene;

// Create an oE_Loader Callback object to post-process created objects
oSceneCallback oe_Callback;

// Initialises with the scene to be loaded and the callback if requiered
oScene.initialise(file,&oe_Callback);

// create and setup the scene in the root node
oScene.createScene();
sceneMan = oScene.getSceneManager();

};


Any Help would be appreciated :)

Evak

13-04-2006 15:56:00

OK we got the animation working :), was pretty straightforward :) should have paid attention to the demo app some more :)

Still not loading quite right, but things are looking much better. In the last couple of weeks we wrapped Ogre into Blitzmax, got vehicles with physics moving around an Ofusion created scene. Really impressed with how fast everythings running :). over 300FPS average

http://s93153354.onlinehome.us/fmcogre.jpg

Now I just need to start playing with ofusion more and getting used to next gen features after using DX7 so long.

Quick screenshot from as of lastnight :)



Now I need Liorics new shader tutorials for bump speculare reflections, and using rendermonkey ;P

Lioric

15-04-2006 17:32:24

Very nice :D

I just played the video, its impressive, i like the specular light effect form the animated light on that round, portal like, mesh

It will be very imprssive when you start adding high-detail like bump mapping and other shader effects

Evak

15-04-2006 20:53:19

hey thanks Lioric. we added some simple AI and a stack of physics blocks to play with this morning. Next up Camera collisions and basic weapons :)

http://s93153354.onlinehome.us/FM1.wmv

BTW, Ofusion is great, I doubt we would have taken the plunge and integrates ogre3D if it wasn't for your art pipeline :)

Lioric

16-04-2006 19:11:25

nice progress!