Ah, seems you're right.. I
just tweaked it to load an oBJ I've been using for testing (company
logo graphic) and now I'm up at 200fps in each of my 2 viewers, much
better.
Can I get a quick run-down on what exactly kicks it off the "fast path"?
Or is this documented on the Wiki somewhere?
Hi you can take a look at Geometry::computeFastPathsUsed() source and check yourself. As a general rule you are going to be slow, if your geometry uses separate indices in osg::Geometry for vertex attribs (not those in DrawElements*** primitive sets, but those set with
On 09/11/2012 09:41 AM, Sergey Polischuk wrote:
Hi
you can take a look at Geometry::computeFastPathsUsed() source and
check yourself. As a general rule you are going to be slow, if your
geometry uses separate indices in osg::Geometry for vertex attribs
(not those in DrawElements*** primitive
Are you on Windows or Linux?
If Windows, are you running with debug OSG libs? If so, release OSG libs
are much faster.
Just a thought...
-Shayne
-Original Message-
From: osg-users-boun...@lists.openscenegraph.org
[mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Randall
OSX
Tueller, Shayne R Civ USAF AFMC 519 SMXS/MXDEC
September 11,
2012 11:33 AM
Are you on Windows or
Linux? If Windows, are you running with debug OSG libs? If so,
release OSG libsare much faster.Just a thought...-Shayne-Original
Message-From:
On Mon, Sep 10, 2012 at 8:35 PM, Randall Hand randall.h...@gmail.comwrote:
I'm experimenting with OpenScenegraph for a new project, and I've build a
simple application that opens 2 viewer windows, and places 3 teapots in
them (using the teapot object from the osgteapot example), translating
It's better, but still slower than I'ld expect. Hovers now around
100-110fps.
--
Randall Hand
http://www.vizworld.com
On Mon, Sep 10, 2012 at 10:10 PM, Chris Hanson xe...@alphapixel.com wrote:
On Mon, Sep 10, 2012 at 8:35 PM, Randall Hand randall.h...@gmail.comwrote:
I'm experimenting with
It's better, but still slower than I'ld expect. Hovers now around
100-110fps.
Something in the back of my mind makes me think the Teapot is using a
really poor geometry representation that forces OSG onto old, slow OpenGL
code paths. I didn't actually see the vertices or polygons in the OSG
hrm.. Well, I'm using the osgteapot example code (
http://www.openscenegraph.org/projects/osg/browser/OpenSceneGraph/trunk/examples/osgteapot/osgteapot.cpp),
that i modified to use basic front/back emissive materials instead of
textures.
--
Randall Hand
http://www.vizworld.com
On Mon, Sep 10,
On Mon, Sep 10, 2012 at 10:04 PM, Randall Hand randall.h...@gmail.comwrote:
hrm.. Well, I'm using the osgteapot example code (
http://www.openscenegraph.org/projects/osg/browser/OpenSceneGraph/trunk/examples/osgteapot/osgteapot.cpp),
that i modified to use basic front/back emissive materials
10 matches
Mail list logo