Re: [osg-users] OpenSceneGraph Newbie: PErformance question

2012-09-11 Thread Randall Hand
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?

Re: [osg-users] OpenSceneGraph Newbie: PErformance question

2012-09-11 Thread Sergey Polischuk
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

Re: [osg-users] OpenSceneGraph Newbie: PErformance question

2012-09-11 Thread Jason Daly
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

Re: [osg-users] OpenSceneGraph Newbie: PErformance question

2012-09-11 Thread Tueller, Shayne R Civ USAF AFMC 519 SMXS/MXDEC
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

Re: [osg-users] OpenSceneGraph Newbie: PErformance question

2012-09-11 Thread Randall Hand
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:

Re: [osg-users] OpenSceneGraph Newbie: PErformance question

2012-09-10 Thread Chris Hanson
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

Re: [osg-users] OpenSceneGraph Newbie: PErformance question

2012-09-10 Thread Randall Hand
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

Re: [osg-users] OpenSceneGraph Newbie: PErformance question

2012-09-10 Thread Chris Hanson
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

Re: [osg-users] OpenSceneGraph Newbie: PErformance question

2012-09-10 Thread Randall Hand
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,

Re: [osg-users] OpenSceneGraph Newbie: PErformance question

2012-09-10 Thread Chris Hanson
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