Re: [osg-users] Kinect(OpenNI) / Blender - Character / Animation

2012-01-09 Thread Cedric Pinson
Hi,
Skinning is not yet supported on the new blender exporter.

Regards,

Cedric Pinson
Provide OpenGL, WebGL services
+33 659 598 614 - 
http://cedricpinson.com - http://osgjs.org - http://showwebgl.com

On Jan 9, 2012, at 12:31 PM, Benjamin Gehmlich wrote:

> Hi,
> I have a blend-file (test) and want to export this with the animation.
> 
> But when I choose "Export Animation" and take a look at the osg-file, there 
> are no keyframe...?
> 
> http://www.uploadarea.de/upload/hs4chpc7v45puymtwfk7vqzdh.html
> 
> Thank you!
> 
> Cheers,
> Benjamin
> 
> --
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=44705#44705
> 
> 
> 
> 
> 
> ___
> 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] Kinect(OpenNI) / Blender - Character / Animation

2012-01-09 Thread Benjamin Gehmlich
Hi,
I have a blend-file (test) and want to export this with the animation.

But when I choose "Export Animation" and take a look at the osg-file, there are 
no keyframe...?

http://www.uploadarea.de/upload/hs4chpc7v45puymtwfk7vqzdh.html

Thank you!

Cheers,
Benjamin

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





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


Re: [osg-users] Kinect(OpenNI) / Blender - Character / Animation

2012-01-03 Thread Benjamin Gehmlich
Hi Cedric,

by the version 2.59 it doesn't work. I install the the script and see the 
entry, but I can not enable the addon.
[Image: http://www7.pic-upload.de/thumb/03.01.12/xum28nx4h7fr.png ] 
(http://www.pic-upload.de/view-12504262/blender2_59.png.html)



By the Version 2.60a it works good.

Thanks.

___


Now I have two skeletons (blender, kinect) with different size.

How can I match this?
Or is it enough to copy the Rotation from the Bones?

In a simple test I create a funktion like this.

update(XnSkeletonJointTransformation jointT)
{
//fill Matrix with the value from jointT 
::osg::Matrix mat(values);
Bone->setMatrix(mat);
}


Thank you!

Cheers,
Benjamin

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





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


Re: [osg-users] Kinect(OpenNI) / Blender - Character / Animation

2012-01-02 Thread Cedric Pinson
Hi,
The best would be to improve the osgexporter to support skinning correctly for 
blender 2.60. The repository is on github, 
https://github.com/cedricpinson/osgexport


Cedric Pinson
Provide OpenGL, WebGL services
+33 659 598 614 - 
http://cedricpinson.com - http://osgjs.org - http://showwebgl.com

On Jan 2, 2012, at 12:41 PM, Benjamin Gehmlich wrote:

> Hi at all and a happy new year.
> 
> I want to animate a character in OSG with the Kinect(OpenNI).
> 
> My idear was to create an character in Blender(2.59 / 2.6...) with a skeleton.
> But I am not sure how can I export this. I cant install the osgexporter.
> In an other topic from me ("Problems with setInfluenceMap to RigGeometry") I 
> used a little python script. 
> 
> This writes bonename, pointinex and weight in an txt file.
> Then I export the mesh as an OBJ-File.
> But I think this isn't a good way.
> 
> Have anybody a better idear?
> 
> Thank you!
> 
> Cheers,
> Benjamin
> 
> --
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=44519#44519
> 
> 
> 
> 
> 
> ___
> 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] Kinect(OpenNI) / Blender - Character / Animation

2012-01-02 Thread Benjamin Gehmlich
Hi at all and a happy new year.

I want to animate a character in OSG with the Kinect(OpenNI).

My idear was to create an character in Blender(2.59 / 2.6...) with a skeleton.
But I am not sure how can I export this. I cant install the osgexporter.
In an other topic from me ("Problems with setInfluenceMap to RigGeometry") I 
used a little python script. 

This writes bonename, pointinex and weight in an txt file.
Then I export the mesh as an OBJ-File.
But I think this isn't a good way.

Have anybody a better idear?

Thank you!

Cheers,
Benjamin

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





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