-
-
Notifications
You must be signed in to change notification settings - Fork 232
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Toggleable orthographic camera added. #1098
Conversation
Improve versioning display with `--version`
* fix cppcheck * another cppcheck fix * try again
* Add soname to shared library Update CMakelists to add soname to shared library using VERSION ${F3D_MAJOR_VERSION}.${F3D_MINOR_VERSION} and SOVERSION ${F3D_MAJOR_VERSION}
Add F3D_PLUGINS_INSTALL_DIR option
* Add a drop zone - Add a new dynamic vtkF3DDropZoneActor (co-author: @snoyer ) - Show the dropzone when no file are loaded - Remove previous behavior of showing information in the filename info - Add a test
When no mapper is set vtkActor2D is erroring in the default impl of rendering methods. Override them to avoid that.
…ile (f3d-app#831) * Fix an issue with window not reset when loading another file
* Camera: Reset using screenspace
…3d-app#832) * Add F3D_USE_EXTERNAL_DEPS option for third party libraries * Use options F3D_USE_EXTERNAL_CXXOPTS and F3D_USE_EXTERNAL_NLOHMANN_JSON instead * fix cppcheck * explicitly specify the include directories * fix * fix typo * add find_package to toplevel CMakeLists.txt file * fix for codespell
* Add `--camera-direction` option * Add `--camera-zoom-factor` option (need vtk 9.3) * Use `camera-direction` in default config file for better default camera direction (open to changes on this one) * Fix f3d-app#45
Co-authored-by: snoyer <[email protected]>
## Changes * Updated `.gitignore` to include `build` directories, `.vs` directories (for visual studio) and `CMakeUserPresets.json` * New option to invert zoom when using right mouse button + drag * Added support for zooming in/out with either vertical or horizontal drag when holding right mouse button * Added interaction unit test for invert zoom feature Fixes f3d-app#280
## Rework animation suport - Rely on real elapsed time instead of timestep to animate - Store animationManager in loader instead of interactor - Add an --animation-speed-factor option to slow, speed and invert time\ - Add an --animation-time option to set an animation time to load - Add an --animation-frame-rate option to control animation frame rate - Fix multiple issues related to time and improve internal doc - update tests accordingly - Add doc for options and animations
- Update VTK version in CI and packaging - Update baseline for VRML - Switch to TBB for CI and update suppressions accordingly
- Move initialization logic from a global logic to an instance logic - Remove a few useless `f3d::`
- Add simple support for dropping HDRI by pressing Ctrl while dropping - Fix f3d-app#34 - Fix an issue when options are changed before a file is loaded and add a test - Ctrl pressed down cannot be tested - Update Doc and dropzone
You are modifying libf3d public API! |
Any consensus on "orthographic" vs "orthogonal" vs "parallel" to name the projection within the app/UI? Wikipedia says "Orthographic projection (also orthogonal projection and analemma) [...] is a form of parallel projection" and has a nice illustration which is very educational but doesn't solve the choice. |
I vote for Orthographic. |
Added tests.
Added a changelog for orthographic projection.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here's the list of failing tests. They are all related to the cheatsheet, and it makes sense. Please update the baselines.
The following tests FAILED:
165 - f3d::TestInteractionCheatsheetRaytracing (Failed)
166 - f3d::TestInteractionCheatsheetWhiteBGRaytracing (Failed)
167 - f3d::TestInteractionCheatsheetBlackBGRaytracing (Failed)
168 - f3d::TestInteractionCheatsheetScalarsRaytracing (Failed)
169 - f3d::TestInteractionNoFileCheatsheetRaytracing (Failed)
Errors while running CTest
Just in case you need the new baselines |
@aemreaydin please "resolve" discussion that you have adressed :) |
You need to rebase again. I would suggest to add changelog right before mergingn to avoid this :) |
Hi @aemreaydin , need any help moving forward ? |
Hi @aemreaydin , please let us know if you still want to work on this :) |
a8aac1c
to
3f8eb1d
Compare
superseeded by #1235 |
Fix: #17 #1096