Project Home
Project Home
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Anti-aliasing in openGLES 1.1: (2 Items)
   
Anti-aliasing in openGLES 1.1  
Hi,

If I want to draw an anti-alias line using openGL ES 1.1, how can I acheive this? Is there any direct api call to 
support anti-alias?

Thanks
sachin
RE: Anti-aliasing in openGLES 1.1  
Hi Sachin,

I do not know very much about GLES API calls, but I checked some places,
and I think you need to make some of these calls:

glEnable(GL_LINE_SMOOTH);
glEnable(GL_BLEND);
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
glHint(GL_LINE_SMOOTH_HINT, GL_NICEST);

I am not sure if all are required, but it would seem to be so.  Maybe
someone else will further clarify, but I think this will give you
something to try.

-----Original Message-----
From: Sachin Rastogi [mailto:community-noreply@qnx.com] 
Sent: Sunday, January 17, 2010 8:02 AM
To: opengles-graphics
Subject: Anti-aliasing in openGLES 1.1

Hi,

If I want to draw an anti-alias line using openGL ES 1.1, how can I
acheive this? Is there any direct api call to support anti-alias?

Thanks
sachin



_______________________________________________

OpenGL ES
http://community.qnx.com/sf/go/post45364