Hi Petr,
Quoting Petr Svoboda upd...@seznam.cz:
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.
But the problem is:
The intersection visitor accepts
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.
Hi Nilton,
Neither osg::BoundingBox or osg::BoundingSphere will be sufficient for
the purpose of collision detection against polygon wall geometries,
these bounding volumes are just suitable for very coarse grained
intersections tests like required for culling.
The
Hi Nilton,
This test does not work properly and IF always return TRUE.
In addition to what Robert said, I'll add that the reason your test
returns true is that you're using the camera's bounding sphere. Since
the camera is the root of the scene graph, its bounding sphere contains
the
Hi, everybody!
I am looking to use BoudingBox into my application.
I want to avoid collison or transverse the walls of the buildings, when
navigating with the camera.
Here are my test using BoundingSphere:
const osg::BoundingSphere bs1 = viewer.getCamera()-getBound();
const
Hi,
Wondering if anyone from the list can help me.
I have a 3x3 grid of tiles from a terrain database, my aim is to get an
outline representation of this 3x3 by just using lines to represent each
tile.
My solution is the following:
osg::BoundingBox bbox ;
bbox.expandBy(node-getBound());
6 matches
Mail list logo