Bilinear texture filtering in software backend

Something missing?
Post Reply
STRESS
Posts: 141
Joined: Mon 19. Jan 2009, 12:10

Bilinear texture filtering in software backend

Post by STRESS » Wed 21. Oct 2009, 16:44

Hi there,

Is there any chance that we will see bilinear texturing filtering for the software backend? I know it is a bit more costly. But especially when using label geometries the font quality suffers quite significantly especially when the size is smaller making it nearly unreadable compared to the JOGL backend.

If there are no plans a hint on what would the place in the source one would have to modify would be nice.

STRESS
Posts: 141
Joined: Mon 19. Jan 2009, 12:10

Re: Bilinear texture filtering in software backend

Post by STRESS » Thu 22. Oct 2009, 12:23

Actually I noticed there is already binlinear filtering, sorry. The poorer quality of labels is probably more down to the alpha blending I assume.

User avatar
steffen
Posts: 186
Joined: Fri 16. Jun 2006, 13:30
Location: TU Berlin
Contact:

Re: Bilinear texture filtering in software backend

Post by steffen » Mon 26. Oct 2009, 08:22

I think that alpha-blending works in the software backend but does not work in the jogl backend (except when transparency is enabled...). Am I wrong?

STRESS
Posts: 141
Joined: Mon 19. Jan 2009, 12:10

Re: Bilinear texture filtering in software backend

Post by STRESS » Tue 27. Oct 2009, 16:34

No alpha blending is not on in software backend for labels while if you look at the JOGL backend implementation it switches alpha blending on before it renders label nodes. I slightly modified the software backend to force alpha blending on when it encounters a label geometry that increases the quality of labels especially under heavy magnification but for minification you would also need at least MIP mapping and potentially trilinear filtering to reach the same quality level.

Post Reply