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

Raycasting issue with TriangleStripDrawMode #17613

Closed
2 of 10 tasks
jeffpyke opened this issue Sep 30, 2019 · 3 comments
Closed
2 of 10 tasks

Raycasting issue with TriangleStripDrawMode #17613

jeffpyke opened this issue Sep 30, 2019 · 3 comments

Comments

@jeffpyke
Copy link

Description of the problem

Raycasting doesn't work as expected with TriangleStripDrawMode. Raycasting works as if TrianglesDrawMode was being used. Below is a screenshot with TrianglesDrawMode and TriangleStripDrawMode. Raycasting only intersects over the triangles rather than the entire area as expected.

Screenshot from 2019-09-30 10:01:09
Screenshot from 2019-09-30 10:00:44

Three.js version

0.100.0

Browser
  • All of them
  • Chrome
  • Firefox
  • Internet Explorer
OS
  • All of them
  • Windows
  • macOS
  • Linux
  • Android
  • iOS
Hardware Requirements (graphics card, VR Device, ...)
@gkjohnson
Copy link
Collaborator

Related to #17369 which adds support for raycasting meshes with TriangleStripDrawMode.

@WestLangley
Copy link
Collaborator

Related: TriangleFanDrawMode #9869

@Mugen87
Copy link
Collaborator

Mugen87 commented Dec 3, 2019

Mesh.drawMode has been removed. Please check the migration guide for R112 to see the recommended migration task.

https://github.com/mrdoob/three.js/wiki/Migration-Guide#r111--r112

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

4 participants