View Full Version : glDrawPixels
sgiuser
08-14-2001, 06:34 AM
Hi,
Ima new to this openGl, can I display graylevel images using glDrawPixels?
or it has to be RGB
thanx
mikael_aronsson
08-14-2001, 08:29 AM
You can use GL_LUMINANCE mode with glDrawPixels.
Mikael
Mr User Of SGI machine,
maaybe... just MAYBE you need to spend a ~little~ more time checking out the chapters in the red book on drawing images. This question, your other poster re: raster pos is all trivially answered in the red book. These questions aren't a combination of ideas, where you might have a bug, but "atomic ideas" described in..
the
red
book
just a thought.
cheers,
John
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.