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

chore: remove SubmersibleCamera abstraction #4867

Merged
merged 10 commits into from
Oct 30, 2021

Conversation

pollend
Copy link
Member

@pollend pollend commented Aug 25, 2021

This SubmsersibleCamera abstraction seems to complicate things a lot so I just did away with the abstraction. I think this should help with readability. the use case is limited and the abstract is backward since it goes from camera --> submersible but all cameras are considered submersible cameras just simpler to do away with this. submersible is pretty limited in its use case so I just moved that logic to CoreRendering. you need to merge this PR: Terasology/CoreRendering#71 before this one. the PR in core rendering can be merged without this once since I just swap the base class to Camera.

Not sure I agree with the propertychange stuff from cameraconfig not all cameras are dependent on the resolution nor are all cameras dependent on the view distance or LOD. for the variance shadow maps I would like to tune the z-distance to best fit the camera frustrum.

@github-actions github-actions bot added the Type: Chore Request for or implementation of maintenance changes label Aug 25, 2021
@pollend pollend added the Type: Refactoring Request for or implementation of pure and automatic refactorings, e.g. renaming, to improve clarity label Sep 11, 2021
@jdrueckert jdrueckert merged commit fa9bdc6 into develop Oct 30, 2021
@jdrueckert jdrueckert deleted the chore/remove-submersiableCamera-abstraction branch October 30, 2021 22:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Chore Request for or implementation of maintenance changes Type: Refactoring Request for or implementation of pure and automatic refactorings, e.g. renaming, to improve clarity
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants