Hi Daniel,

On 29 May 2013 14:01, Daniel Schmid <[email protected]> wrote:
> No I have a hard time to figure out if there is already some classes in osg
> that help me do such thing, or how I should accomplish that. I’m not very
> used to PrimitiveSet and this stuff, so can somebody help me?

There isn't any existing OSG functionality that does this.  You could
either create a visitor that find the geometry leaves and then
traverses the vertex/normal and primitive data as you've suggested, or
write a vertex shader then moves the vertex position up along the
direction of the normal, personally I'd do the later.

Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to