Re: [osg-users] how can I ignore the UpdateCallback

2009-10-17 Thread Himar Carmona
The viewer didn't draw the node because you set the value to the node mask to something that also avoids the cull visitor to process (visit) the node? You can't set it to 0 because you will also achieve this behavior. Take a look at the method ViewerBase::frame. To render a frame, it does 3

[osg-users] OT: Re: Is there any examples about OpenThreads?

2009-10-17 Thread Ulrich Hertlein
Hi Cory, On 16/10/09 6:37 PM, Cory Riddell wrote: Ulrich Hertlein wrote: ... Yes, CPUs usually have their own caches and data can be different in the different caches. However, this isn't what synchronization is solving. This problem (cache coherency) is handled by the hardware. The reason

Re: [osg-users] I'm lost the UpdateCallbacks

2009-10-17 Thread Robert Osfield
Hi Martin, To check to see if the callback is being loaded do a: osgconv myfile.osg testfile.osg And then have a look in the testfile.osg to see if the callback appears, if it doesn't then it looks like it hasn't been loaded correctly, or perhaps just not saved correctly. If it doesn't load

Re: [osg-users] Question about implement a Timer thread

2009-10-17 Thread Robert Osfield
Hi Shinna, I'm a bit perplexed why you actually need a timer in the way you want. The OSG provides a FrameStamp on each new frame that provides the frame number and simulation time - this is sufficient for most animation work. Robert. On Sun, Oct 11, 2009 at 6:39 PM, Shiina Ringo

Re: [osg-users] Away on a trip

2009-10-17 Thread Robert Osfield
Hi All, I'm back and will continue to focus on the OpenGL ES 2.0 port, and will bit by bit be merging the pending submissions/investigation bugs. As a general note, my plan is now not to branch the OSG to make the OpenGL ES 2.0 port as I originally declared but work directly on svn/trunk through

Re: [osg-users] Silouhette computation and osgShadow::OccluderGeometry

2009-10-17 Thread Robert Osfield
Hi Tanguy, It's several years since I wrote the below code, but from looking at it now it looks like I was experimenting with adding a tolerance value to account for numerical errors. In this case the tolerance is set to 0.0 so in effect the n1 = cos(acosf(n1)) will cancel out to not change the

Re: [osg-users] Multiple Windows

2009-10-17 Thread Robert Osfield
Hi Russell, Have you tried: viewer-done(true); ? Robert. On Mon, Oct 12, 2009 at 8:20 AM, Russell Morris russell.co...@gmail.com wrote: Hey all, I've been searching the forums this afternoon and can't seem to find the answer to my question. I have a viewer setup with the following:

Re: [osg-users] Rendering difference from osg and coin3D

2009-10-17 Thread Robert Osfield
Hi Miguel, There must be something specific about your geometry that are causing the deviation in behavior. It could be one of many things that is either done or not done in Coin3D or the OSG, given the scope of different things that it could be there really is little chance of us guessing what

Re: [osg-users] xine plugin - XINE_EVENT_UI_PLAYBACK_FINISHED event

2009-10-17 Thread Robert Osfield
Hi Eric, On Wed, Oct 14, 2009 at 2:31 PM, Eric Pouliquen epouliq...@silicon-worlds.fr wrote: Hi all,  I saw that the xine ReaderWriter declare a class that can manage the end of movie event (in looping case). Is there any simple way to detect this event in an app which uses this library ?

Re: [osg-users] VPB: creating flat earth DB with specified projection

2009-10-17 Thread Robert Osfield
Hi John, On Tue, Oct 13, 2009 at 2:26 PM, John Vidar Larring larr...@weatherone.tv wrote: Is this a usage issue, a bug or not-implemented-yet issue? My initial attempts of creating a flat projected database were based on this documentation from osgdem --help: I believe your usage should be

Re: [osg-users] VPB: creating flat earth DB with specified projection

2009-10-17 Thread Alejandro Aguilar Sierra
Robert, welcome back! IMHO, with better documentation, the growing set of VPB users (including me) could help. OTOH, there should be a set of automatic tests to assure that the different tasks of osgdem remain bug free. A bit more test driven development would be good. I will raise the topics

[osg-users] osg::Image SubImage

2009-10-17 Thread Johannes Schüth
Hi, is there a way of getting a subimage from an osg::Image? I only found the option of inserting an image as a portion of a bigger image by using osg::Image::copySubImage. Thank you! Cheers, Johannes -- Read this topic online here: