Re: [osg-users] Text Class Sizing Issue!

2012-03-30 Thread Robert Osfield
Hi David, On 29 March 2012 17:34, David Glenn david.e.glenn@navy.mil wrote: Well, since it not a submission per say. Here is the sample source code that John wanted me to so you all. The program doesn't compile for me, I presume because it has been updated to compile against recent OSG

Re: [osg-users] Problem using OSG GLSL uniforms and vertex attributes

2012-03-30 Thread Robert Osfield
Hi Joel, I wonder if it's osg::State that has been configured to covert gl_ModelViewMatrix to osg_ModelViewMatrix in the shader, with inserting of the required declaration of the osg_ModelViewMartrix. If osg::State is inserting this declaration you can either disable the

Re: [osg-users] getting eye position / direction

2012-03-30 Thread Andrey Ibe
Hello again! I've just realized i do need to be able to translate the starting and ending points of a LineSegmentIntersector created in WINDOW coordinate frame into the WORLD coordinate space. is there any simple method to do so ? by retrieving them from the intersector or its intersection. i

Re: [osg-users] Problem using OSG GLSL uniforms and vertex attributes

2012-03-30 Thread Joel Graff
Robert, Gave your suggestions a shot, but wasn't met with any real success. The error log seemed to indicate much the same errors regardless of the changes. I'll keep playing with it - perhaps dig into some code or try something else I've not thought of yet. I should note that the original

Re: [osg-users] Problem using OSG GLSL uniforms and vertex attributes

2012-03-30 Thread Joel Graff
I did bit more testing combining setUseModelViewAndProjectionUniforms() state changes with including / excluding the uniform declarations. It didn't really matter if I called setUseModelViewAndProjectionUniforms() with either true or false. In either case, the same errors were generated. The