Revision eff6b3e7
Added by danij over 16 years ago
Files
- added
- modified
- copied
- renamed
- deleted
- doomsday
- engine
- api
- data
- defs
- portable
- include
- m_vector.h (diff)
- mapdata.hs (diff)
- p_maptypes.h (diff)
- p_maputil.h (diff)
- r_data.h (diff)
- r_lumobjs.h (diff)
- rend_dyn.h (diff)
- src
- bsp_node.c (diff)
- edit_map.c (diff)
- gl_texmanager.c (diff)
- m_vector.c (diff)
- p_maputil.c (diff)
- p_mobj.c (diff)
- p_particle.c (diff)
- r_lumobjs.c (diff)
- r_things.c (diff)
- rend_decor.c (diff)
- rend_dyn.c (diff)
- rend_fakeradio.c (diff)
- rend_halo.c (diff)
- rend_list.c (diff)
- rend_main.c (diff)
- include
- plugins
- engine
Revised method for texturing planes. Rather than aligning to the world grid, subsector planes are now textured using the bbox of the subsector to derive the s, t tex coords. This allows for all world surfaces to be textured using the same algorithms by using an conceptual quad for mapping.
Rewrote dynlight projection to use a unified, 3D dimensional method which is used on all world surfaces. Also improved memory management for dynlight link lists to reduce per-frame overhead somewhat.
Rewrote the surface decoration plotting to use a unified method which is used on all world surfaces.
Added world surface normal drawer for debug purposes.
Added lumobj_t drawer for debug purposes.
Fixed logic bug in RL_AddPoly which was resulted in dynlights for a lit poly not being drawn rarely.
Fixed bug in the surface decoration plotting which used the surface normal incorrectly when applying the decoration elevation offset.
Fixed bug in GL_PrepareMaterial2 which meant that all types of particle generator were cross-referenced with the surface material name, even if not a surface generator.
Renamed P_PointOnLineSide to P_PointOnLinedefSide and added a new P_PointOnLineSide whose input is a point on the line, line x/y deltas and the point to be tested.
cvar rend-glow-fog-bright replaced with rend-light-fog-bright which is used universally on all lights when fog is enabled.