Re: [osg-users] Vertex Buffer Object (Multi Window)

2008-03-21 Thread selman duatepe
Hi Robert, Thanks a lot for the quick response. I have solved this problem with your help. I do with this following call, Producer::RenderSurface::*shareAllGLContexts*(true); But, this time, when I create more than one VBO, float* cachedData =

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

2008-03-21 Thread Wojciech Lewandowski
J-S, 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. Only case when it fails is when I run on two monitors. But two monitor issues are even worse than multithreading issues and

Re: [osg-users] Vertex Buffer Object (Multi Window)

2008-03-21 Thread Robert Osfield
HI Selman, You are using lots of non straight OpenGL and Producer calls in your mix, it really is rather moving out of OSG realm so I'm not sure what we can do in terms of support. Robert. On Fri, Mar 21, 2008 at 7:50 AM, selman duatepe [EMAIL PROTECTED] wrote: Hi Robert, Thanks a lot for

[osg-users] Get Parent as Transform in Absolute ?

2008-03-21 Thread Vincent Bourdier
Hi all, I'm trying to get a node's parent as Transform (PAT or MatrixTransform) but I have to get the transformation in ABSOLUTE_RF... For the moment, I've done a recursive method to get Parent as Transform. It return me the first parent as Tranform it encounter. I've tried this :

Re: [osg-users] Get Parent as Transform in Absolute ?

2008-03-21 Thread Robert Osfield
Hi Vincent, I'm a bit confused about what you are trying to do, is it just get the accumulated world matrix at a specific node? If so then node::getWorldMatrices() is what you want. This will return a MatrixList, which will contain none, one or many matrices given that any node many have none

Re: [osg-users] Feeling on replacing .net plugin with a libcurl based one

2008-03-21 Thread Robert Osfield
Hi Serge, I would be good to collaborate on a single libcurl based plugin that can meet the variety of different types of usage models users will through at it. I have thrown together a very simple one right now. So far it can load databases, including hierarchical ones. I haven't implemented

Re: [osg-users] Feeling on replacing .net plugin with a libcurlbased one

2008-03-21 Thread Norman Vine
Robert Osfield writes: I would be good to collaborate on a single libcurl based plugin that can meet the variety of different types of usage models users will through at it. I have thrown together a very simple one right now. So far it can load databases, including hierarchical ones. I

[osg-users] Warning on Add shader to the scene

2008-03-21 Thread Gordon Tomlinson
Hi Y'all Ok I know this question is a little nefarious, As we continue our testing and porting to OSG 2.3.x we getting the following when ever we add out shaders to the scene Warning: detected OpenGL error 'invalid value' after RenderBin::draw(,) (in ...\src\osgUtil\RenderStage.cpp

Re: [osg-users] TrackballManipulator is not responding to commands...

2008-03-21 Thread Gallaway, Robert A.
Robert, Thank you! That works great! I (of course) first tried a modification of that by doing the setHomePosition(...) on the TrackballManipulator before attaching it to the viewer, then doing the viewer-home() call... This did not work. Any idea why? Thanks again! Bob Gallaway

Re: [osg-users] Little slave cam that represents the scene

2008-03-21 Thread Paul Martz
For a view of what the cow is seeing, take the inverse of the cow's transformation and set it as the view matrix. Hope that helps, -Paul _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jon Sent: Friday, March 21, 2008 1:56 PM To:

[osg-users] Little slave cam that represents the scene

2008-03-21 Thread Jon
Hi Paul, Thanks for your indication. Your example is very nice ! I took it from the trac :p Unfortunately, it's not quite what I expected. If you take the cow, and your example, I would like to have on the top screen the model moving (like currently adding a wireframe to see what the cow see)

Re: [osg-users] Little slave cam that represents the scene

2008-03-21 Thread Jon
Thanks for taking care of my issue. How could I take the inverse of the cow’s transformation ? I don’t understand why this could give me what the cow is seeing. It seems that it’s what you do in your osg3rdpersonview example. (line 124) Mainly, could this be done by something like: