Commander-lol / bevy_capture_media

Event based image & video capture for Bevy

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support `PerspectiveProjection`

Commander-lol opened this issue · comments

Camera tracking currently only happens for cameras with an OrthographcProjection, but should at least support PerspectiveProjection as well.

Making systems generic over impl CameraProjection would go a long way to solving this. Trackers would need some way of identifying the type of camera they're tracking, so that they can retrieve the correct component when syncing.

Supporting custom projections is out of scope right now, but a solution should keep in mind the desire to support custom projections in future