Commit Graph

18 Commits

Author SHA1 Message Date
Matthew Gordon 35785dbf01 Redraw continuously instead of busy-waiting at 100% CPU
Previously, Pteropus would only redraw when the window was resized, but
it would continuously poll for events, keeping a CPU core at 100% even
when not doing anything.

It now automatically queues a new RedrawRequested event after each draw
finishes. The view() call will also limit the frame rate to the video
refresh rate and block when there are more than three frames queued up,
so we're not busywaiting any more.
2024-11-14 20:51:23 -04:00
Matthew Gordon b870e03812 Draw unlit cube when DEM is loaded
Reconfigure the pipeline to draw an unlit (solid colour silhouette) cube
when a DEM is loaded. The fragment shader of this cube will be what
raytraces the DEM.
2024-11-14 12:51:24 -04:00
Matthew Gordon 71b05c31a2 Load f32 tiff into DEM, started BVH, other changes 2024-11-13 17:14:44 -04:00
Matthew Gordon 5dfdd3e927 Stub in basic wgpu framework; just draw triangle right now
Start again using WGPU with both native and WebAssembly. Just draws a
triangle right now.
2024-07-12 17:27:27 -03:00
Matthew Gordon 5e107d78f2 Scale down fox image 2024-07-11 11:05:28 -03:00
Matthew Gordon 4911748728 Re-add Flying Fox 2024-07-11 10:55:57 -03:00
Matthew Gordon 8cf731ee35 Delete Flying Fox photo missing from LFS after migration 2024-07-11 10:55:09 -03:00
Matthew Gordon 548f801bcf Extract numeric type traits to own module 2024-02-03 12:39:28 -04:00
Matthew Gordon d84a1ee40c Restructure command line args to use subcommands 2024-02-03 12:38:34 -04:00
Matthew Gordon 0880f3e761 Add simple gridding of LAS files 2024-01-20 16:27:45 -04:00
Matthew Gordon 45121558f9 Upgrade a bunch of packages 2024-01-18 19:54:24 -04:00
Matthew Gordon f693faed12 Switch to semver for dependencies 2024-01-18 19:41:16 -04:00
Matthew Gordon 7b50b884f4 Remove Vukan 2024-01-18 19:37:40 -04:00
Matthew Gordon 5e34c37848 Vulkan WIP 2024-01-18 19:37:03 -04:00
Matthew Gordon 8ef0c4ce59 WIP Initializing Vulkan 2022-02-26 16:56:01 -05:00
Matthew Gordon c54de32d30 Give a geographic location, download and read LIDAR from GeoNB 2022-02-26 15:09:13 -05:00
Matthew Gordon 054d107d3c Add Flying Fox photo 2022-02-01 12:03:59 -05:00
Matthew Gordon 241a46206e
Initial commit 2022-02-01 10:38:48 -05:00