-
-
Notifications
You must be signed in to change notification settings - Fork 228
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
Add support for ortographic projection #1096
Comments
Indeed a nice addition, shouldnt be too hard to add. |
For reference if someone wants to give it a try: https://vtk.org/doc/nightly/html/classvtkCamera.html#a87b276a44eb1817aa388c89dc9becfc5 Obviously we need an option to toggle it. |
I'd like to work on this as my first issue. I'm trying to write a simple Vulkan Engine as a hobby project and would love to work on f3d as well to learn more about graphics systems going forward! |
Hi @aemreaydin ! You are very welcome! We have been discussing this issue on discord, did you join already ? |
@kidharb so do you wanna try your hand at this one ? |
Yes, I'm just not sure regarding how the baselines work. So I've been trying to run the ctests locally which has led me down a path of learning cmake. |
As you prefer, let me know if you need any help understanding how it works. |
Partially addresed by #1235 |
Still need a command line option, are you will to add it @kidharb ? |
Fixed by #1315 |
As a user of f3d I would like to see support for orthographic projection.
Currently only perspective projection is supported. My use case is that I will render thumbnails of CAD models and it is customary to use orthographic projection in CAD.
It can possibly be faked by moving the camera far away and setting a low camera angle. Possible pitfalls of this hack is floating point precision problems, poor z-buffer dynamic range use and more.
The text was updated successfully, but these errors were encountered: