Re: [osg-users] Converting DrawArrays(TRIANGLE_STRIP) to DrawElements(TRIANGLES)

2011-01-29 Thread Tim Moore
On Fri, Jan 28, 2011 at 4:44 PM, Jean-Sébastien Guay jean-sebastien.g...@cm-labs.com wrote: Hi Tim, If I understand correctly how the sky dome mesh is constructed, there was a lot of duplication of vertices in the triangle strip arrays, and this has been carried forward into your indexed

Re: [osg-users] Optimizing scene structure and geometry

2011-01-29 Thread Sergey Polischuk
Hi, Ramy I've used gDEBugger tool for rendering optimizations, it have modes that turn off some features of rendering so you can determine what impacts framerate most (like it have modes which turns off all lights(fixed pipeline vertex lighting impact), replaces all textures with 2x2

[osg-users] Accessing Shapefile (GIS) Attribute in OSG

2011-01-29 Thread Sanat Talmaki
Hi, I have loaded a number of shapefiles using the shp plugin into my scene. I am trying to display the attributes of my shapefile in a billboard. Though right now I am a little confused if I can even access the attributes of my shapefile in the OSG application Hoping for some advise..

Re: [osg-users] Accessing Shapefile (GIS) Attribute in OSG

2011-01-29 Thread Tomlinson, Gordon
As far as I remember, the Shape file reader only creates geometry and does not associate any attribute data with the geometry If you look at the source code your can confirm this yourself, If this is still the same then this means you will have to write a mechanism to associate the attribute

Re: [osg-users] Tonemapping, RTT, PixelDataBufferObject, GPU-CPU copy pixel value

2011-01-29 Thread josselin . petit
Hi Dan, I already made tone mapping algorithms in OSG, but using OSG PPU (http://projects.tevs.eu/osgppu/), very useful for post-processing like tone mapping. Have a look here: http://www.mail-archive.com/osg-users@lists.openscenegraph.org/msg18523.html In this discussion, I speak about a

Re: [osg-users] Accessing Shapefile (GIS) Attribute in OSG

2011-01-29 Thread Glenn Waldron
Sanat, I think the shp reader attaches osgSim::ShapeAttributeList objects in the user-data of the resulting drawables. Glenn Waldron : Pelican Mapping : +1.703.652.4791 On Sat, Jan 29, 2011 at 9:19 AM, Sanat Talmaki sanat.sch...@gmail.comwrote: Hi, I have loaded a number of shapefiles

[osg-users] Setting up matrices

2011-01-29 Thread Mukund Keshav
Hello Everyone, Well, in on of my previous threads, i was advised against using glut. But i thought of using glut temporarily and get more familiar with the other classes. So, i modified osgviewerGLUT.cpp like this, in order to get some translation and rotation. Code: // global

Re: [osg-users] Discussion: metadata readerwriters output

2011-01-29 Thread Ulrich Hertlein
Hi Sukender, On 28/01/11 20:54 , Sukender wrote: ** Topic ** More generally, it is hard to store and pass not predifined variables between main program and plugins, or between OSG itself and the main program (I mean adding some type-safe user values to the graph). This makes me think