Skip to content
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

Renderer: Added camera boundaries to CameraManager and clamping #1682. #1691

Merged
merged 11 commits into from
Nov 7, 2024

Conversation

EdvinLndh
Copy link
Contributor

@EdvinLndh EdvinLndh commented Sep 25, 2024

Camera boundaries are set using constants for now, will probably look into setting the boundaries dynamically soon. #1682

@heinezen heinezen added area: renderer Concerns our graphics renderer improvement Enhancement of an existing component nice new thing ☺ A new feature that was not there before lang: c++ Done in C++ code labels Sep 25, 2024
@heinezen heinezen linked an issue Sep 25, 2024 that may be closed by this pull request
4 tasks
Copy link
Member

@heinezen heinezen left a comment

Choose a reason for hiding this comment

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

Looks good so far!

I have a few comments regarding the current status.

libopenage/renderer/camera/camera.cpp Outdated Show resolved Hide resolved
libopenage/renderer/camera/camera.cpp Outdated Show resolved Hide resolved
libopenage/renderer/camera/camera.cpp Outdated Show resolved Hide resolved
libopenage/renderer/camera/camera.h Outdated Show resolved Hide resolved
libopenage/renderer/camera/camera.h Outdated Show resolved Hide resolved
libopenage/renderer/demo/demo_5.cpp Outdated Show resolved Hide resolved
libopenage/renderer/demo/demo_6.cpp Outdated Show resolved Hide resolved
libopenage/renderer/stages/camera/manager.cpp Outdated Show resolved Hide resolved
libopenage/renderer/stages/camera/manager.h Outdated Show resolved Hide resolved
libopenage/renderer/stages/camera/manager.h Outdated Show resolved Hide resolved
@heinezen heinezen mentioned this pull request Oct 18, 2024
4 tasks
@heinezen
Copy link
Member

@EdvinLndh Are you planning to continue this one soon-ish?

@EdvinLndh
Copy link
Contributor Author

Sorry, I've been out of town for a few weeks, I'll look into it

libopenage/renderer/camera/camera.h Outdated Show resolved Hide resolved
libopenage/renderer/camera/camera.h Outdated Show resolved Hide resolved
libopenage/renderer/camera/camera.h Outdated Show resolved Hide resolved
@heinezen heinezen marked this pull request as draft October 20, 2024 14:49
@heinezen
Copy link
Member

I have converted this into a draft while you work on it. Once you are done, you can set it as ready with the "Ready for review" button above.

@EdvinLndh EdvinLndh marked this pull request as ready for review October 20, 2024 15:31
libopenage/renderer/camera/camera.cpp Outdated Show resolved Hide resolved
libopenage/renderer/camera/camera.cpp Outdated Show resolved Hide resolved
libopenage/renderer/camera/camera.h Outdated Show resolved Hide resolved
libopenage/renderer/camera/camera.h Outdated Show resolved Hide resolved
libopenage/renderer/camera/camera.h Outdated Show resolved Hide resolved
libopenage/renderer/camera/definitions.h Outdated Show resolved Hide resolved
libopenage/renderer/demo/demo_6.h Outdated Show resolved Hide resolved
libopenage/renderer/demo/demo_6.h Outdated Show resolved Hide resolved
libopenage/renderer/stages/camera/manager.cpp Outdated Show resolved Hide resolved
libopenage/renderer/stages/camera/manager.h Outdated Show resolved Hide resolved
@heinezen
Copy link
Member

We are slowly getting there :)

@EdvinLndh
Copy link
Contributor Author

Yes! Thank you for your feedback and patience with me, I'm learning a lot! 😁

@heinezen
Copy link
Member

Btw if you think you solved something I mentioned, you can press the "Resolve coonversation" button to mark it as completed. Then I know what you are still working on.

libopenage/renderer/camera/boundaries.h Outdated Show resolved Hide resolved
libopenage/renderer/camera/camera.cpp Outdated Show resolved Hide resolved
libopenage/renderer/camera/definitions.h Outdated Show resolved Hide resolved
libopenage/renderer/stages/camera/manager.cpp Outdated Show resolved Hide resolved
@heinezen
Copy link
Member

I would check this a final time now for merging if that's okay :)

Copy link
Member

@heinezen heinezen left a comment

Choose a reason for hiding this comment

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

While testing, I noticed that there is one thing still missing. After that is done, we can finally merge :)

libopenage/renderer/stages/camera/manager.h Show resolved Hide resolved
@heinezen heinezen force-pushed the add_camera_boundaries branch from e050d27 to 179e1ad Compare November 7, 2024 21:55
heinezen
heinezen previously approved these changes Nov 7, 2024
@heinezen heinezen enabled auto-merge November 7, 2024 22:00
@heinezen heinezen merged commit 2170ff5 into SFTtech:master Nov 7, 2024
13 checks passed
@heinezen
Copy link
Member

heinezen commented Nov 7, 2024

It's merged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: renderer Concerns our graphics renderer improvement Enhancement of an existing component lang: c++ Done in C++ code nice new thing ☺ A new feature that was not there before
Projects
Status: ✅ Done
Development

Successfully merging this pull request may close these issues.

Boundaries for camera movement
2 participants