PDA

View Full Version : antialiasing



Mickey_dup1
04-08-2006, 11:45 AM
Hi, I'd like to show my scene antialiased; I try this but seems not good (better but not great):

glEnable(GL_BLEND);
glEnable(GL_LINE_SMOOTH);
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA;glHint(GL_LINE_SMOOTH_HINT, GL_DONT_CARE);How can I do? Thanks

jide
04-08-2006, 03:46 PM
Check for ARB_multisample extension.

04-08-2006, 04:46 PM
mickey, i'm beginning to think that you're a rascal. is it true? are you a rascal?

Mickey_dup1
04-09-2006, 09:23 AM
And why this question!?!

jide
04-09-2006, 12:00 PM
Because this is the way it's got to be.

Mickey_dup1
04-09-2006, 02:04 PM
No I'm not a rascal. I'm a newbie;
Thanks for the question;

Rodrix
04-09-2006, 05:52 PM
Mickey I didn't try it yet for my scene,
but check Nehe's Tutorial:
http://nehe.gamedev.net/data/lessons/lesson.asp?lesson=46

If you don't have any experience with Extensions maybe you'll find it hard...
The demo works perfect, but I couldn't compile it because I am missing the wglext.h file. If you are able to get it to work please PM me.

Good luck,
Cheers!
Rod

jide
04-10-2006, 05:00 AM
Here is where you can access all the specs from all the extensions:

http://oss.sgi.com/projects/ogl-sample/registry/

I also advice you to use glew for managing the extensions.