Re: [osg-users] PolytopeIntersector with AutoTransform

2016-12-04 Thread Bruno Oliveira
Thanks for the answer. How could I solve this? 2016-12-04 12:47 GMT+00:00 Robert Osfield : > Hi Bruno, > > The complication with AutoTransform is the it computes it's values > only in the CullVisitor so you'll inherit what ever the last frame > used for it's settings. This should work OK most of

Re: [osg-users] PolytopeIntersector with AutoTransform

2016-12-04 Thread Robert Osfield
Hi Bruno, The complication with AutoTransform is the it computes it's values only in the CullVisitor so you'll inherit what ever the last frame used for it's settings. This should work OK most of the time. If you have multiple views on the scene this will mean that there are multiple stats but on

[osg-users] PolytopeIntersector with AutoTransform

2016-12-03 Thread Bruno Oliveira
Hello, in my scene graph I'm using an AutoTransform to add a circle with Radius=10, centered on (0,0,0): float Radius = 10; for (int i = 0; i < nPointsInCircle; i++) vertArray[i] = Vec3d( radius * sin(...), radius* cos(...), 0.)); then I add this to a Drawable + Geode, and add that Geode