Re: [osg-users] Shadow Map and threading mode

2008-03-21 Thread Robert Osfield
HI Wojtekm >From my experience NVidia drivers work great under X11, either via twin view, or multiple cards driving multiple windows. So I don't think it's a case of NVidia needing to support OSG better, rather just improve there Windows drivers. It might be that OSG developers/users tend to be

Re: [osg-users] Shadow Map and threading mode

2008-03-21 Thread Wojciech Lewandowski
ent: Thursday, March 20, 2008 2:28 PM Subject: Re: [osg-users] Shadow Map and threading mode > Hello Wojtek, > >> I did the test at home. I have really crappy machine there. WinXP Athlon >> XP >> 1700 and AGP GeForce 6200 (drivers ver 169.28). And guess what ? It wor

Re: [osg-users] Shadow Map and threading mode

2008-03-20 Thread Wojciech Lewandowski
Hi J-S, > That may be a problem because we're always in multiscreen mode here, > both simulators and developers. On Windows XP we use horizontal span > mode, but on Vista it doesn't exist anymore so we use DualView... > It's a bit disturbing to see that the behaviour is so wildly different > from

Re: [osg-users] Shadow Map and threading mode

2008-03-20 Thread Jean-Sébastien Guay
Hello Wojtek, > I have found few minutes to do the test again at work. Only thing I changed > was the drivers. I went back to antique 94.24 version. > Test WORKS with these drivers. Nice, more data! > Only case when it fails is when I run on two monitors. But two monitor > issues are even wors

Re: [osg-users] Shadow Map and threading mode

2008-03-20 Thread Jean-Sébastien Guay
Hello Wojtek, > I did the test at home. I have really crappy machine there. WinXP Athlon XP > 1700 and AGP GeForce 6200 (drivers ver 169.28). And guess what ? It works > ;-). Hmmm. I wonder if I went back to similar drivers here and tried it... I might try that early next week (I have a deadli

Re: [osg-users] Shadow Map and threading mode

2008-03-20 Thread Wojciech Lewandowski
and decent PCI express GeForce did the test... Cheers, Wojtek - Original Message - From: "Jean-Sébastien Guay" <[EMAIL PROTECTED]> To: "OpenSceneGraph Users" Sent: Tuesday, March 18, 2008 4:45 PM Subject: Re: [osg-users] Shadow Map and threading mode > Hi Wo

Re: [osg-users] Shadow Map and threading mode

2008-03-18 Thread Jean-Sébastien Guay
Hi Wojtek, > I was on vactions. But if you are still interested I did the test you > wanted. Of course I am interested. :-) Thanks for testing. Seems like the more recent nVidia drivers give problems when switching threading modes, and older ones are OK. Unfortunately I am on Vista so using ol

Re: [osg-users] Shadow Map and threading mode

2008-03-18 Thread Wojciech Lewandowski
Hi J-S, I was on vactions. But if you are still interested I did the test you wanted. I have added ThreadingHandler to shadow example. Pressing m does not crash the program but freezes shadow map. Shadow map is no longer refreshed. I did the same quick test with prerender example and results are s

Re: [osg-users] Shadow Map and threading mode

2008-03-12 Thread Raymond de Vries
btw I seem to see a rendering artifact: the effect is that a large poly seems to be above the scene, resulting in a rotating shadow. As far as I remember this was not here in version 2.2.0... see the attached image. best regards Raymond Jean-Sébastien Guay wrote: Hello Alberto, Works fin

Re: [osg-users] Shadow Map and threading mode

2008-03-12 Thread Raymond de Vries
Hi, I've tested as you suggested and there is a difference between my single core laptop and dual core desktop. This is what I did: * explicitly specified ShadowMap via -sm * I used yesterdays svn (had to add 2 dummy implementations in SceneGraphBuilder.cpp) version on Windows XP,

Re: [osg-users] Shadow Map and threading mode

2008-03-11 Thread Jean-Sébastien Guay
Hello Alberto, > Works fine in Linux, nVidia 7600 GS [169.07] (Linux 2.6.22-3-amd64 #1 SMP > x86_64): > > Threading model 'CullThreadPerCameraDrawThreadPerContext' selected. > Threading model 'SingleThreaded' selected. > Threading model 'CullDrawThreadPerContext' selected. > Threading model 'Dra

Re: [osg-users] Shadow Map and threading mode

2008-03-11 Thread Alberto Luaces
El Tuesday 11 March 2008 13:59:12 Jean-Sébastien Guay escribió: > You can just add > > viewer.addEventHandler( new osgViewer::ThreadingHandler() ); > > to the osgshadow example (around where the other handlers are added) and > comment this line: > > //viewer.setThreadingModel(osgViewer::V

Re: [osg-users] Shadow Map and threading mode

2008-03-11 Thread Jean-Sébastien Guay
Hello Raymond, > Do you have an example which I can try. Then I can give it a try here, > on a couple of machines. You can just add viewer.addEventHandler( new osgViewer::ThreadingHandler() ); to the osgshadow example (around where the other handlers are added) and comment this line:

Re: [osg-users] Shadow Map and threading mode

2008-03-11 Thread Raymond de Vries
Hi J-S, Do you have an example which I can try. Then I can give it a try here, on a couple of machines. Bye Raymond Jean-Sébastien Guay wrote: > Hi all, > > So since no one has replied, I gather no one else has had any problems > changing the threading mode when shadows are enabled (for exa

Re: [osg-users] Shadow Map and threading mode

2008-03-10 Thread Jean-Sébastien Guay
Hi all, So since no one has replied, I gather no one else has had any problems changing the threading mode when shadows are enabled (for example, in the osgshadow example)? J-S > Hello, > > I was wondering if there were any known problems related to using > osgShadow::ShadowMap and changing

[osg-users] Shadow Map and threading mode

2008-03-06 Thread Jean-Sébastien Guay
Hello, I was wondering if there were any known problems related to using osgShadow::ShadowMap and changing the threading mode. In the osgshadow example (SVN), if I change the threading mode (I added a threading handler to it) my graphics driver crashes. In our own software based on OSG 2.2 and