Hi,

one question, the osb file is generated with OSG 2.x or OSG 1.x ?

On Thu, 2009-09-10 at 13:26 +0200, Patrick Charrier wrote:
> Hi,
> 
> I'm kinda new to this, but I think I encountered a bug in the
> osb-file-loader in OpenSG 2.0 compiled with MSVC2008.
> 
> In short:
> NodeRecPtr geo = SceneFileHandler::the()->read("quadscaled.osb");

and a comment, could you try to call 

osg::commitChanges()

here.

> geo->updateVolume();
> BoxVolume volume = geo->getVolume();
> Vec3f min,max,center;
> volume.getBounds(min,max);
> volume.getCenter(center);
> Vec3f bBoxDiagonal = max - min;
> 

kind regards,
 gerrit



------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to