Skip to content

Cameraz - #156

Merged
Erfan-Ahmadi merged 238 commits into
masterfrom
cameraz
Sep 19, 2026
Merged

Erfan-Ahmadi merged 238 commits into
masterfrom
cameraz

Conversation

@devshgraphicsprogramming

@devshgraphicsprogramming devshgraphicsprogramming commented Oct 30, 2024

Copy link
Copy Markdown
Member

Makes 61_UI consume Nabla::ext::Cameras as a downstream example and harness.

…ers (temporary to common/include/camera directory)
…ific range type & projection matrix type constraints, update ILinearProjection and CCubeProjection - now I can pair IProjection with a gimbal
…urces, save main.cpp tests, add TODO comments
…s with abstract manipulate method - expect virtual event & a gimbal. Update CGimbal with new manipulation & set methods, start replacing CCamera content with new gimbal & controller
… tomorrow - make CCamera use gimbal & treat as FPS controller
…tion with isLeftHanded method, update sources & some of matrices to HLSL - the pure virtual controller manipulate method now takes a gimbal + span of virtual events
…h a setter & get with a getter therefore determine at set time handness (compute determinant only once after the matrix gets changed!), update main.cpp & sources - time to test it
…tance virtual, init time stamps with defaults
…tation (TODO: constraints for type of camera + I broke continuity of events signaling & need those keysPressed bools I guess)
Comment thread common/include/ICamera.hpp Outdated
Comment thread common/include/ICamera.hpp Outdated
Comment thread common/include/CCamera.hpp Outdated
Comment on lines +29 to +30
virtual void manipulate(std::span<const typename traits_t::controller_virtual_event_t> virtualEvents) override
{

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess CCamera needs to be called a CFPSCamera then?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

resolved

Comment thread common/include/camera/CCubeProjection.hpp Outdated
Comment thread common/include/ICamera.hpp Outdated
Comment thread common/include/camera/ICameraControl.hpp Outdated
Comment thread common/include/camera/ICameraControl.hpp Outdated
Comment thread common/include/camera/ICameraControl.hpp Outdated
Comment thread common/include/camera/ICameraControl.hpp Outdated
# Conflicts:
#	09_GeometryCreator/main.cpp
#	12_MeshLoaders/main.cpp
#	50.IESViewer/AppInit.cpp
#	50.IESViewer/AppRender.cpp
#	50.IESViewer/AppUI.cpp
#	61_UI/main.cpp
#	70_FLIPFluids/main.cpp
#	73_GeometryInspector/main.cpp
#	common/include/nbl/examples/cameras/CCamera.hpp
…undant math util functions, consistent matrix conventions (mat4x4 vs new CameraBasis).
- notes: from my perspective this example isn't worth the maintanance, a huge application of it's own, had it's fair share of problems. so I asked AI in this commit to fix things to match the new camera extension changes and I did very minimal review unlike always. So I'm embarassed for this commit, I had limited choice and I have more important things to get into. I think it was better than deprecating or removing it from CI, but it's not essential code fortunately. maintaining this example woule take weeks from a juniordev. it has too many cons and too little pros.
…e guard to consumedEvents overflow detection
@Erfan-Ahmadi
Erfan-Ahmadi merged commit 4a0cc2f into master Sep 19, 2026
@Erfan-Ahmadi
Erfan-Ahmadi deleted the cameraz branch September 19, 2026 14:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants