Re: [osg-users] more on Windows debugging

2007-09-27 Thread Wojciech Lewandowski
Do you actually have the OSG (or in this case OpenThreads) source path names, up to the .cpp extension in your pdb file? Yes. PDB is a huge container of various information. It contains both relative paths (prefixed with ./) and absolute paths of my source files. Also contains whole commands

Re: [osg-users] Transparency problem

2007-09-27 Thread Andreas.Richter
Hello everybody. I have a transparency problem which you can see in the attached image. As you can see the strings rendered on the orange window, which is in front of another blue window, have a blue outline from the blue window behind. The strings are in front of a semi-transparent

Re: [osg-users] more on Windows debugging

2007-09-27 Thread Thibault Genessay
Hi guys Just my 2 cents: have you tried to put the pdb files along with the DLLs ? My post-build step copies all the DLLs and the PDBs and stores them in the same folder (say 'c:\libs\bin' - must be in %PATH%), and I've never experienced any problems, except when a PDB does not match a DLL -

Re: [osg-users] osg with c# winforms and simpleopenglcontrol Tao framework

2007-09-27 Thread Robert Osfield
Hi Peter, I know nothing of c# or Toa, but the one question I can answer is that the values in setUpViewerAsEmbeddedInWindow(x,y,width,hieght) are for the glViewport dimensions within the window that your application creates. Robert On 9/27/07, Peter DeSantis [EMAIL PROTECTED] wrote: Hello

Re: [osg-users] MODKEY_CTRL problem

2007-09-27 Thread Robert Osfield
On 9/27/07, Panagiotis Papadakos [EMAIL PROTECTED] wrote: Hi! After searching a little more, I see that after pressing Left Alt-Tab, default window manager shortcut to change applications, calls to getModKeyMask() will always return 256. You can see it in the osgkeyboard example, after

Re: [osg-users] MODKEY_CTRL problem

2007-09-27 Thread Panagiotis Papadakos
Hi Robert. Linux/KDE. Panagiotis Papadakos On Thu, 27 Sep 2007, Robert Osfield wrote: On 9/27/07, Panagiotis Papadakos [EMAIL PROTECTED] wrote: Hi! After searching a little more, I see that after pressing Left Alt-Tab, default window manager shortcut to change applications, calls

[osg-users] Is it possible to get a fixed constant framerate in OSG?

2007-09-27 Thread Carlos Zoido
Hi all!, Does anyone know if it's possible to controll the application framerate in any way ? We have now V-sync on and if for example we have a refresh frequency of 72Hz and the framerate is during all the execution of the application over 40fps we'd like to now if there's any function in OSG

Re: [osg-users] Redistribute OSG on Vista

2007-09-27 Thread Adrian Egli
Hi Serge, i don't know what's exactly going wrong with this. but one problem is that you don't have the redist installed. the latest version of VS 2005 force per default the manifest file building and the CRT lib. there should be 2 solutions to solve this, i am not sure and i did test it, but i

Re: [osg-users] MODKEY_CTRL problem

2007-09-27 Thread Robert Osfield
On 9/27/07, Panagiotis Papadakos [EMAIL PROTECTED] wrote: Hi Robert. Linux/KDE. OK. I've reproduce the problem in osgkeyboard, it looks like the alt tab is prevent GraphicsWindowX11 from getting any events, and if it isn't getting any events then there is no way for it to know that anything has

Re: [osg-users] Is it possible to get a fixed constant framerate in OSG?

2007-09-27 Thread Robert Osfield
Hi Carlos, There is no function in the OSG for setting the target frame rate. You own application has control over the dispatch of viewer.frame() (unless you call viewer.run()) so you can decide yourself if your app is ready to commence the next frame. Robert. On 9/27/07, Carlos Zoido [EMAIL

Re: [osg-users] applying textures

2007-09-27 Thread Enrico Villani
Thanks for your interest on my problem David, i looked at your link but it seems too low level... how can i say? i'm only trying to apply a texture to a model node (thanks to osg scenegraph approach): if i use texgen with spere_map flag, the texture is applied to my node, but it moves when i move

Re: [osg-users] ClipNode / clipplane, rendering water with RTT camera

2007-09-27 Thread Michael Ebner
Hello, could anyone give me a hint on my problem described below? I cannot figure out how to setup a clipplane for the reflection camera correctly. thanks, Michael. Michael Ebner wrote: Hello OSG users, i'm trying to render a water surface with reflections. Rendering the reflected scene

Re: [osg-users] more on Windows debugging

2007-09-27 Thread Andy Skinner
Yes, I've tried that. But VS is definitely finding the pdb files and loading symbols. It just isn't finding the source. thanks, andy From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Thibault Genessay Sent: Thursday, September 27, 2007 5:01

Re: [osg-users] Transparency problem

2007-09-27 Thread Panagiotis Papadakos
Hi Andreas. Well I have already tried to change the stateset of the geode of the osgText for example with something like stateSetGeode-setRenderBinDetails(15, RenderBin, osg::StateSet::OVERRIDE_RENDERBIN_DETAILS) , but it doesn't seem to help. The bigger the renderbin the later it is rendered

Re: [osg-users] ParallelSplitShadowMap ....

2007-09-27 Thread Robert Osfield
Thanks Adrian, Changes now merged and submitted to SVN. Visual quality is better with the suggested options in the README but still not great, in particular I loose shadows when near to objects and at shallow angles to the surfaces under shadow. I've played around with the polygonoffset and

[osg-users] Realize callback in 2.x?

2007-09-27 Thread Glenn Waldron
I'm porting an app from 1.2 to 2.x, and it is not immediately obvious to me how to implement a callback I was setting with Producer::RenderSurface::addRealizeCallback. (The callback toggles VSYNC via the WGL_EXT_swap_control extension.) What is the preferred method for doing this under osgViewer?

Re: [osg-users] Realize callback in 2.x?

2007-09-27 Thread Robert Osfield
Hi Glenn, You can pass do the equivalent of realize callback by setting the RealizerOperation on the Viewer. See the osgshaderterrain example. Robert. On 9/27/07, Glenn Waldron [EMAIL PROTECTED] wrote: I'm porting an app from 1.2 to 2.x, and it is not immediately obvious to me how to

Re: [osg-users] more on Windows debugging

2007-09-27 Thread Andy Skinner
Thanks to Wojtek, I think I'm getting somewhere. When he looked at strings in his pdb files, he saw paths to source code, and I didn't. But I was pretty sure I was generating things with flags, because I was creating pdb files and the debugger was finding symbols. Well, apparently something was

Re: [osg-users] more on Windows debugging

2007-09-27 Thread Andy Skinner
It works, and I'm debugging. Thanks so much. We've got several OSG developers here, and this will be very helpful. I've asked how come this flag isn't included for our 3rd party builds, and I'm curious why we got pdb files and symbols without it. That's why I was confused for a long time. But

Re: [osg-users] more on Windows debugging

2007-09-27 Thread Wojciech Lewandowski
I am glad to hear that. Out of curiosity which option was missing ? Wojtek - Original Message - From: Andy Skinner [EMAIL PROTECTED] To: OpenSceneGraph Users osg-users@lists.openscenegraph.org Sent: Thursday, September 27, 2007 5:10 PM Subject: Re: [osg-users] more on Windows debugging

Re: [osg-users] more on Windows debugging

2007-09-27 Thread Andy Skinner
It was /Zi. I knew I saw it set (it was put in another variable and not put in the one I was using), and I knew I was getting pdb files, so I really thought it was being applied. Oh, well. thanks, andy -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of

Re: [osg-users] Suitable for Pointcloud/LIDAR data

2007-09-27 Thread Robert Osfield
Hi Martin, The OSG can certainly be used for point data, 100M points will starting hitting memory size and bandwidth issues down on the graphics card. The OSG does support paging and VBO's which can certainly help, the scene graphs will still have to be very carefully management to get good

Re: [osg-users] Redistribute OSG on Vista

2007-09-27 Thread Roger James
Does your app need MFC? The redist installs assemblies for that as well. Do the versions in the manifest file match the ones in the dlls and the ones in the manifests embedded in the exe and plugin dlls? I found this thread useful

Re: [osg-users] Redistribute OSG on Vista

2007-09-27 Thread Mike Weiblen
Thanks for that thread pointer, useful info there. I found the It's that simple. comment mildly humorous. -- mew Mike Weiblen -- Zebra Imaging -- Austin Texas USA -- http://www.zebraimaging.com/ -Original Message- From: [EMAIL PROTECTED] [mailto:osg-users- [EMAIL PROTECTED] On

Re: [osg-users] Redistribute OSG on Vista

2007-09-27 Thread Roger James
Something I forgot. I have seen mention that having the private assembly in a sub-directory doesn't work when loading dlls. I have never tried it. Maybe someone who understands this maze can comment. So just copy the runtime dlls and their manifest up into the plugin directory. Roger

Re: [osg-users] more on Windows debugging

2007-09-27 Thread Andy Skinner
Oh, we're building the OSG with an enormous pile of scaffolding. There is a process for building all our 3rd party software. I still haven't heard why they don't include /Zi for 3rd party stuff, or why I was getting pdb file at all (even if not containing everything) without it. I'd love to

Re: [osg-users] MODKEY_CTRL problem

2007-09-27 Thread Leif Delgass
On 9/27/07, Robert Osfield [EMAIL PROTECTED] wrote: On 9/27/07, Panagiotis Papadakos [EMAIL PROTECTED] wrote: Hi Robert. Linux/KDE. OK. I've reproduce the problem in osgkeyboard, it looks like the alt tab is prevent GraphicsWindowX11 from getting any events, and if it isn't getting any

Re: [osg-users] MODKEY_CTRL problem

2007-09-27 Thread André Garneau
Hi Leif Robert, This is the same problem that was reported this summer on the Win32 platform. A fix for it was prepared and submitted, but it required equivalent changes on the X11 and OSX graphics windows class implementations since changes to the core OSG libraries were made. It would be great

Re: [osg-users] Please test SVN version of OpenSceneGraph

2007-09-27 Thread Brian Keener
Robert Osfield wrote: The errors don't make any sense to me, the line is: inline float log2(float v) { return logf(v) * static_castfloat(INVLN_2); } And the error you get is: /usr/src/OpenSceneGraph/include/osg/Math:197: error: expected `)' before '/' token

Re: [osg-users] OSG 2.1.10 windows refresh / performance

2007-09-27 Thread Gert van Maren
Thanks André I'll try it out. G On Fri, 28 Sep 2007 08:39:21 +1200, [EMAIL PROTECTED] wrote: Hi Gert, FYI, I've just submitted a fix for the taskbar not being repainted when a full-screen graphics window is going to windowed mode. André -- Gert van Maren Head of Research