[osg-users] Changing texture coordinates of built-in shape drawables

2008-05-07 Thread Franclin Foping
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

Re: [osg-users] Changing texture coordinates of built-in shape drawables

2008-05-07 Thread Robert Osfield
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

Re: [osg-users] Changing texture coordinates of built-in shape drawables

2008-05-07 Thread Bob Kuehne
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