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

Triangle set cursors #45

Merged
merged 7 commits into from
Aug 8, 2023
Merged

Conversation

ConorStokes
Copy link
Contributor

Allow bi-directional operation between the cursor system (for searches etc) and the triangle mesh, building on the triangle-element map.

  geometry, materials and triangle element maps from a
  scene walk.
* Added triangle to element map calculation.
* Added element local IDs to scene
* This allows the scene walk to capture the elements.

Still need to add tests and convert geometry conversion to
use the packed mesh.
* Tests for packed geometry and triangle to element map.
* Fixed some functions returning type Boolean instead of boolean.
  cursor over a whole packed mesh.
* Changed packed mesh into a class
* Added test for triangle extraction from a cursor.
* Added element to primitive map to make sure we
  can work out what mesh primitive an element is in too.
* Added single index set in anticipation of building a cursor
  from a selection of triangles.
@ConorStokes ConorStokes added the enhancement New feature or request label Aug 3, 2023
@oo-bldrs oo-bldrs marked this pull request as draft August 4, 2023 06:44
@oo-bldrs oo-bldrs changed the title DRAFT: Triangle set cursors Triangle set cursors Aug 4, 2023
@ConorStokes ConorStokes marked this pull request as ready for review August 8, 2023 18:00
Copy link
Contributor

@nickcastel50 nickcastel50 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ConorStokes ConorStokes merged commit ab9bae6 into bldrs-ai:main Aug 8, 2023
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

Successfully merging this pull request may close these issues.

2 participants