Hi Carsten, Thanks for taking a look. I think you might be on to something regarding the bounding volumes since the ground plane doesn't seem to have a bounding volume and there's a strange warped BV in the distance (see images below).
I'm a little confused as to why the BV is playing such a role, though. I thought OpenSG was using the OcclusionQuery interface for these tests. So, it should be rendering the object to test for visibility...unless the BV is rendered for the query instead to speed up the query process. Is this the case? http://www-personal.umich.edu/~emaslows/temp/osg/osg_occ-bv_01.jpg http://www-personal.umich.edu/~emaslows/temp/osg/osg_occ-bv_02.jpg Thanks again, E. --- Eric Maslowski Research Computer Specialist University of Michigan 3D Lab email: [EMAIL PROTECTED] -----Original Message----- From: Carsten Neumann [mailto:[EMAIL PROTECTED] Sent: Monday, October 27, 2008 19:12 To: [email protected] Subject: Re: [Opensg-users] Occlusion Culling & Flickering Objects Hello Eric, Maslowski, Eric wrote: > Has any changes been made recently to 1.8 that could cause occlusion > culling to break? (> Oct. 10th) unless there is a problem with the commits mailing list, there have not been any commits to 1.x since Sep 30. > I didn't see anything relevant doing a > diff with previous versions (or in the archives), but occlusion culling > is now causing my scene to flicker in specific situations. When > navigating through the scene, occlusion get's "confused" at times and > keeps hiding/showing an particular object . This wouldn't be much of a > problem if it was done for an object that is nearly occluded, but it's > doing it for my ground plane even though it is entirely visible. I > included a video showcasing the problem (below). I have not yet looked at it (need to find a machine with the right codec installed - probably my box at home), but one thing you might try is enable drawing of the bounding volumes - RenderAction::setVolumeDrawing(true) - and see if those look correct. > Disabling occlusion > fixes the problem and changing the threshold value has no effect. Has > anyone else encountered this or have any ideas of what might be going on > here? Hopefully looking at the video gives me an idea, right now the BVs are the only thing that comes to mind. Kind regards, 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 ------------------------------------------------------------------------- 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
