On Friday 08 December 2000 05:11, Paul Barton-Davis wrote:
> >> pixmaps with the backend, so that if you are working on a small
> >> monitor, things are more reasonably sized. this needs to apply
> >> to bit depth too, though i'm not sure how much variation there
> >> is these days.
> >
> >Store 24 bit images and dither them down to whatever the screen
> >format is. That's how the majority of games do it, whether they're
> >2D, 3D, using OpenGL, Direct3D, DirectDraw, Xlib, SDL, svgalib or
> >whatever - it all works in very similar ways.
>
> Yeah, but the game developers are willing to spend time developing
> code for that. I'm not. This is the kind of reason why things like
> enlightenment have given pixmap-heavy GUI's a bad name :)

Are you saying that there isn't support for dithering from 24 bit 
when uploading pixmaps? (Even Windoze does that... Don't know enough 
about X, GDK and GTK+ to tell exactly where it would be done here.)

Anyway, I have some dithering code lying around, but it's meant for 
games rendering directly to the VRAM, and deals with packed pixel 
formats such as 5:5:5, 5:6:5 and all that hardware specific crap. (No 
standard.) Not very useful in this case, I'd guess...?


//David

.- M A I A -------------------------------------------------.
|      Multimedia Application Integration Architecture      |
| A Free/Open Source Plugin API for Professional Multimedia |
`----------------------> http://www.linuxaudiodev.com/maia -'
.- David Olofson -------------------------------------------.
| Audio Hacker - Open Source Advocate - Singer - Songwriter |
`--------------------------------------> [EMAIL PROTECTED] -'

Reply via email to