[quake3-bugzilla] [Bug 5979] New: cubemap support for opengl2

bugzilla-daemon at icculus.org bugzilla-daemon at icculus.org
Wed Jun 26 22:13:26 EDT 2013


https://bugzilla.icculus.org/show_bug.cgi?id=5979

            Bug ID: 5979
           Summary: cubemap support for opengl2
    Classification: Unclassified
           Product: ioquake3
           Version: GIT MASTER
          Hardware: PC
                OS: Windows XP
            Status: NEW
          Severity: enhancement
          Priority: P3
         Component: Video
          Assignee: zachary at ioquake.org
          Reporter: use.less01 at gmail.com
        QA Contact: quake3-bugzilla at icculus.org

Created attachment 3363
  --> https://bugzilla.icculus.org/attachment.cgi?id=3363&action=edit
cubemap support for opengl2

Here's a patch that adds simple cubemap support for opengl2.

It still needs a lot of work, though.  The patch is currently very ugly, and
doesn't support things that it should.

Specifying cubemaps is currently very simplified.  You create a text file in
maps/<level name>/cubemaps.txt, and in that file is a line with a number
indicating the number of cubemaps, then lines giving the coordinates of each. 
An example should be in the attachments.

The renderer then takes those, assigns a closest cubemap to each world surface,
and renders those cubemaps.

Using the cubemaps while drawing world surfaces has been integrated into the
specular lighting.  If no specular texture has been specified for a surface,
the shader assumes a specular reflectance at normal incidence of 0.04, and a
gloss of 0.5.  The gloss is set high so the effects are noticeable, but will
probably be toned down in the final version.

Here's the current, non-exhaustive list of problems:
  - Entities do not use cubemaps.
  - Sunlight is not rendered within cubemaps.
  - Cubemaps are not blended, resulting in visible seams when surface edges
switch between cubemaps.
  - Cubemaps cannot be turned off.
  - External cubemaps are not supported.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://icculus.org/pipermail/quake3-bugzilla/attachments/20130627/037b80f6/attachment.html>


More information about the quake3-bugzilla mailing list