Hello Henrique,

[EMAIL PROTECTED] wrote:
> Hi,
> 
> I've just updated from OpenSG 1.8 release 0 (2007-10-25) to release 1
> (2008-06-06), 

do you mean you are using different snapshots, for AFAIK there is no 
1.8.1 version ;)

> and found out that the bounding boxes of some objects in our
> scene are incorrect.
> 
> One of the sides of our scene's bbox is heading towards infinity, as if
> some objects contained a vertex located at infinity.

is that a possibility, i.e. that you have a vertex at infinity in your 
geometry ?

> After two days hunting a bug in our code (which we haven't found yet), I
> found out that a rollback to the late 2007's OpenSG 1.8 release fixes the
> bboxes without any change to the source code.
> 
> I've attached 4 screenshots, two before the update and two showing the
> problem after the update.

thanks for sending these, they are very helpful for understanding the 
problem (unfortunately I'm less clear on what its cause is ;) ).

> Do you know of any change to OpenSG that may explain this problem?

There was a change involving bounding boxes, they were incorrect for 
Geometry that was not a leaf of the scene graph. To double check I just 
took another look at that code and it looks ok to me.

> Has anyone experienced a similar problem or know what might be causing it?
> 
> Any kind of help, suggestion or tip is very welcome.

I suppose the bounding boxes on the images you sent are drawn by the 
RenderAction with setVolumeDrawing(true)? If you move closer to your 
scene more of the interior bounding boxes should become visible, maybe 
you could use that to narrow down which object (and if it is Geometry or 
some other Drawable) has the incorrect bounding box ?

        Hope it helps,
                Carsten

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to