Ticket #497 (closed task: fixed)
Make square unit outlines match the ground better
|Reported by:||Philip||Owned by:||evans|
|Priority:||Nice to Have||Milestone:|
|Component:||UI & Simulation||Keywords:||simple review|
See ConstructSquareOnGround in simulation2/helpers/Render.cpp (used to render the outlines of selected units). Currently it constructs a 4-point square, and moves each point vertically to match the terrain. That looks a bit rubbish if a unit with a large square outline is on bumpy land.
The straight edges ought to be split into smaller segments, each of which is fitted to the terrain, so that the whole shape fits better. Rather than a fixed number of segments, I guess they should be split so each segment is slightly smaller than a tile (4 units), or whatever looks reasonable without wasting lots of vertexes.
- Owner changed from Philip to moo
- Status changed from new to assigned
- Owner changed from moo to evans
- Status changed from assigned to new
- Status changed from assigned to closed
- Resolution set to fixed