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

Vertex colors are not converted #46

Closed
JR-Morgan opened this issue Feb 21, 2022 · 1 comment
Closed

Vertex colors are not converted #46

JR-Morgan opened this issue Feb 21, 2022 · 1 comment
Labels
conversion Related to how objects are converted enhancement New feature or request good first issue Good for newcomers
Milestone

Comments

@JR-Morgan
Copy link
Member

JR-Morgan commented Feb 21, 2022

We never implemented support for converting meshes with Vertex Colours.
Mesh to native conversion ignores vertex colors which maybe useful to convert.

FVertexInstanceID VertexInstance = StaticMeshDescription->CreateVertexInstance(Vert);
VertexInstances.Add(VertexInstance);
if(SpeckleMesh->TextureCoordinates.Num() > VertIndex)
StaticMeshDescription->SetVertexInstanceUV(VertexInstance, SpeckleMesh->TextureCoordinates[VertIndex]);
//if(SpeckleMesh->VertexColors.Num() > VertIndex)
// //TODO set vertex colors
}

@JR-Morgan JR-Morgan added conversion Related to how objects are converted enhancement New feature or request labels Feb 21, 2022
@JR-Morgan JR-Morgan added this to the 2.10 milestone Oct 31, 2022
@JR-Morgan JR-Morgan added good first issue Good for newcomers and removed hacktoberfest labels Jun 16, 2023
@bimgeek
Copy link

bimgeek commented Dec 15, 2023

Closing this ticket as we are moving to Jira to reduce noise. You can access it there.

@bimgeek bimgeek closed this as not planned Won't fix, can't repro, duplicate, stale Dec 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
conversion Related to how objects are converted enhancement New feature or request good first issue Good for newcomers
Projects
Development

No branches or pull requests

2 participants