Jump to content
  • Advertisement

Archived

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

TAOW-Joe

DDraw 9 and Opacity (Semi-Trans Surfqaces?)

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

Is there are way in DDraw 9b that I can render a secondary surface onto my primary surface, but semi-transparently? Thanks, Joe

Share this post


Link to post
Share on other sites
Advertisement
as i remember, there is no DDraw 9b...... DDraw 7 is the last version...

u have to lock the surface & do with the memory calculation by hand, check the "Articles & Resources", there r couple samples.

Share this post


Link to post
Share on other sites
By DDraw 9b i meant DDraw from DirectX 9 (im used to talking to other programmers that dont know alot abour graphics programming).

Thnx for the help. I had ran a search but couldn''t fond anything. Guess ill just have to look harder.

Share this post


Link to post
Share on other sites
quote:
Original post by TAOW-Joe
By DDraw 9b i meant DDraw from DirectX 9 (im used to talking to other programmers that dont know alot abour graphics programming).

Thnx for the help. I had ran a search but couldn''t fond anything. Guess ill just have to look harder.


No no no no no... there isn''t a DirectDraw9 even... they canned it with 7.

Share this post


Link to post
Share on other sites
The version of DDraw that shipped with DX9 redist DLL signing sais ver. 1.0.1901.0 but the only real differences between that and DDraw 7 is DDraw from DirectX 9 uses the .Net Framework (Primarily a better implementation of OOP - for C#/VB.Net/C++.Net/J#) and the CLR.

The problem is all the examples are for the VB6-DDraw7 interfaces and many of the method associated with DDraw classes (Surfaces, Devices, etc) nolonger exist. For example, DrawPrimive doesn''t exist, nore do any of the Blt functions. They have all been replaced by .Net compatable methods with args like SourceRect as System.Rectangle and such.

I am using C#, so none of the examples I have been able to find work... not even close.

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.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!