PDA

View Full Version : what is fatser glDrawPixels or textures ?



ybenaabud
03-11-2004, 10:47 PM
hello I am looking for the fastest way to draw a set of images (video).
what is faster? to draw the images with glDrawPixel or using textures ?

if it with textures ? how can I do it the fastesly possible ?? I mean :

with gluBuild2DMipmaps,glTexSubImage2D,glTexImage2D... ?

think you

nexusone
03-12-2004, 11:46 AM
nehe.gamedev.net has an example of video on a textured surface.


Originally posted by ybenaabud:
hello I am looking for the fastest way to draw a set of images (video).
what is faster? to draw the images with glDrawPixel or using textures ?

if it with textures ? how can I do it the fastesly possible ?? I mean :

with gluBuild2DMipmaps,glTexSubImage2D,glTexImage2D... ?

think you