Re: [osg-users] thousand spheres

2008-03-09 Thread nicolas peña
Well, is it actually really easy. I post here some incomplete code that should be sufficient for you to grab the idea. I was using a home made random generator, but you can of course use any one. SceneRoot = new osg::Group(); osg::Geode** node = (osg::Geode**) malloc(sizeof(osg::Geode*) *

Re: [osg-users] Bad lighning for osg::Text objects in cheap hardware or mesa software renderer

2008-03-09 Thread Robert Osfield
Hi Andreas, This looks like a bug in the OpenGL driver, and as such try looking at updates to the driver to see if it fixes things. Robert. On Sun, Mar 9, 2008 at 11:05 AM, Andreas Goebel [EMAIL PROTECTED] wrote: Hi, I have the problem that many of my customers (schools) use cheap

[osg-users] Render Queue

2008-03-09 Thread GediMaster
Hi, I’m researching on improving the efficiency of rendering and I’m interested to use OSG as a starting point for its clean and powerful design. Can anyone shed some light on where in OSG’s code can I find information on the render queue structure and where/how is the render job being

Re: [osg-users] Render Queue

2008-03-09 Thread Paul Martz
The osgUtil::CullVisitor creates RenderBins from the visible Drawables, then each RenderBin is processed. So, take a look at CullVisitor and RenderBin. Then also look at, for example, osg::Geometry::apply to see how Geometry is sent to OpenGL. You can capture the OpenGL commands with a tool like

[osg-users] FrameBufferObjects and multithreading.

2008-03-09 Thread Jim Terhorst
I am having some difficulty getting FrameBufferObjects to work with multithreading. My application is very close to the osgdistortion example. I noticed that osgdistortion was forcing itself into single threaded operation. When i run it, multi-threaded I get frame buffer object errors

[osg-users] RE. Philips WOW TV displays...

2008-03-09 Thread neil.hughes
Hi Robert and Kim Many thanks for the info. This should make life a little easier I hope. In regards to the depth resolution, Kim's observations tie up with what we've observed. As we fly closer into the room - a kitchen in our case - the back half of the room suddenly looses depth

[osg-users] get function in osg::Matrixf

2008-03-09 Thread Renan Mendes
Hi, I'm new in using open source software. Because of that I don't know how to modify the library's code according to my needs. For instance, I'd like to create a getCoefficients() function in osg::Matrix, but I don't know where to make that change. I'm using windows and I've followed the