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

Optimize mesh indexing #200

Closed
mistafunk opened this issue Dec 8, 2022 · 1 comment
Closed

Optimize mesh indexing #200

mistafunk opened this issue Dec 8, 2022 · 1 comment

Comments

@mistafunk
Copy link
Collaborator

mistafunk commented Dec 8, 2022

Currently, the PRT encoder uses a single index for all vertex attributes (e.g. vertex normals):

.indexSharing(prtx::EncodePreparator::PreparationFlags::INDICES_SAME_FOR_ALL_VERTEX_ATTRIBUTES);

This leads to duplicate points like in this case https://community.esri.com/t5/arcgis-cityengine-questions/palladio/m-p/1238219

Try to optimize this by using separate indices for vertex normals.

@mistafunk mistafunk added this to the Palladio 2.0 Beta 2 milestone Mar 23, 2023
@mistafunk
Copy link
Collaborator Author

Merged to develop.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant