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

Export .Off not include color in face. #515

Open
ricaun opened this issue Jan 6, 2025 · 0 comments
Open

Export .Off not include color in face. #515

ricaun opened this issue Jan 6, 2025 · 0 comments

Comments

@ricaun
Copy link
Contributor

ricaun commented Jan 6, 2025

Describe the bug
I was experimenting with .off files and noticed when exporting the to .off file the color is not included in the faces.

To Reproduce
Open the sample MultipleMeshes.bim and export to .off.
After importing the exported file to the viewer the color of the faces is not included.
The file exported does not include the color.

Expected behavior
Expected the color to be included in the face of the .off file.

This is the line that should fixed.
https://github.com/kovacsv/Online3DViewer/blob/0d9998a656b84e2a9aebdef18a03759d0bc8df27/source/engine/export/exporteroff.js#L30C1-L32C5

Here is the reference of the off file:
Reference: OFF files

@ricaun ricaun changed the title Export .Off does not include color in face. Export .Off not include color in face. Jan 6, 2025
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