Module twilight: Change committed

warp at icculus.org warp at icculus.org
Sun Apr 6 08:48:41 EDT 2003


Commiter   : warp
CVSROOT    : /cvs/cvsroot/twilight
Module     : twilight
Commit time: 2003-04-06 12:48:41 UTC

Log message:

One big commit. (55k)

Some design changes to brush models to support
GL_ARB_vertex_buffer_object:
  - The vertices and texcoords no longer live in glpoly_t.
    (They now live in mod->brush->verts and mod->brush->tcoords)
  - mod->brush->vbo_objects, if we have VBO then this contains the
    VBO IDs for the 3 arrays. (Use the defines luke.)
  - Two new GL typedefs, note, I'm 99% sure that nVidia has them wrong,
    but we have to remain binary compatable with them.
  - We no longer subdivide polygons, tough shit. (See below.)
  - DISABLED BY DEFAULT: You must pass -vbo as an option to enable VBO
    support, this will be removed once I figure out which drivers
    really need a disable quirk.

A new effect for water drawing, no swirls or ripples, just moving.

Killed old skys, we now have sky spheres. (AKA sky domes.)
FIXME: Really slow, I don't know why yet.

Modified files:
     src/base/mod_brush.c src/include/mod_brush.h src/include/qtypes.h
     src/nq/Makefile.am src/nq/gl_rmain.c src/nq/gl_rsurf.c
     src/nq/render.h src/qw/gl_rmain.c src/qw/gl_rsurf.c
     src/qw/render.h src/renderer/dglfuncs.h src/renderer/dyngl.h
     src/renderer/gl_arrays.c src/renderer/gl_arrays.h
     src/renderer/gl_info.c src/renderer/gl_info.h
     src/renderer/liquid.c src/renderer/liquid.h
     src/renderer/mod_brush.c src/renderer/sky.c src/renderer/sky.h
     src/renderer/surface.c src/renderer/surface.h
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: twilight.20030406.124841.warp.diff
URL: <http://icculus.org/pipermail/twilight-commits/attachments/20030406/940d41d5/attachment.diff>


More information about the twilight-commits mailing list