Ticket #541 (closed enhancement: fixed)

Opened 3 years ago

Last modified 3 years ago

Strange shape of camera view on minimap

Reported by: lubos Owned by:
Priority: Nice to Have Milestone:
Component: Core engine Keywords: review
Cc:

Description

My patch ignore height of terrain.

Attachments

minimap.patch (948 bytes) - added by lubos 3 years ago.

Change History

Changed 3 years ago by lubos

comment:1 Changed 3 years ago by feneur

  • Keywords review added

comment:2 Changed 3 years ago by Philip

Thanks, I tried this out and it does seem less weird than the old implementation. With this patch the minimap shape didn't really match the real camera view since it was basing it on the 0-height plane - I've changed it to assume a terrain height of 1/4 the maximum, which is the default in the map editor, so it's probably a better guess. Won't work perfectly with unusually high or low maps but hopefully it's an improvement for now and it makes the movement much smoother.

comment:3 Changed 3 years ago by philip

  • Status changed from new to closed
  • Resolution set to fixed

(In [8017]) Fix #541 (Strange shape of camera view on minimap), based on patch from lubos

comment:4 Changed 3 years ago by anonymous

  • Milestone Unclassified deleted

Milestone Unclassified deleted

Note: See TracTickets for help on using tickets.