Commit graph

14 commits

Author SHA1 Message Date
Grant Sanderson
661814deea Add all orientation options into CameraFrame.reorient 2024-02-03 18:48:07 -06:00
Grant Sanderson
d10745a379 Have CameraFrame.get_view_matrix and and CameraFrame.get_implied_camera_location use _data_has_changed instead of a refresh arg 2023-02-02 20:47:12 -08:00
Grant Sanderson
3b0c958189 Check case of scale = 0 in get_view_matrix 2023-01-31 15:37:03 -08:00
Grant Sanderson
92e4d43ca3 Make sure camera location is not computed more times than it needs to be 2023-01-31 12:29:49 -08:00
Grant Sanderson
424db4b3e4 Ensure view matrix is not computed more than it needs to be 2023-01-31 12:20:25 -08:00
Grant Sanderson
af69cf9c7d Track field of view instead of focal_dist_to_height 2023-01-30 15:02:33 -08:00
Grant Sanderson
71bd3edb09 Fix frame scaling 2023-01-30 15:02:04 -08:00
Grant Sanderson
277c471c90 Refactor so that view matrix incorporates frame scaling 2023-01-30 14:15:39 -08:00
Grant Sanderson
285953b44d Add FRAME_SHAPE constant 2023-01-30 11:57:01 -08:00
Grant Sanderson
2705ba3afa Fix CameraFrame.to_fixed_frame_point 2023-01-28 22:58:05 -08:00
Grant Sanderson
91f69be3e0 Add CameraFrame.to_fixed_frame_point 2023-01-28 22:30:00 -08:00
Grant Sanderson
fbde9e8bba Check for null orientation in getting euler angles 2023-01-28 13:06:08 -08:00
Grant Sanderson
5deef1c249 Allow for setting a default frame orientation 2023-01-28 12:02:19 -08:00
Grant Sanderson
3339aad29e Separate CameraFrame into its own file 2023-01-25 10:19:44 -08:00