View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
---|---|---|---|---|---|---|---|---|---|
0006204 | Spring engine | General | public | 2019-04-17 11:32 | 2019-04-18 21:24 | ||||
Reporter | sprung | ||||||||
Assigned To | Kloot | ||||||||
Priority | low | Severity | tweak | Reproducibility | always | ||||
Status | resolved | Resolution | fixed | ||||||
Product Version | 104.0 +git | ||||||||
Target Version | Fixed in Version | 104.0 +git | |||||||
Summary | 0006204: Make nanoframe shadow grow alongside unit instead of appearing suddenly | ||||||||
Description | A nanoframe's shadow appears suddenly at 2/3 completion ( https://github.com/spring/spring/blob/develop/rts/Rendering/UnitDrawer.cpp#L1261 ). It would be good if it grew alongside the unit in the "fill" phase between 1/3 and 2/3 completion. | ||||||||
Additional Information | Pseudocode description: ```C++ void CUnitDrawer::DrawUnitModelBeingBuiltShadow(const CUnit* unit, bool noLuaCall) { if (unit->buildProgress <= 0.333f) return; if (unit->buildProgress <= 0.666f) { unitDrawer->GetDrawerState(DRAWER_STATE_SEL)->SetBuildClipPlanes ( {0, 1, 0, 0 } , {0,-1, 0, unit->buildProgress * 3.f - 2.f} ); } DrawUnitModel(unit, noLuaCall); } ``` | ||||||||
Tags | No tags attached. | ||||||||
Checked infolog.txt for Errors | Irrelevant | ||||||||
Attached Files |
|
![]() |
|||
Date Modified | Username | Field | Change |
---|---|---|---|
2019-04-17 11:32 | sprung | New Issue | |
2019-04-18 21:24 | Kloot | Assigned To | => Kloot |
2019-04-18 21:24 | Kloot | Status | new => resolved |
2019-04-18 21:24 | Kloot | Resolution | open => fixed |
2019-04-18 21:24 | Kloot | Fixed in Version | => 104.0 +git |
2019-04-18 21:24 | Kloot | Note Added: 0019950 |