2007/12/11, Jeremy Moles <[EMAIL PROTECTED]>:
> > How big is Cal3D?  I ask in terms how much effort would it be required
> > to reimplement the unique parts not found in the core OSG?
>
> It's hard to say--there's a lot of code in Cal3D supporting the mesh
> format, XML loading, matrices, vectors, quaternions, etc. If I had to
> estimate, I'd guess OSG already contains 20-25% of what Cal3D has to
> implement itself to be graphics library/system agnostic, and another
> 20-25% or so is code relating to it's mesh format. So, you'd probably
> have to re-implement half of it... :(

As I said before cal3d meshes are not used by osgCal for performance
and memory usage reasons. They are used at export stage to generate
ready to direct load meshes file. For compability loading from cal3d
.cmf-files is still here.

The only things needed to be integrated in OSG to remove cal3d
dependeny are skeleton support and skeleton animation support. OSG and
osgCal have all other things.

But skeleton animations is not enough, exporters to these animations
are also needed. It is artist pipeline that need most work.

> > > In the opinion of someone who is familiar with Cal3D, I'd say that we
> > > wait a bit on inclusion of this until someone has the time to cleanup
> > > the current plugin. Hardware skinning is a pretty common performance
> > > boost these days, and whatever solution arises for OSG, I'd personally
> > > look at support for this feature as the make-or-break aspect.
> >
> > I thought there was already hardware skinning support in place.  So
> > which versions which hardware skinning?
>
> Not in Cal3D itself. The software doesn't make any attempt to bind
> itself to any graphics API, so things like hardware skinning are left up
> to the user (though they do include examples using the old
> shader/assembly code or whatever it's called). Vladimir patched support
> for GLSL skinning into osgCal2, but it's currently Linux only...

No. It's not linux only. osgCal2 works on windows also. There is no
CMake files in osgCal2, it uses old OSG make files to make osgCal on
unix systems and on mingw under windows. People have made Visual
Studio project files and osgCal works ok on windows.
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to