PsychoMark
Mar 2nd, 2001, 02:07 PM
I'm using Direct3D 7 to create 2D effects (http://www.planetsourcecode.com/xq/ASP/txtCodeId.21453/lngWId.1/qx/vb/scripts/ShowCode.htm), and succeeded in doing rotation and light effects, but I wanted to do Alphablending now.
I've read some tutorials on Multipass texture blending and stuff, but I don't know if that'll work in this case: what I want is to be able to draw a scene, and then (with preferably just one pass), draw another object (simple 4-vertex square, as it's going to be 2D) over the whole scene with for example 50% translucancy.
And another question, is it possible to combine the 3D parts with drawing normal DirectDraw surfaces (non-square)?
I want to be able to draw something like a 640x480 background behind a scene using DirectDraw (since DirectDraw can handle large surfaces easier). The background will be placed behind a scene similar to this one: http://www.planetsourcecode.com/xq/ASP/txtCodeId.21337/lngWId.1/qx/vb/scripts/ShowCode.htm
I've read some tutorials on Multipass texture blending and stuff, but I don't know if that'll work in this case: what I want is to be able to draw a scene, and then (with preferably just one pass), draw another object (simple 4-vertex square, as it's going to be 2D) over the whole scene with for example 50% translucancy.
And another question, is it possible to combine the 3D parts with drawing normal DirectDraw surfaces (non-square)?
I want to be able to draw something like a 640x480 background behind a scene using DirectDraw (since DirectDraw can handle large surfaces easier). The background will be placed behind a scene similar to this one: http://www.planetsourcecode.com/xq/ASP/txtCodeId.21337/lngWId.1/qx/vb/scripts/ShowCode.htm