Re: [osg-users] Does pure GL3 context work with default camera manipulator ?

2011-12-31 Thread Paul Martz
Sorry for the long delay on replying, but I was busy with paid client work. I've developed a small test program that opens a GL 3.1 context. Set OSG_NOTIFY_LEVEL=DEBUG to see console messages during execution to confirm this. I'm not sure why the OP was not seeing createContextImplementation()

Re: [osg-users] Does pure GL3 context work with default camera manipulator ?

2011-12-31 Thread Paul Martz
On 12/31/2011 9:57 AM, Paul Martz wrote: Currently, the code below just renders a blank window with a deep red clear color. Nothing gets rendered, as there are no shaders. As time allows, I'll add basic shaders to render the command line model, and also post my cheat sheet for configuring

Re: [osg-users] Does pure GL3 context work with default camera manipulator ?

2011-10-12 Thread PP CG
O.K. in any case, thank you for your time Paul. @Community, I wonder if this behavior should be treated as bug and should be reported. What else could be done to find the source of the problem ? Summary: My GL3 compiled osg version does not reach the code where a forward compatible GL3

[osg-users] Does pure GL3 context work with default camera manipulator ?

2011-10-11 Thread PP CG
Hello community, I compiled osg for GL3, and created a glContextVersion( 3.3 ) GL context. In my simple test application Camera Manipulation and MatrixTransforms are working as usual without me writing any transformation shader. Is this possible ? As I have doubts about this I guess that I

Re: [osg-users] Does pure GL3 context work with default camera manipulator ?

2011-10-11 Thread Paul Martz
Hi -- A simple search of the source code shows that glContextVersion is parsed in only one place: GraphicsContextWin32.cpp, line 1678. Set a breakpoint there in the debugger and step through the following lines of code to ensure you're getting the right context. -Paul On 10/11/2011 1:32

Re: [osg-users] Does pure GL3 context work with default camera manipulator ?

2011-10-11 Thread PP CG
Hi Paul, thanks, but unfortunately this does not help as the method GraphicsWindowWin32::createContextImplementation() does not get called at all, and the glContextVersion does not get parsed ( at my site ). This brings me back to my doubts and original question, probably I use the wrong way

Re: [osg-users] Does pure GL3 context work with default camera manipulator ?

2011-10-11 Thread Paul Martz
You are on Windows, right? And I assume you built OSG for GL3 (changed all the CMake setting from their default GL2 values)? -Paul On 10/11/2011 10:25 AM, PP CG wrote: Hi Paul, thanks, but unfortunately this does not help as the method GraphicsWindowWin32::createContextImplementation()

Re: [osg-users] Does pure GL3 context work with default camera manipulator ?

2011-10-11 Thread PP CG
Yes I am on Windows, sorry for not mentioning. And yes I turned off all GL features but GL3 in the cmake built, as explained in other posts. Cheers, PP You are on Windows, right? And I assume you built OSG for GL3 (changed all the CMake setting from their default GL2 values)? -Paul On