Line Smooth Problem on iPhone Device
hi, I'm Developing a game on Cocos 2D and i have a problem:
i'm drawing smoothed lines, i'm using:
glEnable(GL_LINE_SMOOTH);
glHint(GL_LINE_SMOOTH_HINT, GL_NICEST);
//draw
it works great on simulator, but on Device isn't work - lines aren't not smoothed... i don't know what is a
problem? do iPhone Device not support line smoothing? can you help? what can i do?
thanks
i'm drawing smoothed lines, i'm using:
glEnable(GL_LINE_SMOOTH);
glHint(GL_LINE_SMOOTH_HINT, GL_NICEST);
//draw
it works great on simulator, but on Device isn't work - lines aren't not smoothed... i don't know what is a
problem? do iPhone Device not support line smoothing? can you help? what can i do?
thanks
The simulator uses a software renderer. GPU support for antialiased lines is not always common and is very inconsistent. (though apparently it does support AA points http://www.idevgames.com/forums/thread-3...#pid65843)
You could try Arekusu's old glaarg library: http://homepage.mac.com/arekkusu/bugs/in...TexAA.html
It likely won't compile on the iPhone without modification however.
You could try Arekusu's old glaarg library: http://homepage.mac.com/arekkusu/bugs/in...TexAA.html
It likely won't compile on the iPhone without modification however.
Scott Lembcke - Howling Moon Software
Author of Chipmunk Physics - A fast and simple rigid body physics library in C.
Possibly Related Threads...
| Thread: | Author | Replies: | Views: | Last Post | |
| Test Applications On Device [iPhone] | Hoodad | 5 | 4,126 |
Mar 19, 2010 03:21 AM Last Post: Hoodad |
|
| Best Device to get for a Seasoned Developer New to iPhone | Rasterman | 1 | 1,930 |
Feb 10, 2010 01:28 PM Last Post: Zwilnik |
|
| Smooth List Scroll | sunkingac | 1 | 1,832 |
Jul 9, 2009 08:52 AM Last Post: daveh84 |
|
| Checking if the device is an iPhone or iPod Touch | monteboyd | 5 | 3,174 |
May 1, 2009 02:15 AM Last Post: monteboyd |
|
| bloody iPhone memory problem again(opengl es, texture2d) | mlady | 1 | 3,249 |
Apr 16, 2009 09:54 AM Last Post: savemeanegg |
|

