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

CPU touching color does not always match GPU/Scratch 2 #1029

Open
Xeltalliv opened this issue Apr 30, 2023 · 1 comment
Open

CPU touching color does not always match GPU/Scratch 2 #1029

Xeltalliv opened this issue Apr 30, 2023 · 1 comment

Comments

@Xeltalliv
Copy link

In 2017 (scratch 2) I made this project that scans a costume using touching color blocks and constructs a 3D level based on it. Scanning costume in the project is small, so scratch uses CPU collision.

Expected Behavior

Scratch 2, GPU collision of Scratch 3, unofficial alternative players like Forkphorus all produce the same correct result:
image

Actual Behavior

CPU collision which scratch uses in this case produces different incorrect results:
image

Steps to Reproduce

Steps to reproduce the behavior:

  1. Go to 'https://scratch.mit.edu/projects/137870287/'
  2. Launch the project
  3. Look around using arrow keys. The level was scanned incorrectly
  4. Open browser console
  5. Obtain vm object
  6. Run vm.renderer.setUseGpuMode('ForceGPU')
  7. Launch the project again
  8. Look around using arrow keys. The level was scanned correctly
@adroitwhiz
Copy link
Contributor

Probably resolved by #479

@Xeltalliv Xeltalliv changed the title CPU touching color is incorrect CPU touching color does not always match GPU/Scratch 2 May 1, 2023
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