Closed adrianusler closed 8 months ago
can work with pyrr.matrix44.create_orthogonal_projection_matrix(...)
. I don't fully understand the function arguments yet, but it seems to do the right thing.
In the current version on feature/311-orthographic-projection, one can now toggle between perspective and orthographic projection:
distance_to_target is now calculated in a rather simple way such that the width/height of the field of view at the target location match the y- and z-dimensions of the structure (whichever is the limiting one). Of course, this could be refined, but I'd say it's fine for now.
Still to be done: