Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

LordSkeletor

Tiled textures in Direct3D 9. How?

This topic is 5734 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

Hi there! I''m currently trying to get my old OpenGl-based NES-Emulation running on DirectX 9. What I previously did was copying all my tiles (of what NES games consist) on an OpenGl texture and putting this texture on a 3d model of a television. As you can think, this was really slow. I lagged some experience ;-) So I came and remembered those nice blitting functions (like bltfast(..)) that I had in DirectX 7 (another project) and thought: "why not rewriting our emulation in directx 9?" You know the problem: there''s no DirectDraw in DX9 anymore >:-( In short: What I have is 256 tiles of 8x8 size in RGBA. What I need is building a texture out of combinations of my 256 tiles. Anyone know an efficient way to do this without going back to good old 7? thx, Lord Skeletor me@lordskeletor.de http://www.lordskeletor.de

Share this post


Link to post
Share on other sites
Advertisement
Perhaps you could load the tiles as textures, render them as quads (two triangles) to another texture and render that on the television... Rendering to textures is fast in DX9

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!