Re: [osg-users] hierarchy animation in FBX problem

2010-06-07 Thread Eric Pouliquen
All works great now indeed !

It is ok using trunk osg version, and compiling with FBX SDK 2011.2

Thanks a lot for your help and congrates for all your work !

Eric

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=28625#28625





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] hierarchy animation in FBX problem

2010-06-04 Thread Michael Platings
Hi Cedric,
I found that commenting out group->addChild(camera); made the model appear
normally so I guess that means there's something in the GUI widget that
breaks things.
HTH

On 4 June 2010 14:42, Cedric Pinson  wrote:

> Hi,
> In fact osganimationviewer works but you need to play with the camera to
> see find your object :)
>
> I thought It could comes from the refactore of osgGA manipulator
> something that would change in the context of osganimationviewer.
>
> Anyway I will have to dig and fix it. Just to warn you that if you
> search in the scene you may find your object :)
>
> Cheers,
> Cedric
>
> On Fri, 2010-06-04 at 09:45 +0100, Michael Platings wrote:
> > I'm using all the latest code from SVN, details here:
> > http://www.openscenegraph.org/projects/osg/wiki/Downloads/SVN
> >
> > osgAnimationViewer is broken at present so I'm using osgViewer, except
> > I modified it to automatically play any animations it finds.
> >
> >
> > On 4 June 2010 08:38, Eric Pouliquen  wrote:
> > Hi Michael,
> >
> > The sequence on your screenshots is correct !
> >
> > Did you try to open it directly in osganimationviewer ? Just
> > to be sure that the problem is not in this app.
> >
> > So that's a really good point for me if you managed to see the
> > anim in osg !
> >
> > I need now to ask you where to find code source of the version
> > you talked about ?
> >
> > * I did'nt find the 2011.2 OpenSceneGraph FBX plugin
> > version... can you tell me the svn folder ?
> > * which version of osg are you using ?
> > * My last tests of compilation crashed because the fbx plugin
> > code search osgAnimation include which doesn't exist
> > anymore :(
> >
> > If you can help just to set all correct versions...
> >
> > Thanks a lot for your help !
> >
> >
> > Eric
> >
> > --
> > Read this topic online here:
> >
> > http://forum.openscenegraph.org/viewtopic.php?p=28567#28567
> >
> >
> >
> >
> >
> >
> > ___
> > osg-users mailing list
> > osg-users@lists.openscenegraph.org
> >
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
> >
> >
> > ___
> > osg-users mailing list
> > osg-users@lists.openscenegraph.org
> >
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
> --
> Provide OpenGL, WebGL and OpenSceneGraph services
> +33 659 598 614 Cedric Pinson mailto:cedric.pin...@plopbyte.net
> http://www.plopbyte.net
>
> ___
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] hierarchy animation in FBX problem

2010-06-04 Thread Cedric Pinson
Hi,
In fact osganimationviewer works but you need to play with the camera to
see find your object :)

I thought It could comes from the refactore of osgGA manipulator
something that would change in the context of osganimationviewer.

Anyway I will have to dig and fix it. Just to warn you that if you
search in the scene you may find your object :)

Cheers,
Cedric

On Fri, 2010-06-04 at 09:45 +0100, Michael Platings wrote:
> I'm using all the latest code from SVN, details here:
> http://www.openscenegraph.org/projects/osg/wiki/Downloads/SVN
> 
> osgAnimationViewer is broken at present so I'm using osgViewer, except
> I modified it to automatically play any animations it finds.
> 
> 
> On 4 June 2010 08:38, Eric Pouliquen  wrote:
> Hi Michael,
> 
> The sequence on your screenshots is correct !
> 
> Did you try to open it directly in osganimationviewer ? Just
> to be sure that the problem is not in this app.
> 
> So that's a really good point for me if you managed to see the
> anim in osg !
> 
> I need now to ask you where to find code source of the version
> you talked about ?
> 
> * I did'nt find the 2011.2 OpenSceneGraph FBX plugin
> version... can you tell me the svn folder ?
> * which version of osg are you using ?
> * My last tests of compilation crashed because the fbx plugin
> code search osgAnimation include which doesn't exist
> anymore :(
> 
> If you can help just to set all correct versions...
> 
> Thanks a lot for your help !
> 
> 
> Eric
> 
> --
> Read this topic online here:
> 
> http://forum.openscenegraph.org/viewtopic.php?p=28567#28567
> 
> 
> 
> 
> 
> 
> ___
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> 
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
> 
> 
> ___
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

-- 
Provide OpenGL, WebGL and OpenSceneGraph services
+33 659 598 614 Cedric Pinson mailto:cedric.pin...@plopbyte.net
http://www.plopbyte.net


signature.asc
Description: This is a digitally signed message part
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] hierarchy animation in FBX problem

2010-06-04 Thread Michael Platings
>
> Is it possible you send me you osgviewer modified version to have all this
> animation pipeline working?
>

Attached :)


osgviewer.cpp
Description: Binary data
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] hierarchy animation in FBX problem

2010-06-04 Thread Eric Pouliquen
ok, I'm going to re-compile it.

Is it possible you send me you osgviewer modified version to have all this 
animation pipeline working?

Thanks a lot !

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=28582#28582





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] hierarchy animation in FBX problem

2010-06-04 Thread Michael Platings
I'm using all the latest code from SVN, details here:
http://www.openscenegraph.org/projects/osg/wiki/Downloads/SVN

osgAnimationViewer is broken at present so I'm using osgViewer, except I
modified it to automatically play any animations it finds.


On 4 June 2010 08:38, Eric Pouliquen  wrote:

> Hi Michael,
>
> The sequence on your screenshots is correct !
>
> Did you try to open it directly in osganimationviewer ? Just to be sure
> that the problem is not in this app.
>
> So that's a really good point for me if you managed to see the anim in osg
> !
>
> I need now to ask you where to find code source of the version you talked
> about ?
>
> * I did'nt find the 2011.2 OpenSceneGraph FBX plugin version... can you
> tell me the svn folder ?
> * which version of osg are you using ?
> * My last tests of compilation crashed because the fbx plugin code search
> osgAnimation include which doesn't exist anymore :(
>
> If you can help just to set all correct versions...
>
> Thanks a lot for your help !
>
>
> Eric
>
> --
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=28567#28567
>
>
>
>
>
> ___
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] hierarchy animation in FBX problem

2010-06-04 Thread Eric Pouliquen
Hi Michael,

The sequence on your screenshots is correct !

Did you try to open it directly in osganimationviewer ? Just to be sure that 
the problem is not in this app.

So that's a really good point for me if you managed to see the anim in osg !

I need now to ask you where to find code source of the version you talked about 
?

* I did'nt find the 2011.2 OpenSceneGraph FBX plugin version... can you tell me 
the svn folder ? 
* which version of osg are you using ?
* My last tests of compilation crashed because the fbx plugin code search 
osgAnimation include which doesn't exist anymore :(

If you can help just to set all correct versions...

Thanks a lot for your help !


Eric

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=28567#28567





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] hierarchy animation in FBX problem

2010-06-03 Thread Michael Platings
Hi Eric, I'm using the 2011.2 FBX Quicktime Viewer and the 2011.2
OpenSceneGraph FBX plugin and both animate identically for me. I've attached
an image sequence to show you what I see.

If that's wrong then it may be a consequence of the problem described here:
http://area.autodesk.com/forum/autodesk-fbx/fbx-sdk/error-in-animation-evaluation/.
If that is the source of the problem then you can fix it by either going
back to the 2010.2 plugin or waiting until the 2011.3 FBX SDK is released
later this month
<>___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] hierarchy animation in FBX problem

2010-06-03 Thread Eric Pouliquen
Sorry I've made a mistake in my previous post !

Take the 31.72 kb anim3.osg file, and change its extension to .fbx

In fact, it is a fbx file :)

I just change extension to have capability to send it on this forum

Thanks for your help

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=28553#28553





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] hierarchy animation in FBX problem

2010-06-03 Thread Michael Platings
Hi Eric, the error will have occured during conversion from FBX to OSG so I
can't use the OSG file to diagnose the problem. Try putting the FBX in a ZIP
and sending directly to my email address

On 3 June 2010 11:46, Eric Pouliquen  wrote:

> For your info, I'm using osg 2.9.6
>
>
> I've tried to compile last dev version but it seems fbx plugin code doesn't
> match anymore with osgAnimation...
>
> --
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=28534#28534
>
>
>
>
>
> ___
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] hierarchy animation in FBX problem

2010-06-03 Thread Eric Pouliquen
For your info, I'm using osg 2.9.6


I've tried to compile last dev version but it seems fbx plugin code doesn't 
match anymore with osgAnimation...

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=28534#28534





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] hierarchy animation in FBX problem

2010-06-03 Thread Eric Pouliquen
Hi Michael!

Thanks for your quick answer !

Yes the file plays correctly in the Quicktime FBX viewer.

Find attached the file, but rename extension to osg because it seems I cannot 
attach a file with fbx extension

Thank you!

Cheers,
Eric

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=28533#28533




Attachments: 
http://forum.openscenegraph.org//files/anim3_297.osg


___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] hierarchy animation in FBX problem

2010-06-03 Thread Eric Pouliquen
please find attached the file (converted to osg because it seems I can't 
attache fbx file)for your info.

if the animation plays normally, the two boxes stay attached and the object 
rotate and close like a mouse trap...

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=28532#28532




Attachments: 
http://forum.openscenegraph.org//files/anim3_383.osg


___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] hierarchy animation in FBX problem

2010-06-03 Thread Michael Platings
Hi Eric, does the file appear correctly in the FBX Quicktime Viewer? If yes
then please send me the FBX file and I'll take a look. Cheers

On 3 June 2010 11:21, Eric Pouliquen  wrote:

> Hi all,
>
> I've animated this test in Maya :
>
> One group, animated in translation and rotation
> In this group, two boxes, one without any animation, the other with
> rotation animated.
>
> Scene is exported in FBX using 2010.2 version
>
> When viewing this file in osgAnimationViewer, I can see an animation, but
> it seems osg do not apply the hierarchy of the group (multiplying transo
> matrices), and the boxes are badly animated...
>
> Seems that if there is any hierarchy in the scene, with animation on
> multiple levels, it do not work properly...
>
> I've tried unsing collada but in this case I have absolutly no animation !
>
> Can someone help me because at this moment I have absolutly no way do
> export really simple animation from Maya to OSG.
>
> Thank you!
>
> Eric
>
> --
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=28530#28530
>
>
>
>
>
> ___
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] hierarchy animation in FBX problem

2010-06-03 Thread Eric Pouliquen
Hi all,

I've animated this test in Maya :

One group, animated in translation and rotation
In this group, two boxes, one without any animation, the other with rotation 
animated.

Scene is exported in FBX using 2010.2 version

When viewing this file in osgAnimationViewer, I can see an animation, but it 
seems osg do not apply the hierarchy of the group (multiplying transo 
matrices), and the boxes are badly animated...

Seems that if there is any hierarchy in the scene, with animation on multiple 
levels, it do not work properly...

I've tried unsing collada but in this case I have absolutly no animation !

Can someone help me because at this moment I have absolutly no way do export 
really simple animation from Maya to OSG.

Thank you!

Eric

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=28530#28530





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org