Re: [osg-users] Autoshadow aliasing in shadow maps

2011-08-30 Thread Robert Osfield
Hi Sergey, On Mon, Aug 29, 2011 at 10:55 PM, Sergey Polischuk pol...@yandex.ru wrote: All shadowmapping techniques have problems with such aliasing problems. You can try use shadow volumes technique as it dont suffer from this problem and generates correct shadows in any case, but it have

Re: [osg-users] How to force reloading the texture in the shader

2011-08-30 Thread Robert Osfield
HI Fred, What is probably happening is the update to the texture is happening just fine, but the previous frames draw traversal is still running so sees the update to the image and downloads and uses it right away. Setting the threading to SingleThreaded will prevent the osgViewer from running

[osg-users] [build] cmake install target

2011-08-30 Thread Gianni Ambrosio
Dear All, is it possible to specify a custom install target for cmake? I need that because even if I run nmake with a subset of osg libs as target, then calling nmake install will force the build of the missing libs (that I don't need). On the other hand I need to have all built libs in a lib

Re: [osg-users] When ref_ptrs get deleted

2011-08-30 Thread David Benoit
Sorry. I was not clear about exactly what my problem was. It was not a memory leak. I was running out of memory because the OSG garbage collector was not freeing memory right away. It would eventually free memory if I waited long enough, but I needed a way to force it to free the memory

Re: [osg-users] When ref_ptrs get deleted

2011-08-30 Thread Ulrich Hertlein
Hi David, On 30/08/11 14:37 , David Benoit wrote: Sorry. I was not clear about exactly what my problem was. It was not a memory leak. I was running out of memory because the OSG garbage collector was not freeing memory right away. It would eventually free memory if I waited long enough,

[osg-users] [osgPlugins] Writing plugins, where to start

2011-08-30 Thread Paul Leopard
Hi, My apologies if I have missed something but I have been searching for some good reference material on the requirements for writing OSG plugins. Would someone be so kind as to point me to some documentation that will detail the steps and requirements for creating a plugin from scratch?

Re: [osg-users] [osgPlugins] Writing plugins, where to start

2011-08-30 Thread Chris 'Xenon' Hanson
On 8/30/2011 8:30 AM, Paul Leopard wrote: Hi, My apologies if I have missed something but I have been searching for some good reference material on the requirements for writing OSG plugins. Would someone be so kind as to point me to some documentation that will detail the steps and

Re: [osg-users] [osgPlugins] Writing plugins, where to start

2011-08-30 Thread Paul Martz
On 8/30/2011 8:30 AM, Paul Leopard wrote: Hi, My apologies if I have missed something but I have been searching for some good reference material on the requirements for writing OSG plugins. Would someone be so kind as to point me to some documentation that will detail the steps and

Re: [osg-users] [osgPlugins] Writing plugins, where to start

2011-08-30 Thread Paul Leopard
[quote=Paul Martz]On 8/30/2011 8:30 AM, Paul Leopard wrote: And it appears Wang Rui's book contains plugin info in chapter 10. https://www.packtpub.com/openscenegraph-3-0-beginners-guide/book Perfect! That's what I was looking for Thanks! Paul -- Read this topic online here:

Re: [osg-users] When ref_ptrs get deleted

2011-08-30 Thread David Benoit
Ulrich, You appear to be correct. As it turns out, in the process of debugging the issue and discovering the flush() function, I also add some redraw calls. In my new code, I can turn off the flush()'s and I'm fine, but I can't turn off the redraw. I did check the refCounts were 0 when I

Re: [osg-users] Drawing a simple sphere...

2011-08-30 Thread Yann Blaudin de Thé
Can someone tell me what are the options to pass to cmake to compile OSG on OSX Lion? (either to a .framework form, or to a *nix form, like a .dylib) I definitely don't get it, and I'm not experienced enough to find it out by myself. As written in a previous mail, I used so far: