in general, don't use shape drawables if performance is important. shape
drawables render in immediate mode: the slowest form of rendering on
modern gfx
hardware. this is a topic paul and i discuss in our course in detail.
bob
ps - shameless plug: next osg course: june 11-13, boulder colorado
On May 7, 2008, at 7:02 AM, Robert Osfield wrote:
Hi Franclin,
You can't modify the texture coordinates of ShapeDrawable, as explain
yesterday, ShapeDrawable is just a simple class for enabling rendering
shape primitives, its not meant as a general purpose rendering tool.
Please build geometries using osg::Geometry as per the osggeometry
example for general purpose rendering.
Robert.
On Wed, May 7, 2008 at 11:00 AM, Franclin Foping <[EMAIL PROTECTED]>
wrote:
Hi,
I would like to achieve a multitexture effect on built-in shape
drawable
objects (Box, Capsules and so forth).
My question is how to get and/or change the texture coordinates of
these
objects?
Waiting for your reply.
Franclin.
__________________________________________________
Do You Yahoo!?
En finir avec le spam? Yahoo! Mail vous offre la meilleure protection
possible contre les messages non sollicités
http://mail.yahoo.fr Yahoo! Mail
_______________________________________________
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
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org