An audio backend for the multi-layered soundscape of Beyond Perception: Seeing the Unseen, a permanent exhibition at Scienceworks in Melbourne, Australia.
It should be possible to drag the floorplan with the left mouse button and zoom in and out by scrolliing the mouse wheel. This will make it easier to focus on specific parts of the floorplan when moving around Danté outputs or monitoring activity.
The camera will act as a conversion from metres to points (aka GUI measurement of space).
The camera will have:
xy - position over the floorplan in points. (0, 0) should be centre.
zoom - scalar zoom value where 1.0 is 100%, 2.0 is 200% (zoomed in) and 0.0 is infinitely zoomed out.
Camera Usage
[x] Work out image pixels per metre.
[x] Calculate min and max zoom depending on:
max/min points-per-metre
available width and height in floorplan window
[x] Use available width and height to calculate maximum Image dimensions that retain the original ratio.
[x] Determine what source rectangle of the original image should be shown.
It should be possible to drag the floorplan with the left mouse button and zoom in and out by scrolliing the mouse wheel. This will make it easier to focus on specific parts of the floorplan when moving around Danté outputs or monitoring activity.
The camera will act as a conversion from metres to points (aka GUI measurement of space).
The camera will have:
(0, 0)
should be centre.1.0
is 100%,2.0
is 200% (zoomed in) and0.0
is infinitely zoomed out.Camera Usage
Image
dimensions that retain the original ratio.