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

fix(obj): Improved vertex colors parsing #2569

Merged
merged 3 commits into from
Jul 27, 2023
Merged

Conversation

chrisgervang
Copy link
Collaborator

@chrisgervang chrisgervang commented Jul 27, 2023

For #2568

Tested in a deck.gl SimpleMeshLayer to verify colors are parsing and visible. I observed other issues in how colors are assigned to faces, but have not isolated the cause. I think setting up a OBJ debugger example would make it easier to work on.

Screen Shot 2023-07-27 at 2 51 07 PM

Note: This screenshot is from the MacOS OBJ previewer.

@chrisgervang chrisgervang requested a review from ibgreen July 27, 2023 19:10
modules/obj/test/data/cube_vertex_colors.obj Outdated Show resolved Hide resolved
modules/obj/test/obj-loader.spec.js Show resolved Hide resolved
Copy link
Collaborator

@ibgreen ibgreen left a comment

Choose a reason for hiding this comment

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

  • Please add to docs/whats-new.md
  • Please update OBJLoader docs.
  • If you want this in the near future, you'll need to back port / cherry-pick to 3.4-release branch, and notify @belom88 that we need a weekly patch releae.

@chrisgervang chrisgervang changed the title fix(obj) parse vertex colors fix(obj): Improved vertex colors parsing Jul 27, 2023
@chrisgervang chrisgervang merged commit a19c1c5 into master Jul 27, 2023
@chrisgervang chrisgervang deleted the chr/obj-vertex-colors branch July 27, 2023 23:04
chrisgervang added a commit that referenced this pull request Jul 27, 2023
* fix(obj) parse vertex colors

* v3.4.9 changelog
@belom88 belom88 added this to the v3.4.9 milestone Aug 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

Successfully merging this pull request may close these issues.

3 participants