Jump to content
  • Advertisement

Archived

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

zodiacon

2D in DirectX 9

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

Does anyone know how to do 2D blits with source color keying, similar to the DirectDraw 7 method. I heard there is a new way to do it in DX9 (not using textures as it was donw in DX8.1)

Share this post


Link to post
Share on other sites
Advertisement
quote:
Original post by zodiacon
Does anyone know how to do 2D blits with source color keying, similar to the DirectDraw 7 method. I heard there is a new way to do it in DX9 (not using textures as it was donw in DX8.1)



Don''t think there''s a new way!? Anyone know? I really wanna know this...

/MindWipe

Share this post


Link to post
Share on other sites
quote:
Original post by MindWipe
quote:
Original post by zodiacon
Does anyone know how to do 2D blits with source color keying, similar to the DirectDraw 7 method. I heard there is a new way to do it in DX9 (not using textures as it was donw in DX8.1)



Don''t think there''s a new way!? Anyone know? I really wanna know this...

/MindWipe



IDirect3DDevice9::StretchRect

You can use alpha test to perform a keying effect (colour keying isn''t ideal anyway on modern 3D hardware).

--
Simon O''Connor
ex -Creative Asylum
Programmer &
Microsoft MVP

Share this post


Link to post
Share on other sites
quote:
Original post by S1CA
quote:
Original post by MindWipe
quote:
Original post by zodiacon
Does anyone know how to do 2D blits with source color keying, similar to the DirectDraw 7 method. I heard there is a new way to do it in DX9 (not using textures as it was donw in DX8.1)



Don''t think there''s a new way!? Anyone know? I really wanna know this...

/MindWipe



IDirect3DDevice9::StretchRect

You can use alpha test to perform a keying effect (colour keying isn''t ideal anyway on modern 3D hardware).

--
Simon O''Connor
ex -Creative Asylum
Programmer &
Microsoft MVP



Ok. Thanks, gotta look into that. Well, I think I''ll start seriously with 3D any day now.

/MindWipe

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.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!