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

In-progress strokes are invisible when the camera is panned too far from the origin. #28

Open
patowen opened this issue Apr 13, 2024 · 1 comment

Comments

@patowen
Copy link

patowen commented Apr 13, 2024

Describe the bug
In-progress strokes are invisible when the camera is panned too far from the origin. I believe the root-cause is related to frustum culling (See additional context).

To Reproduce
Steps to reproduce the behavior:

  1. Zoom out
  2. Zoom in elsewhere
  3. Draw a stroke
  4. See that the in-progress stroke is invisible until you release the mouse (or you've passed POINTS_CHUNK_THRESHOLD)

Expected behavior
The in-progress stroke is visible no matter where the camera is.

Additional context
I believe the root cause is bevyengine/bevy#4294. I was able to resolve this locally by editing make_chalk to add the NoFrustumCulling component to in-progress strokes.

@alepez
Copy link
Owner

alepez commented Apr 15, 2024

Thanks for reporting this issue and a possible solution. I'll try this.

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

No branches or pull requests

2 participants