displaying 10 different jpg images per second for 20 secs

Started by
1 comment, last by lomateron 11 years, 3 months ago

Wanting to do what the title says, all the images have the same resolution and format, The solution I have is load all the images data into a big vertex buffer where each vertex has a the RGB info of one pixel of an image... then dislay the images. So i will have to fread all the images, put the data in an array and then load them into a vertex buffer.

Is here a better faster way to do this?

Advertisement
Why don't you just make each image a texture, then you can just have one vertex buffer (4 vertices describing the desired image size) and draw it 10 times, each time just changing the texture? No offense but what you are doing seems simply insane. Don't know DX10 too well, cant give you any code, hope you can figure that part out.

EDIT: You need orthogonal projection for this to work, too.

mmmm ok, i think i will do it that way.

This topic is closed to new replies.

Advertisement