Hi, Peterakos

If you load model from fbx format, osg optimizer can screw up some things, dont 
use optimizations that change drawable arrays, like INDEX_MESH, 
VERTEX_PRETRANSFORM, VERTEX_POSTTRANSFORM, TRISTRIP_GEOMETRY, as it will broke 
vertex attribute binding to bones etc. Try to open your model in osgviewer with 
OSG_OPTIMIZER="OFF" env var, and check if it make any difference.

Even if above is not your case, by default osgAnimation transforming vertices 
and normals for skin animation on cpu side, so it can actually be quite slow 
(but i'm not sure about 10 fps on such machine). There are some support for 
hardware skinning, but it is not all that automated and such, you can check 
osganimationhardware example to get a feel how to use it.

Cheers,
Sergey.

22.11.2012, 17:06, "Peterakos" <[email protected]>:
> Hello.
>
> I load in osg a model with 130K triangles and 76K vertices.
> This model supports animation.
> I see that it runs only with 10 frames.
>
> Is it normal for my pc ?
> GTX 560
> 8GB memory
> cpu: 
> http://ark.intel.com/products/65520/Intel-Core-i5-3570K-Processor-6M-Cache-up-to-3_80-GHz
>
> thnx.
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to