Alphablending using DirectX 7



Click here for larger image

Environment: VC6, WIN32 (developed and tested on W2K SP2), DirectX 7

Due to private interest I wrote a small tool (MFC Dialog Application) to visualize alphablending and all combinations of possible attributes. The tool shows rotating earth with athmosphere. Earth and Athmosphere are spheres with textures. Based on the RenderStates D3DRENDERSTATE_SRCBLEND and D3DRENDERSTATE_SRCBLEND earth can be seen through the clouds. Material attributes can be changed also. Just try it out and have fun!

The zip containing the sources in big because of the graphics!

Downloads

Download demo project - 774 Kb


Comments

  • Please help me on Directshow +MFC

    Posted by nvnoi76 on 12/01/2004 09:37pm

    Hi, I write a program to play Video files using Directshow and MFC ( Visual C++ 6.0 , DirectX 9.0 ) I compile in DEBUG mode, It runs well and correctly. But when I compile in RELEASE mode. It reports error : "Unhandle exception in Playwnd.exe (MFC42.dll)0xC0000005: Access Violation" Is there any problem on MFC42.dll ? Please help me to correct it. Thank you very much. Noi - nvnoi76@yahoo.com

    Reply
  • Alphablending using DirectX 7

    Posted by Legacy on 05/13/2002 12:00am

    Originally posted by: iti_1827

    missed file "d3dx.h"

    Reply
  • Cant find file "d3dtextr.h"

    Posted by Legacy on 04/22/2002 12:00am

    Originally posted by: Ramesh

    This file "3dtextr.h" is missing. I'm using DirectX8 SDK.

    Reply
  • Can't complete under DirectX8??

    Posted by Legacy on 03/07/2002 12:00am

    Originally posted by: wjy88

    Can't complete under DirectX8??

    Reply
  • From where can i get Direct X 7 Installation

    Posted by Legacy on 02/21/2002 12:00am

    Originally posted by: Subodh

    From where can i get Direct X 7 Installation

    Reply
  • Purpose

    Posted by Legacy on 02/04/2002 12:00am

    Originally posted by: Sikander Rafiq

    What is the purpose of this control and what it can do

    Reply
  • You can find all the files here but it still not working ....

    Posted by Legacy on 02/02/2002 12:00am

    Originally posted by: Eyal

    You can find all the files here but it still not working ....

    http://therabbithole.redback.inficad.com/tricks/directx7/DXSDK/include/

    it looks like many include files are missing
    Some help will be nice...??

    Reply
  • Cool!

    Posted by Legacy on 02/01/2002 12:00am

    Originally posted by: Lynn_Xie

    Beautiful!
    But I cannot understand your comments in your source code.
    Will you please offer an English(Chinese better) version?

    Reply
  • Another missing header file 'd3dmath.h'

    Posted by Legacy on 01/31/2002 12:00am

    Originally posted by: Saul

    fatal error C1083: Cannot open include file: 'd3dmath.h': No such file or directory

    I have MSDN and latest SDK fully installed on my machine, and I didnt find this file anywhere!

    Reply
  • fatal error C1083: Cannot open include file: 'd3dutil.h':

    Posted by Legacy on 01/31/2002 12:00am

    Originally posted by: liuty

    fatal error C1083: Cannot open include file: 'd3dutil.h':

    Reply
Leave a Comment
  • Your email address will not be published. All fields are required.

Top White Papers and Webcasts

  • On-demand Event Event Date: September 10, 2014 Modern mobile applications connect systems-of-engagement (mobile apps) with systems-of-record (traditional IT) to deliver new and innovative business value. But the lifecycle for development of mobile apps is also new and different. Emerging trends in mobile development call for faster delivery of incremental features, coupled with feedback from the users of the app "in the wild." This loop of continuous delivery and continuous feedback is how the best mobile …

  • Information is data with context. The era of Big Data has begun demonstrating to information security that there is more that can, and must, be done to identify threats, reduce risk, address fraud, and improve compliance monitoring activities by bringing better context to data and thereby creating information for actionable intelligence. This analyst report sets the stage and provides insights into IT and information security practitioners' perceptions of the impediments to, and the solutions necessary for, …

Most Popular Programming Stories

More for Developers

Latest Developer Headlines

RSS Feeds