Hi,
My app is currently rendering via the slow path. I've checked for
DrawArrayLengths and BIND_PER_PRIMITVES, but don't seem to have either.
Dose anyone know of other things I should be looking for? I am walking
through the rendering stage to see if I can figure out what is getting set
that is putting me on the slow track, but I don't have endless amounts of
time to do this. If anyone has any understanding of this, I would be most
appreciative if you could point me in the right direction.
If you need more information, check my post "FBO problem?"
Thanks!
Keith
PS: Thanks a lot for the help, Jason.
On Tue, 30 Nov 2010, Jason Daly wrote:
On 11/30/2010 08:09 PM, Keith Parkins wrote:
I am using geo->setNormalBinding(osg::Geometry::BIND_OVERALL);
and I did see a model with NormalBinding PER_VERTEX. Should I be setting
these to BIND_OFF or is it just BIND_PER_PRIMITIVE?
No, BIND_PER_PRIMITIVE is the "bad" binding. All of the others are fine.
If you are avoiding BIND_PER_PRIMITIVE and the attribute indexes, I'm not
sure why you'd be falling off the fast path. There may be other reasons
for it, but I can't think of them...
--"J"
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org