Enabling FSAA at runtime

Hi,

I wonder if it is possible to change FSAA mode at runtime with c calls. If so, some keywords or pointers to articles would be really nice.

Thanks.

I need to add :

I am running linux. So no wgl extension can help me.

Originally posted by mderdem:
[b]I need to add :

I am running linux. So no wgl extension can help me.[/b]

Hi

the WGL extension is to create a context with FSAA, As I know there is also a GLX extensions. And then at runtime you use the GL_ARB_multisample extension to enable/disable FSAA.

Look into SGIS extensions registry

Bye
ScottManDeath

There is a function in GLUT:

glutInitDisplayString ();

that permits to change the number of samples that you are using. I tried once to use it but doesn’t work properly. Although you could try it.
glutInitDisplayString (“samples=NUM”);

where NUM is the number of samples that you wants.