iphone 3d- antialias

Previous topic - Next topic

djtoon

is there a way to turn this on? maybe using opengl?
thanks

dan

Kitty Hello

fullscreen AA? Or for line rendering?

djtoon

for liner i mean
im drawing a 3d box with X_DRAWOBJ and i want antialias on its eages

Kitty Hello

glEnable(GL_LINE_SMOOTH) that would be. Try the GL wrapper I ship.

djtoon

just attach the lib and add that line?


djtoon

i dont think that compiles for the iphone :(

Slydog

I had some major aliasing in my dynamic objects / cubes.
I didn't figure out how to do this at the OpenGL level (glEnable(GL_LINE_SMOOTH)) which sounds promising.

What I did is not use the full texture, but shrink the tx/ty coords in by 1 pixel on all sides, so no face extends to the texture boundry.  This has cleaned up my aliasing quite a bit.  Could also try a semi-transparent pixel wide border around the outside of the texture. 

I'm not too sure if this is why mine got smoother or not!
My current project (WIP) :: TwistedMaze <<  [Updated: 2015-11-25]