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

Refactor Vertex Color export and import #214

Merged
merged 1 commit into from
Mar 21, 2024

Conversation

sercero
Copy link
Collaborator

@sercero sercero commented Mar 20, 2024

There were some issues with the code regarding Vertex Colors:

  • The exporter was stuck with conventions of Blender 2.7x like alpha not being part of the Vertex Color data.
  • In Blender 3.2+ the mesh now has color_attributes instead of vertex_colors
  • The importer had a bug where an unknown variable was being referenced.

@sercero
Copy link
Collaborator Author

sercero commented Mar 21, 2024

@paroj is there a way to represent vertex colors with the RTSS?

And also per vertex transparency?

@sercero sercero merged commit a29ca2b into OGRECave:master Mar 21, 2024
1 check passed
@paroj
Copy link
Member

paroj commented Mar 24, 2024

the RTSS follows the normal diffuse colour flow, which can track vertex colours and contain alpha. See (vertexcolour):
https://ogrecave.github.io/ogre/api/latest/_material-_scripts.html#autotoc_md128

@sercero sercero deleted the vertex_colors branch March 30, 2024 21:04
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.

2 participants