[osg-users] kdTree and sphere intersection

2011-11-16 Thread Peter Wraae Marino
Hi, I have create a sphereintersector which works fine, but goes through all triangles on the geometry. I would like to use the kdTree to help me to do a sphere - triangle intersection tests on as few triangles as possible. Is this possible? When I look at the kdTree object it looks like it

Re: [osg-users] RenderBin-question/problem

2011-11-16 Thread Laurens Voerman
Hi Stephan, You created a nested renderbin, and because of its non negative bin number it will draw after the contents of the first bin. Both are DepthSortedBin with binNumber 10. Regards, Laurens. On 11/14/2011 5:56 PM, Stephan Maximilian Huber wrote: Hi I am having problems with

[osg-users] osgText and GLES2

2011-11-16 Thread Thomas Hogarth
Hi All I've been using osgText on GLES1 with some good results, I'm now moving to gles2 and am having some issues. I've attached a basic shader to get things started which looks like the following uniform sampler2D diffuseTexture;\n varying mediump vec2 texCoord0;\n void main(void) {\n

Re: [osg-users] osgViewer::GraphicsWindowEmbeded causing OpenGL error

2011-11-16 Thread Joshua Cook
Robert, it seems to work ok now. The view on each of the cave walls is good and I'm even getting stereo now. I'm still getting an OpenGL error but I can't see what problems it is causing; lighting, textures, perspective, placement, and all the rest look good. The older code I am using as an

[osg-users] osg plugins

2011-11-16 Thread Andy Skinner
We're just moving from 2.8.something to 3.0.1. Looks like I should update from using .osg to .osgx. While I was looking at that, I was wondering about this line from DogOSGWrapper.cpp: if (osgDB::Registry::instance()-loadLibrary(*itr)==osgDB::Registry::LOADED) return

Re: [osg-users] Development of Qt support as part of osgViewer

2011-11-16 Thread Jinshan Hu
What about stellarium which base on OpenGL and qt? Please visit: http://www.stellarium.org I wish some day I can develop some application like it base on osg and qt. -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=43913#43913

[osg-users] Performance results? Intel (icc) or GNU gcc?

2011-11-16 Thread Brad Colbert
Hi folks, This is a general question for those who have tried out the Intel compiler. For those who have, I'm wondering what your experience has been with performance. Did you see an increase in the performance of OSG on your system when compiled with the Intel compiler? If so, can you

Re: [osg-users] Performance results? Intel (icc) or GNU gcc?

2011-11-16 Thread Chris 'Xenon' Hanson
On 11/16/2011 9:09 AM, Brad Colbert wrote: This is a general question for those who have tried out the Intel compiler. For those who have, I'm wondering what your experience has been with performance. Did you see an increase in the performance of OSG on your system when compiled with the

Re: [osg-users] ShapeDrawable problem

2011-11-16 Thread Klaus Madeira
Hi, I change my application to do not use shapeDrawables anymore and it worked perfectly! Now I'm using osg::geometry and it is fine. Thank you, Robert. Cheers, Klaus -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=43917#43917

Re: [osg-users] ShapeDrawable problem

2011-11-16 Thread Klaus Madeira
Hi, I change my application to do not use shapeDrawables anymore and it worked perfectly! Now I'm using osg::geometry and it is fine. Thank you, Robert. Cheers, Klaus -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=43918#43918