Original Post
Dear all, I am new to 3D programming, and getting frustrated with 2D programming in 3D environment.
I currently plan to improve performance of a GDI based program. That program is just a simple PowerPoint like Program which supports animation, text scrolling, and some basic 2D effect. I bet I should use SDKs like Direct3D or OpenGL instead of GDI to boost the performance. But I am not sure about how to implement this to Direct3D. I read online and found out that I can do my drawings on dynamic texture and draw to a sprite. Each time I need to refresh my drawings, I should lock my texture and play with pixels then draw back on sprite... Well, it seems to be a lot of work to do if I need to directly access every pixel instead of using some APIs like those in GDI+. But it is fine if the path is correct. Could I ask if this is method the right way to implement "PowerPoint" like Program on Direct3D or we have better ways?
Thank you!
[Edited by - ncite on September 7, 2010 5:44:47 PM]
I currently plan to improve performance of a GDI based program. That program is just a simple PowerPoint like Program which supports animation, text scrolling, and some basic 2D effect. I bet I should use SDKs like Direct3D or OpenGL instead of GDI to boost the performance. But I am not sure about how to implement this to Direct3D. I read online and found out that I can do my drawings on dynamic texture and draw to a sprite. Each time I need to refresh my drawings, I should lock my texture and play with pixels then draw back on sprite... Well, it seems to be a lot of work to do if I need to directly access every pixel instead of using some APIs like those in GDI+. But it is fine if the path is correct. Could I ask if this is method the right way to implement "PowerPoint" like Program on Direct3D or we have better ways?
Thank you!
[Edited by - ncite on September 7, 2010 5:44:47 PM]