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

Add polygonal models support #5

Open
3 tasks done
Morozov-5F opened this issue Dec 29, 2020 · 4 comments
Open
3 tasks done

Add polygonal models support #5

Morozov-5F opened this issue Dec 29, 2020 · 4 comments
Assignees
Labels
enhancement New feature or request

Comments

@Morozov-5F
Copy link
Owner

Morozov-5F commented Dec 29, 2020

  • Triangle collision detection (barycentric coordinates?).
  • Triangulated mesh support.
  • Test UV mapping for triangles.
@Morozov-5F
Copy link
Owner Author

It is possible to render meshes but right now it's ridiculously slow due to the fact that we perform too many hit tests inside of the mesh object itself. Need to further optimize that and subdivide internal components into different lists.

@Morozov-5F
Copy link
Owner Author

I forgot that I had BVH :( Now mesh automatically uses BVH tree to balance triangles.

@Morozov-5F Morozov-5F pinned this issue Nov 16, 2021
@Morozov-5F
Copy link
Owner Author

Need to check the UV-mapping of the mesh.

@Morozov-5F
Copy link
Owner Author

UV mapping for individual triangles work great although I will need to add support for proper UV maps for meshes. This will require re-work of the mesh-triangle relationship, e.g. triangle cannot exist without mesh with UV map and normal map.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant