Jump to content

  • Log In with Google      Sign In   
  • Create Account


#ActualThe King2

Posted 17 January 2013 - 04:49 AM

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.

#4The King2

Posted 17 January 2013 - 04:48 AM

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 protection for this to work, too.

#3The King2

Posted 17 January 2013 - 04:43 AM

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.

#2The King2

Posted 17 January 2013 - 04:38 AM

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.

#1The King2

Posted 17 January 2013 - 04:37 AM

Why don't you just make each image a texture, then you can just have one vertex buffer of the desired size and draw it 10 times, each time just chaning 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.


PARTNERS