GLBasic forum

Main forum => GLBasic - en => Topic started by: djtoon on 2011-Mar-14

Title: iphone 3d- antialias
Post by: djtoon on 2011-Mar-14
is there a way to turn this on? maybe using opengl?
thanks

dan
Title: Re: iphone 3d- antialias
Post by: Kitty Hello on 2011-Mar-14
fullscreen AA? Or for line rendering?
Title: Re: iphone 3d- antialias
Post by: djtoon on 2011-Mar-14
for liner i mean
im drawing a 3d box with X_DRAWOBJ and i want antialias on its eages
Title: Re: iphone 3d- antialias
Post by: Kitty Hello on 2011-Mar-14
glEnable(GL_LINE_SMOOTH) that would be. Try the GL wrapper I ship.
Title: Re: iphone 3d- antialias
Post by: djtoon on 2011-Mar-14
just attach the lib and add that line?

Title: Re: iphone 3d- antialias
Post by: djtoon on 2011-Mar-14
i dont think that compiles for the iphone :(
Title: Re: iphone 3d- antialias
Post by: Slydog on 2011-Mar-14
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!