Re: [osg-users] How to setup and confirm a proper forward-compatipble GL3 context

2011-10-07 Thread PP CG
Hi J-S, thank you for your answer, and sorry my late response, was without connection for some time. I activated the uniforms, but still the uniforms don't get printed through my update callback. When I activate these uniforms, does this mean at all that they should be get in any StateSet

Re: [osg-users] How to setup and confirm a proper forward-compatipble GL3 context

2011-10-07 Thread Jean-Sébastien Guay
Hi Peter, I activated the uniforms, but still the uniforms don't get printed through my update callback. When I activate these uniforms, does this mean at all that they should be get in any StateSet of any Node ? I think they should, as otherwise I couldn't use them, right ? No, they get

Re: [osg-users] How to setup and confirm a proper forward-compatipble GL3 context

2011-10-07 Thread PP CG
Hi J-S, thanks for your reply, that makes sense and helps. I'll try to ask the community about the GL3 context in another topic if nobody answers here anymore. Maybe this will solve the other issues. Cheers, PP Hi Peter, I activated the uniforms, but still the uniforms don't get printed

[osg-users] How to setup and confirm a proper forward-compatipble GL3 context

2011-09-30 Thread Peter Wrobel
Hi, I have some doubts about my approach to create a GL3 non FFP context. I have compiled osg with all the cmake settings for GL3 as explained in lots of other posts. When I create an object ( a simple two Vertex line ), usual camera manipulation is working without me having writrten a single

Re: [osg-users] How to setup and confirm a proper forward-compatipble GL3 context

2011-09-30 Thread Jean-Sébastien Guay
Hi Peter, I don't know about your other questions about the GL 3 context, but I can answer this since I've been looking at it recently. How do I get these default osg_ Uniforms into the StateSet ? The only place where I find code for creaating them is osgUtil::SceneView, which is marked as