Animation in tutorials 2 and 3 not exported?

imtrobin

01-04-2006 16:36:27

Hi,

I'm new to ofusion, I just tested exporting the tutorial scene 2 and the ligtjhmapping scene, and built using the osceneloader demo. However, the camera and light are not animating like in 3dsmax, are they supposed to be so?

Lioric

01-04-2006 16:54:07

When you exported your the scene, did you activate the "Export animations" option and defined an animation set (in the animation list) with all the animation time range?

imtrobin

01-04-2006 17:37:43

Oh, I need to add an animation set? I just exported like this.

http://cyberversion.com/private/ofusionexport.jpg

imtrobin

01-04-2006 17:51:20

Hmm. Added a loop animation in the Export list but it didn't work too.

rnieber

01-04-2006 19:40:49

Since I use Dagon and the new scene loader demo application I have the same problem with the gt4_part2_final.max animation. Besides if I turn on shadows the car and plane are disappeared in the demo application. With Azathoth I have no problems.

imtrobin

02-04-2006 11:34:03

What do you mean by turning on shadows, I don't see an option in the exporter for this. Perhaps you left out the plane and car mesh or texture file?

I use Dagon too, and recompiled the oSceneLoade demo, added the animation loop, and loaded the exported lightmapping final scene. The light doesn't animate. When I bring the scene to the OSM viewer here, the animation works.

http://www.ogre3d.org/phpBB2addons/viewtopic.php?t=431

Is there a switch to turn on the animation?

imtrobin

02-04-2006 12:00:17

Updating on the issue. I realized for tutorial 2, I need to press 'C' to switch to the animated camera.

For dagon build, the camera is not working correctly and is stuck at the bottom of the car. When I bring the assets to OSM_viewer, the camera works flawlessly.

For lightmapping scene, no light animation with dagon build. Works fine with OSM_viewer using same assets.

rnieber

02-04-2006 12:33:15

You can find the shadow options in the scene settings panel which is an option in the oFusion toolbar in 3dsmax.

imtrobin

02-04-2006 15:49:04

Gotcha. Confirmed disappearing problem with shadows turned on.

Lioric

02-04-2006 17:31:10

I will take a look at this

Majin

03-04-2006 21:30:24

Hi, Lioric!

Like imtrobin, I realized that the camera is stuck at the bottom / center of the car (tutorial 2) when using the Dagon build. Do you have some news?

Thanks a lot!

PS.: everything is fine when the model is viewed using OSM_viewer :wink:

Lioric

04-04-2006 19:37:02

The animation issue was fixed in the updated scene loader lib available in the downloads page

You should download the demo application too if you are using it

imtrobin

04-04-2006 20:52:26

Cool. It works now. Thanks!

rnieber

05-04-2006 16:32:46

The problem with shadows is that the numbers of the types are changed

Azathoth:
SHADOWTYPE_NONE,
SHADOWTYPE_STENCIL_MODULATIVE,
SHADOWTYPE_STENCIL_ADDITIVE,
SHADOWTYPE_TEXTURE_MODULATIVE

Dagon:
SHADOWTYPE_NONE = 0x00,
SHADOWDETAILTYPE_ADDITIVE = 0x01,
SHADOWDETAILTYPE_MODULATIVE = 0x02,
SHADOWDETAILTYPE_STENCIL = 0x10,
SHADOWDETAILTYPE_TEXTURE = 0x20,
SHADOWTYPE_STENCIL_MODULATIVE = 0x12,
SHADOWTYPE_STENCIL_ADDITIVE = 0x11,
SHADOWTYPE_TEXTURE_MODULATIVE = 0x22,
SHADOWTYPE_TEXTURE_ADDITIVE = 0x21,

I you use Dagon you can change the number of the similar shadowTechnique (type=" ") in the .osm file.