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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrap world in X direction #74

Open
maxammann opened this issue May 3, 2022 · 2 comments
Open

Wrap world in X direction #74

maxammann opened this issue May 3, 2022 · 2 comments
Assignees
Labels
feature-request Request for a new feature good first issue Good for newcomers

Comments

@maxammann
Copy link
Collaborator

Difficulty: Hard

Currently, there is only one instance of the map which is rendererd.

馃 Expected Behavior

In Y direction the navigation should be restricted such that one can not pan out from the map. This is done in #73

In X direction it should be possible to infinitely pan. When panning beyond the bounds then the world should should be wrapped.

馃槸 Current Behavior

Only a single instance is rendered.

馃拋 Possible Solution

Render the world instanced if multiple should be shown.

@maxammann maxammann added good first issue Good for newcomers feature-request Request for a new feature labels May 3, 2022
@EvanCarter
Copy link

I'll try to pick this one up

@maxammann
Copy link
Collaborator Author

Hey @EvanCarter, welcome to the project! I would be happy to guide you wherever needed. I added the "Difficulty Hard" because its probably not trivial. I think a mix of instanced rendering & coordinate transformation is needed to achieve this.

If you are experienced with rendering in general we could also collaborate on #82. We will have to create an abstraction above the low-level wgpu layer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request Request for a new feature good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants