Re: [osg-users] OpenSceneGraph with glut support

2011-01-23 Thread Robert Osfield
Hi Mukund, The OSG encapsulates almost all OpenGL functionality so for most OSG apps there isn't any need at all to drop down to OpenGL. The OSG uses a very thin layer on top of the OpenGL, with naming conventions and granularity kept. It is also possible to integrate the OSG into existing

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

2011-01-23 Thread Полищук Сергей
Hi, I think you can reduce cull time with build kdtrees option in osgdb registry or env var OSG_BUILD_KDTREES (if you not already using it). As for draw its related to large number of state changes i believe, so you should try to merge statesets. Large number of primitive sets is kinda bad,

[osg-users] Announcing dtEntity

2011-01-23 Thread Martin Scheffler
Hi, those of you who hang out on the Delta3D forums already know this, but this should be of interest here, too: I am working on an entity system on top of Delta3D and OpenSceneGraph. An entity system is a pure component approach to gameplay systems - no actor objects, each game actor is

Re: [osg-users] OpenSceneGraph with glut support

2011-01-23 Thread Thomas Hogarth
Hi Mukund i was wondering if i can use OSG with some low level gl functions? Yes there are ways to do this, check out the osgteapot example in the examples section of the svn code. It shows how to use callbacks to draw the classic glut teapot. It can come in handy although once you get up to

[osg-users] How to build OSG using Eclipse CDT on Linux *in debug mode*?

2011-01-23 Thread Enzo Miopalmo
Hi, I used cmake-gui to generate Eclipse CDT4 makefiles. No problem then building OSG and running the osggeometry sample. However, whenever I try to debug a sample (I place a breakpoint in main(), then click Debug) Eclipse says No source code is available for main(). Apparently, this might be

Re: [osg-users] How to build OSG using Eclipse CDT on Linux *in debug mode*?

2011-01-23 Thread Mourad Boufarguine
Hi Enzo, In cmake-gui, set CMAKE_BUILD_TYPE to Debug. Mourad On Sun, Jan 23, 2011 at 3:50 PM, Enzo Miopalmo osgneo...@laposte.netwrote: Hi, I used cmake-gui to generate Eclipse CDT4 makefiles. No problem then building OSG and running the osggeometry sample. However, whenever I try to