Re: [osg-users] TriangleFunctor/TriangleIndexFunctor with Vertex Attributes?

2010-07-29 Thread Rob Radtke
That makes sense. Thank you so much for the quick reply! Rob On 7/27/2010 2:23 AM, Robert Osfield wrote: Hi Rob, If you want to access the vertex attribute data (such as colours, normals, tex coords) then you are probably best to do a dynamic_castGeometry* on the drawable and then access

Re: [osg-users] TriangleFunctor/TriangleIndexFunctor with Vertex Attributes?

2010-07-27 Thread Robert Osfield
Hi Rob, If you want to access the vertex attribute data (such as colours, normals, tex coords) then you are probably best to do a dynamic_castGeometry* on the drawable and then access the data that way. If the drawable isn't a geometry then you'll need to use a cast to whatever object it is.

[osg-users] TriangleFunctor/TriangleIndexFunctor with Vertex Attributes?

2010-07-26 Thread Rob Radtke
Thank you Robert for the detailed explanation of TriangleFunctor and TriangleIndexFunctor. Those classes have proven to be very useful to me. I'm curious to know if there is a good way to use those classes in a manner that allows you to also access attributes for each vertex. In particular,

[osg-users] TriangleFunctor/TriangleIndexFunctor with Vertex Attributes?

2010-07-26 Thread Rob Radtke
Thank you Robert for the detailed explanation of TriangleFunctor and TriangleIndexFunctor. Those classes have proven to be very useful to me. I'm curious to know if there is a good way to use those classes in a manner that allows you to also access attributes for each vertex. In particular,