Bug 2488 - Dynamic Light Bug
Status: RESOLVED FIXED
Alias: None
Product: ioquake3
Classification: Unclassified
Component: Misc
Version: 1.33 SVN
Hardware: PC Windows 2000
: P2 normal
Assignee: Zachary J. Slater
QA Contact: ioquake3 bugzilla mailing list
URL: http://www-staff.it.uts.edu.au/~shane...
Depends on:
Blocks:
 
Reported: 2005-11-07 05:18 EST by Shane
Modified: 2007-05-21 11:24:32 EDT
1 user (show)

See Also:


Attachments
Implementation as discussed (2.15 KB, patch)
2005-11-07 05:19 EST, Shane
Improved patch (4.17 KB, patch)
2005-11-07 17:48 EST, Shane

Description Shane 2005-11-07 05:18:25 EST
Dynamic lights are not blocked by a surface. Surfaces are effected that have no line of sight to the light.

This patch checks which side of a surface a light is; if it is behind the surface the dlight is turned off for that surface.

It should be noted, there is still a bug in dynamic lights. This patch fixes part of the problem; but dynamic lights still pass through surfaces and may light correct facing surfaces on the other side.
Comment 1 Shane 2005-11-07 05:19:34 EST
Created attachment 809 [details]
Implementation as discussed
Comment 2 Shane 2005-11-07 17:48:26 EST
Created attachment 810 [details]
Improved patch

This patch incorperates the fix into the '#if idppc_altivec' line as well.
Comment 3 Tim Angus 2005-11-15 18:33:54 EST
Committed, but linked to r_dlightBacks and minor performance improvements.
Comment 4 Ryan C. Gordon 2007-05-21 11:24:32 EDT
Setting a QA contact on all ioquake3 bugs, even resolved ones. Sorry if you get a flood of email from this, it should only happen once. Apologies for the incovenience.

--ryan.