Update of /src/master/dx/src/exec/hwrender/opengl
In directory localhost:/tmp/cvs-serv104678/src/exec/hwrender/opengl

Modified Files:
        hwPortUtilOGL.c hwPortOGL.c 
Log Message:
------------------------------------------------------------------------------

Add translucent texturing with alpha blending support to the OpenGL
hardware rendering back-end.  

Intuitively, translucent textures are represented as image fields with
opacities components -- either float opacities, or ubyte opacities and a
float opacity map.  (FWIW the ImageMagick ReadImage mods I made back in
Sept '01 read translucent images to this field format)

As with opacities objects, translucent textured objects aren't meshed, are
tossed into the translucent SORTLIST, sorted by depth, and rendered with
the DrawTransparent back-end callback.

Various related changes such as:
  - Suppress Z buffer write for fully-tranparent alpha values
  - Display list texture activation ops in DrawTransparent, as is done in
    DrawOpaque

------------------------------------------------------------------------------

Also:

Add a FIXME note about supporting ubyte[3] colors in the H/W rendering 
back-ends (S/W rendering supports this, but not H/W).

------------------------------------------------------------------------------


Reply via email to