[osg-users] ref_ptr needed for this?

2008-12-14 Thread Andreas Goebel
Hi, I have a construction like this: TheGeometry->addPrimitiveSet(new osg::DrawArrays(osg::PrimitiveSet::POLYGON,0,numCoords)); which is inspired by an osg- example. I ask myself if this will give a memory-leak, or if this is ok, as the pointer is directly passed to the TheGeometry-objec

[osg-users] Windows XP GDI Menu Shadow flicker on ATI Radeon

2008-12-14 Thread Eron Steger
When menu shadows in Windows XP are enabled, I get a flickering artifact where some menu shadows overlaps with the area being rendered. This happens with the build in examples, such as osglogo.exe. I'm allowing the osgViewer module to create the window, using the OSG_WINDOW environment variab

[osg-users] osgLua?

2008-12-14 Thread Hartmut Seichter
Hi there, I am trying to combine the power of osgLua and osgSWIG in a new project (no I am not mad :)) ... However, I couldn't get osgLua play nicely on Linux - I did all the patching mentioned but no avail. I am on 64bit Ubuntu ... any idea where things go haywire ... seems that RTTI get st

Re: [osg-users] database pager problem in 2.6.1

2008-12-14 Thread Robert Osfield
Hi Simba, I'm afraid I can't really follow your email well enough to know what might be up. What I can say is that there has been a number of improvements to the DatabasePager since 2.6.1 that allow you to manage memory usage much better. To enable this you have use the appropriate settings, but

[osg-users] database pager problem in 2.6.1

2008-12-14 Thread Simba
Hi all, Recently I've found a quite strange problem in osg 2.6.1. My application needs to load/add some ive files(contains some pagedlod nodes) to the scene root after the the viewer is ran. In order to make pagedlod available, I get the database pager in osgViewer::viewer and use the meth

Re: [osg-users] Compressed osg::Image not a power of two in earth_bayarea database

2008-12-14 Thread Maciej Krol
Thanks Robert, I was afraid that it's a bug, not a feature :) Regards, Maciej 2008/12/14 Robert Osfield > Hi Maciej, > > On Sun, Dec 14, 2008 at 10:32 AM, Maciej Krol wrote: > > Hi Robert et al, > > > > I am testing http://www.openscenegraph.org/data/earth_bayarea/earth.iveon > > almost seve

Re: [osg-users] Precipitation effect coming too fast, and hiding on some areas

2008-12-14 Thread Robert Osfield
HI Joakim & Fred, I noticed the same vertical rain artifact. osgParticle::PreciptiationEffect will normally fall vertically but when the camera moves it will appear with the correct motion, so it looks like the effect is moving with the camera with this usage, normally the effect would be move wit

Re: [osg-users] Compressed osg::Image not a power of two in earth_bayarea database

2008-12-14 Thread Robert Osfield
Hi Maciej, On Sun, Dec 14, 2008 at 10:32 AM, Maciej Krol wrote: > Hi Robert et al, > > I am testing http://www.openscenegraph.org/data/earth_bayarea/earth.ive on > almost seven years old PC (Athlon 1700+, 256 MB RAM, GeForce 4MX 64MB, > WinXP). I must say it runs just fine with a decent framerate

Re: [osg-users] upper view

2008-12-14 Thread Robert Osfield
HI Olfat, On Sun, Dec 14, 2008 at 10:11 AM, olfat ibrahim wrote: > I need to change my chnnel or camera view for an upper view > i tried to to use : > > osg::Matrix lookAt; >lookAt.makeLookAt(osg::Vec3(0.0f, 0.0f, 0.0f), osg::Vec3(0.0f, 0.0f, > 0.0f), osg::Vec3(0.0f, 0.0f, 0.0f)); >

Re: [osg-users] LOD problems in earth_bayarea database.

2008-12-14 Thread Robert Osfield
Hi Maciej, This isn't a bug, rather just an attribute of the way that the resolution selection algorithm is working for each tile, if a tie contains a high res region of elevation data then it'll be sampled at a high res, if it doesn't then a lower res of tile will be used. At the lowest level of

Re: [osg-users] 2.8 planned date?

2008-12-14 Thread Robert Osfield
Hi Fred, On Sat, Dec 13, 2008 at 5:45 PM, Frederic Bouvier wrote: > The release manager was talking about making the release at the end of > next week ( around the 19th ) This is pushing it for us. I believe svn/trunk is a quite a good state, but there a few loose ends that need to be completed

Re: [osg-users] 2.8 planned date?

2008-12-14 Thread Robert Osfield
Hi Dusten, On Sat, Dec 13, 2008 at 7:14 PM, Dusten Sobotta wrote: > Is there a page that depicts specific changes and/or enhancements with 2.8 > over 2.4? Afraid not. There is the ChangeLog that lists every submissions, but this will contain many hundreds of changes so is probably not high leve

Re: [osg-users] Precipitation effect coming too fast, and hiding on some areas

2008-12-14 Thread Frederic Bouvier
Hi Robert, Robert Osfield a écrit : > Hi Fred, > > On Sat, Dec 13, 2008 at 4:02 PM, Frederic Bouvier wrote: > >> The same problem affect FlightGear too : it rains into the cockpit. >> Would it be possible to kill a particle when it comes under a certain >> distance from the viewer ? >> >> If y

[osg-users] Compressed osg::Image not a power of two in earth_bayarea database

2008-12-14 Thread Maciej Krol
Hi Robert et al, I am testing http://www.openscenegraph.org/data/earth_bayarea/earth.ive on almost seven years old PC (Athlon 1700+, 256 MB RAM, GeForce 4MX 64MB, WinXP). I must say it runs just fine with a decent framerate. The only problem that I have is that when I zoom into bay area textures o

[osg-users] upper view

2008-12-14 Thread olfat ibrahim
I need to change my chnnel or camera view for an upper view i tried to to use : osg::Matrix lookAt; lookAt.makeLookAt(osg::Vec3(0.0f, 0.0f, 0.0f), osg::Vec3(0.0f, 0.0f, 0.0f), osg::Vec3(0.0f, 0.0f, 0.0f)); viewer.getCamera()->setViewMatrix(lookAt); but the program crashed i tried

Re: [osg-users] Precipitation effect coming too fast, and hiding on some areas

2008-12-14 Thread Joakim Simonsson
Hi Fred, On Sat, 13 Dec 2008 17:02:38 +0100, Frederic Bouvier wrote: If you want to see this funny effect in action, watch this video http://www.vimeo.com/2511328 ( move forward to 5:00 ) Very nice vid. But besides from raining inside the plane, it seems that the rain particles are "to