• Advertisement
Sign in to follow this  

displaying 10 different jpg images per second for 20 secs

This topic is 1831 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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?

 

Share this post


Link to post
Share on other sites
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. Edited by The King2

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement