[osg-users] Question about switching between MatrixManipulator

2009-10-09 Thread Shiina Ringo
Hi, Here just a quetion confused me: I have a KeySwitchMatrixManipulator , which served as a swithcer between 2 MatrixManipulator : a default Trackball and a MatrixManipulator that I defined(bounding to a object) . The problem is : when I hit the button to switch the above MatrixManipulator ,

Re: [osg-users] Restoring a Viewer's MatrixManipulator

2009-10-09 Thread Shiina Ringo
Hi,Phil I just have met the same problem , like the switching of 2 MatrixManipulators , that the home position is not the position which is like the default position. I just look forward to anyone could give some advice. Thank you very much! Cheers, Shiina -- Read this topic

Re: [osg-users] SVN commit bottleneck

2009-10-09 Thread Jean-Sébastien Guay
Hi Chris, It seems like we don't have any capacity in this regard right now. I'll shorten the question -- other than Robert, who does have SVN commit access? Well, I think you've been with us for a while now, so you must have some idea about this. It seems to me that whenever commit rights

Re: [osg-users] Databasepager + multiple views + different camera positions = memory leak?

2009-10-09 Thread sergey leontyev
Robert, I tried the 2.9 trunk code with. osg::DisplaySettings::instance()->setMaxTexturePoolSize(1); osg::DisplaySettings::instance()->setMaxBufferObjectPoolSize(2); The problem still exists. As memory usage was growing and growing. I just left the computer running and observed th

[osg-users] is the osg inventor loader broken?

2009-10-09 Thread John Kelso
Hi, We're running 2.8.2 on a 64-bit Centos system. OSG was configured to use Coin-3.1.1. Not too long ago I ran an old demo using the new releases and noticed that an Inventor file that used to load properly no longer did. Checking around, many others also didn't. Here's a simple example file

Re: [osg-users] SVN commit bottleneck

2009-10-09 Thread Chris 'Xenon' Hanson
Chris 'Xenon' Hanson wrote: > I don't think I'm qualified to nominate myself for this right now. > However, I'm wondering who does have SVN commit access, and if one of these > people is > willing to accept interim changes? I have several finished changes ready to > check in, and > I worry ab

Re: [osg-users] How to use ImageSequence?

2009-10-09 Thread Ulrich Hertlein
On 9/10/09 5:01 PM, stefan nortd wrote: I am trying to use the osg::ImageSequence without much result. Maybe somebody can point me in the right direction. Did you look at osgimagesequence.cpp? I am creating the ImageSequence object, use addImageFile(...) to populate at and then try to assig

Re: [osg-users] [3rdparty] How to run osgOcean

2009-10-09 Thread Jean-Sébastien Guay
Hi Kim, http://code.google.com/p/osgocean/wiki/HardwareSupport Heh, did I actually make a typo in the page title? Geez... Sorry, I was in a hurry and didn't notice it. Thanks for your vigilance. J-S -- __ Jean-Sebastien Guayjean-sebas

Re: [osg-users] [3rdparty] osgOcean collision detection

2009-10-09 Thread Jan Ciger
"Jean-Sébastien Guay" wrote: > > Is there a place where I can > > get your changes? Ideally, just make an experimental branch, commit it > > there and once it is tested, merge into the trunk. That is fairly easy to > > do with SVN. > > I'll try to get that done before the end of the day. > Just

[osg-users] Using Own CullVisitor

2009-10-09 Thread Ragnar Hammarqvist
Hi All, I have written a custom cull visitor inheriting from the sosgUtill::stategraph, This inherited class do stat-set switching right before they are pushed onto the state graph. Im setting my cullVisitor with this line. dynamic_cast(pCamera->getRenderer())->getSceneView(0) -

Re: [osg-users] memory leak in osg 2.8.2 ?

2009-10-09 Thread Thrall, Bryan
Sebastien Nerig wrote on Friday, October 09, 2009 9:50 AM: > Hi, > > I take an osg example (I tried with the osgTeapot example project), then I > add the command > > Code: > viewer.run(); > _CrtDumpMemoryLeaks(); > return 0; > > at the end of the main function. (it dumps all the memory blocks

[osg-users] How to use ImageSequence?

2009-10-09 Thread stefan nortd
Hi, I am trying to use the osg::ImageSequence without much result. Maybe somebody can point me in the right direction. I am creating the ImageSequence object, use addImageFile(...) to populate at and then try to assign it to a texture for drawing. Then nothing shows up. One problem is that ima

[osg-users] Neil Vass is out of the office.

2009-10-09 Thread Neil . Vass
I will be out of the office starting 09/10/2009 and will not return until 12/10/2009. I will respond to your message when I return. For urgent matters, contact the Warrington office - 01925 286 800. ___ osg-users mailing list osg-users@lists.openscene

[osg-users] memory leak in osg 2.8.2 ?

2009-10-09 Thread Sebastien Nerig
Hi, I take an osg example (I tried with the osgTeapot example project), then I add the command Code: viewer.run(); _CrtDumpMemoryLeaks(); return 0; at the end of the main function. (it dumps all the memory blocks in the debug heap when a memory leak has occurred) I launch it in debug mode, th

Re: [osg-users] New OpenGL texture object and buffer object pool support

2009-10-09 Thread Cedric Pinson
Hi Robert, Yes you will be able to reproduce the valgrind output with the the code sample in the email. Cheers, Cedric -- +33 659 598 614 Cedric Pinson mailto:cedric.pin...@plopbyte.net http://www.plopbyte.net On Fri, 2009-10-09 at 14:24 +0100, Robert Osfield wrote: > Hi Cedric, > > Thanks

Re: [osg-users] [3rdparty] How to run osgOcean

2009-10-09 Thread Kim Bale
Or rather: http://code.google.com/p/osgocean/wiki/HardwareSupport Without the typo.. ;) K. 2009/10/9 Jean-Sébastien Guay : > Hi again, > >> I'll look about starting that wiki page soon. > > Here you go, > > http://code.google.com/p/osgocean/wiki/HarwareSupport > > I'll add details as time pass

Re: [osg-users] [3rdparty] How to run osgOcean

2009-10-09 Thread Jean-Sébastien Guay
Hi again, I'll look about starting that wiki page soon. Here you go, http://code.google.com/p/osgocean/wiki/HarwareSupport I'll add details as time passes... J-S -- __ Jean-Sebastien Guayjean-sebastien.g...@cm-labs.com

Re: [osg-users] Texture missing when adding slaves dynamically to osgViewer

2009-10-09 Thread Robert Osfield
Hi Frederic, > I tried with Texture::setUnRefImageDataAfterApply(false) and it works well. > However, as I read about this, texture memory is now duplicated (once in > OpenGL and once in OSG). Isn't there a way to do the same thing in OpenGL by > sharing the contexts or something like that? As

Re: [osg-users] Texture missing when adding slaves dynamically to osgViewer

2009-10-09 Thread Drolet, Frederic
Hello, I tried with Texture::setUnRefImageDataAfterApply(false) and it works well. However, as I read about this, texture memory is now duplicated (once in OpenGL and once in OSG). Isn't there a way to do the same thing in OpenGL by sharing the contexts or something like that? As I said, I trie

Re: [osg-users] [3rdparty] osgOcean collision detection

2009-10-09 Thread Jean-Sébastien Guay
Hi Jan, Right, of course. I have a bit of code that makes an object bob on the surface, but my code is likely a bit different from Dimitrios's, so it would need to be changed based on what you have done. Likely it's just the method name that would change. I don't mind doing that. Is there a

Re: [osg-users] [3rdparty] How to run osgOcean

2009-10-09 Thread Jean-Sébastien Guay
Hi Jan, I have it running on GeForce Go 7600 (laptop) and Quadro FX 4500 (GeForce 7800 equivalent), but do not expect super high framerates on such hardware. The shaders are quite slow on those cards. On the other hand, my 8800GT runs it smoothly at 1920x1200. Interesting, thanks for the ad

Re: [osg-users] New OpenGL texture object and buffer object pool support

2009-10-09 Thread Robert Osfield
Hi Cedric, Thanks for keep on digging into this problem. I don't think this is a bug in your code, rather you've just set up a set of circumstances that the normal clean up is circumvented and an errors occurs. If possible we should find a way of avoid the problem in full range of usage. Does

Re: [osg-users] osg::LOD range distance Coordinate System Question

2009-10-09 Thread Sean Spicer
Thanks Robert, This is an odd corner-case I guess, I want the LODs to be selected based upon global distance from the eye-point. For various reasons, onscreen size is inappropriate as a selector. I think I can put together a small example/patch and send it in for review. cheers, sean _

Re: [osg-users] [3rdparty] osgOcean 1.0 (LGPL) Released

2009-10-09 Thread Jan Ciger
"Jean-Sébastien Guay" wrote: >> Whether or not debug is replaced by release in the absence of the debug >> versions for the COLLADA plugin, I do not know, though. > This was the only thing I was wondering about. > > I was aware of all the rest. I've done my share of development on Linux > you kn

Re: [osg-users] [3rdparty] How to run osgOcean

2009-10-09 Thread Jan Ciger
"Jean-Sébastien Guay" wrote: > In concrete terms, I've personally tested osgOcean on nVidia cards of > the 7800, 7900, 8800 and 9800 lines. Realistically, I think anything > above 7800 should run it fine. There are even some really good deals in > the recent GTX 2xx line that will run it admira

Re: [osg-users] [3rdparty] osgOcean collision detection

2009-10-09 Thread Jan Ciger
Hello, "Jean-Sébastien Guay" wrote: > Hi Jan, > > While I was at it, I started integrating the changes for getting the > ocean surface height at a position. I went with a combination of > Jean-Claude's and Dimitrios' code, with a few small modifications. > > The only problem is I have no way of

Re: [osg-users] New OpenGL texture object and buffer object pool support

2009-10-09 Thread Eric Deko
pankajnagarkoti80 wrote: > The benefit the GL object pools provide is that we can scale up the > scene graph in main memory without blowing OpenGL driver and GPU > memory as we would do without the new pools. I agree, that is really a great benifit especially with the GL users.

Re: [osg-users] Databasepager + multiple views + different camera positions = memory leak?

2009-10-09 Thread Ralf Stokholm
Hi All Just wantet to add that we are also using Delta3d and as a consequence we are using the composite viewer. Brgs. Ralf Stokholm 2009/10/8 Michael Bach Jensen > Hello everyone, > > We are having the exact same problem at our company for quite some time > (currently on osg 2.8.0 via Delta3

Re: [osg-users] osgUtil::simplifier parameters

2009-10-09 Thread Robert Osfield
On Fri, Oct 9, 2009 at 10:09 AM, Vincent Bourdier wrote: > A little update, nobody can explain me the simplifier in details ? I've explained details before so have a look through the osg-users archives. Cheers, Robert. ___ osg-users mailing list osg-us

Re: [osg-users] osgUtil::simplifier parameters

2009-10-09 Thread Vincent Bourdier
__ The message was checked by ESET NOD32 Antivirus. http://www.eset.com __ Information from ESET NOD32 Antivirus, version of virus signature database 4492 (20091009) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com ___

Re: [osg-users] osg::LOD range distance Coordinate System Question

2009-10-09 Thread Robert Osfield
Hi Sean, You are correct the range distance of LOD's are in the LOD's own local co-coordinate system. This is appropriate as you almost aways want LOD's to scale relative to a screen size, and doing the calc in local coordinate allows you to decorate subgraphs with LOD's with transforms that scal