Re: [osg-users] ShadowMapping on recent ATI - repost

2008-02-22 Thread Sebastian Messerschmidt
I've fixed this behaviour too, by simply taking: gl_TexCoord[1].t = 1.0- clamp(dot( vec4(vVertPos,1.0), gl_EyePlaneT[1] ),0.0,1.0); instead of gl_TexCoord[1].t = clamp(dot( vec4(vVertPos,1.0), gl_EyePlaneT[1] ),0.0,1.0); in the vertex shader (yeah, I know the clamp is useless here, but since

Re: [osg-users] Modifier key mask not working under OS X

2008-02-22 Thread Stephan Maximilian Huber
Adrian Egli OpenSceneGraph (3D) schrieb: Perfect, it's working. ok, I'll submit them to osg-submissions. did you still a review of my AGL Thread Safe submission ? because i can not run the safari plugin with mutli threaded, only single thread. otherwise i crashs when i press 's' (stats,

Re: [osg-users] strange normal with VPB

2008-02-22 Thread Robert Osfield
Hi Christophe, Is the normal discontinuity only apparent along one longitudinal split? What happens when you zoom in? I presume the normal discontinuity is along the boundary where the longitude goes from -180 to 180. The is code to equalize normals across boundaries between tiles, but don't

Re: [osg-users] strange normal with VPB

2008-02-22 Thread christophe loustaunau
Is the normal discontinuity only apparent along one longitudinal split? yes, in fact the normal discontinuity only appears at the join of the tile. See the screenshot I have attached you will understand. What happens when you zoom in? I presume the normal discontinuity is along the boundary

[osg-users] Stereoscopy, part 2

2008-02-22 Thread Renan Mendes
Hi, It's been a couple of weeks since I first asked about stereoscopy in OSG. I've had an answer from Rémy (which I forgot to thank for, sorry), but I still have some questions on the subject. I've managed to use the stereoscopy option, which provided me with a split image of my scene.

[osg-users] Representing projections

2008-02-22 Thread Renan Mendes
Hi, In my application, I need to represent simple shapes' projections. For instance, project a line on a plane. I was thinking about using textures, but my problem is that my projection will have to be to be rotated and translated all the time, which, according to what I've noticed in some

Re: [osg-users] Stereoscopy, part 2

2008-02-22 Thread Rémy Deslignes
Hi Renan, Maybe you should have a look at the dual moitor management of your graphic card . If you are running on Windows for instance, you need to extend the desktop instead of using the dual mode screen Rémy ( not fully convinced that this will help anyway ) Renan Mendes a écrit : Hi,

Re: [osg-users] Multiple viewers and one scene

2008-02-22 Thread nicolas peña
I forgot to say that I was two instances of osgviewer::viewer. Thanks again, Nicolas. 2008/2/22, nicolas peña [EMAIL PROTECTED]: Hi Robert, I have done several tests and have reached to the conclusion that it is not possible to use two viewers at the same time from one

Re: [osg-users] Multiple viewers and one scene

2008-02-22 Thread nicolas peña
Hi Robert, I have done several tests and have reached to the conclusion that it is not possible to use two viewers at the same time from one process. This happens even when they do not share anything and even if I set-up the viewers from different threads. I have done the most simplistic

Re: [osg-users] Get pixels from a scene in a matrix in order to modifypixels color

2008-02-22 Thread Brad Colbert
Hello, Try these steps: 1. Render the scene to an FBO 2. Render the captured buffer with an RGB to YUV shader. -B -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jon Sent: Wednesday, February 20, 2008 3:25 AM To: osg-users@lists.openscenegraph.org

[osg-users] MouseCoords - TexCoords

2008-02-22 Thread Jeremy Moles
I would like to provide a user of osgWidget with the ability to get the color value of any textured Widget, particularly whatever 2D coord the mouse is currently over. I've played with a number of implementations for doing this, but I wanted to get some opinions on what the BEST way to do it is.

Re: [osg-users] Stereoscopy, part 2

2008-02-22 Thread Per Rosengren
You probably tried osgViewer::View::setUpViewAcrossAllScreens () if you have one desktop on two screens, or osgViewer::View::setUpViewOnSingleScreen (unsigned int screenNum=0) , one for each viewer, if you have two desktops. If so, what happened? Renan Mendes wrote: Hi, It's been a

[osg-users] Adding geometry to a scene (seeking advice)

2008-02-22 Thread John Wilde
Hi, I'm a new OpenSceneGraph user and am looking for some advice to get me started on an analysis I'm doing. The problem is to try and find safe paths through an urban environment - a path is considered more safe if the points along the path are not visible from windows on the buildings in the