osg::Box is the thing you are after. Create a ShapeDrawable for one, and add it
to a group that is part of, or that contains your cow model.
Then set node flags or a cull callback to make the ShapeDrawable invisible, and
if you like, you could also set flags on the intersection visitor to only
Hi,
I render a scene with objects on which I test linesegment intersection.
I want to achieve this:
If I point to an object I want to visualise it somehow (create BoundingSphere
over that *.OSG model) and for that I use ShapeDrawable-Sphere with StateSet
to PolygonMode which works nicely.
2 matches
Mail list logo