Hi Andrey, I did a proof of concept to put needed elements to osg. The main problem is that currently there is no way to automatically get the location to put the vertex attrib data. The things i tried is to run the program once and dump the attrib location and then edit the program to assign it. But it's hard coded and not manageable for real use. The other stuff that would need some work is the way to compute the bounding box. We can have different strategy: - Define a specific bounding box, can be use when you just want to cull without small detail so you setup a maximized bounding box. - Define a low res skinning (software) and use the result to compute the bounding box.
Currently the software implementation compute the bounding box from the original vertex transformed. It can consume too much time and if you have a lot of vertex and you just want to approximate the bounding box. There is a thread that talk about it Subject: [osg-users] Using vertex attributes Date: 08/10/09 04:12:14 (Sun, 09 Aug 2009 20:12:14 -0600) Anyway if you want to look to what is working, you can get my branch at hg clone http://hg.plopbyte.net/osg-trunk/ the code is disabled but can be enabled to try it. I wait Paul Martz submit its work about a new osg::Geometry that would be able to get the attrib location. Cheers, Cedric -- +33 659 598 614 Cedric Pinson mailto:[email protected] http://www.plopbyte.net On Wed, 2009-10-21 at 14:14 +0200, Andrey Krekhov wrote: > Hi, > > Currently I'm working on my Bachelor thesis within a project using osg > (and osgAnimation). One of my tasks will probably be to accelerate > osgAnimation by using the GPU. Thus, probably i will have to implement > Hardware Skinnig. Now my question: You mentioned that hardware skinnig > is one of your short-term goals. What are your current status concerning > this? Depending on that, I want to decide whether to wait for your > release or implement it by my own (shader or Cuda based). > > Thanks in advance, > > Greetings, > Andrey > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org >
signature.asc
Description: This is a digitally signed message part
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

