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 multi-object and multi-group support for OBJ files #8

Open
benjaminwgordon opened this issue Mar 3, 2023 · 0 comments
Open

Add multi-object and multi-group support for OBJ files #8

benjaminwgordon opened this issue Mar 3, 2023 · 0 comments
Assignees

Comments

@benjaminwgordon
Copy link
Collaborator

Wavefront .obj files can contain multiple objects in a single file. Additionally, objects can be constructed from several groups of Polygon Paths.

The current implementation presumes a single object and group in the file for parsing.

for simple_poly in obj.data.objects[0].groups[0].polys.clone() {

This should be extended to support multi-object and multi-path to allow constructing holograms for more complex shapes.

@benjaminwgordon benjaminwgordon self-assigned this Mar 3, 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

1 participant