View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003524 | The Dark Mod | Coding | public | 19.08.2013 13:13 | 19.08.2013 19:07 |
Reporter | grayman | Assigned To | grayman | ||
Priority | normal | Severity | normal | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | TDM 1.08 | ||||
Target Version | TDM 2.00 | Fixed in Version | TDM 2.00 | ||
Summary | 0003524: Certain lights not contributing to illumination | ||||
Description | Some of our lights offset the light source from the origin of the light entity. For example, atdm:lamp_electric_fancy_lit has its origin on the metal base that attaches to the wall, and offsets the light source so it's at the light bulb. The illumination math determines whether a light is contributing to illumination of an object by tracing from the object to the light's origin. If the light is placed against a wall, it's possible that the trace will hit the wall before it hits the origin, thus concluding that, since walls create shadows, the light entity is NOT contributing to the object's illumination. The trace should go to the light source, the location that's offset from the light's origin | ||||
Tags | No tags attached. | ||||
Also found out that if the light holder is rotated, the rotation is not taken into account. | |
Aaand ... The weak lightgem calcs are also ignoring light holder rotation. |
|
Apply any light rotation to illumination calcs. Use the light center for traces, not the light’s origin. Rev. 5865: darkModLAS.cpp Player.cpp Light.cpp |
|
Date Modified | Username | Field | Change |
---|---|---|---|
19.08.2013 13:13 | grayman | New Issue | |
19.08.2013 13:13 | grayman | Status | new => assigned |
19.08.2013 13:13 | grayman | Assigned To | => grayman |
19.08.2013 17:47 | grayman | Note Added: 0006061 | |
19.08.2013 17:48 | grayman | Note Added: 0006062 | |
19.08.2013 19:07 | grayman | Note Added: 0006063 | |
19.08.2013 19:07 | grayman | Status | assigned => resolved |
19.08.2013 19:07 | grayman | Resolution | open => fixed |
19.08.2013 19:07 | grayman | Fixed in Version | => TDM 2.00 |