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
Check for ARB_multisample extension.
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!?!
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
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.
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.