Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/prideout/camera_demo
demo for par_camera_control.h
https://github.com/prideout/camera_demo
Last synced: about 2 months ago
JSON representation
demo for par_camera_control.h
- Host: GitHub
- URL: https://github.com/prideout/camera_demo
- Owner: prideout
- Created: 2019-11-02T19:37:11.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2022-11-22T07:40:01.000Z (about 2 years ago)
- Last Synced: 2024-08-04T02:10:58.523Z (5 months ago)
- Language: C
- Homepage:
- Size: 6.24 MB
- Stars: 9
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- AwesomeCppGameDev - camera_demo
README
This is a demo for [par_camera_control.h](https://github.com/prideout/par),
a one-file C library that enables orbit controls (a.k.a. tumble, arcball, trackball) or pan-and-zoom
like Google Maps.The native demo is easy to build on macOS. First make sure you have CMake and clang installed, then
do `make run`. For other platforms, simply invoke CMake in the way that you normally do.## Notes
- Ideas for par_camera_controller
- Multi-touch support, especially for zoom.
- Double-tap to focus.
- First person mode (sketchfab has this).- Create par_camera_animator.h
- Time-aware utility class.
- Provides momentum for panning.
- Sudden movements should be smoothed.
- parca_grab_begin, parca_grab_end, parca_grab_begin, parca_zoom, parca_tick.
- does not depend on par_camera_control, uses callbacks instead.- Demo ideas
- Demonstrate precision crosshairs for deep zoom, similar to my old blog post.
- Implement a view cube as seen in tinkercad. See `ImGuizmo` for inspiration.