Hi,
I was about to ask the same question.

And I tried what you suggest to remove multisampling from one node, but it does 
not work.
I mean, once you set the number of samples in the display settings, and create 
a rendering context
based upon such display settings, then it is impossible to disable 
multisampling.

BTW,
I also tried to directly call in the DrawImplementation of my own drawables 
this statement:

glDisable(GL_MULTISAMPLE);

but it does not work either. I mean, once set, multisampling seems not to be 
controllable.
Did I miss something? Does it depend on OSG? Or driver bug?

Thanks,
Gianluca


-----Messaggio originale-----
Da: [email protected] 
[mailto:[email protected]] Per conto di Sergey 
Polischuk
Inviato: lunedì 28 gennaio 2013 18:01
A: [email protected]
Oggetto: Re: [osg-users] Multisampling

Hi, Filip

you can create MSAA context and enable\disable multisampling at runtime with 
GL_MULTISAMPLE mode on camera or scene stateset. Note that with disabled 
multisampling you will get lower fps than with non-MSAA context.

Cheers,
Sergey.

28.01.2013, 20:24, "Filip Arlet" <[email protected]>:
> Hi,
>
> Is it possilbe to disable (or enable) Multisampling ? I can create context 
> with MSAA and without it, but I have no idea how can I disable or enable it 
> with existing context ? Is it even posible or do I have to recreate Context ?
>
> Thank you!
>
> Cheers,
> Filip
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=52245#52245
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to