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

Supporting F16 vertex data #26

Open
KichangKim opened this issue Jan 29, 2020 · 2 comments
Open

Supporting F16 vertex data #26

KichangKim opened this issue Jan 29, 2020 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@KichangKim
Copy link

Hi. Unity 2019.3 now supports low level Mesh API, like vertex data attribute and custom buffer. So user can create F16 format vertex data.

I want to know whether UnityMeshSimplifier supports that vertex format and preserve its format for output mesh.

@Whinarn
Copy link
Owner

Whinarn commented Jan 29, 2020

Hi @KichangKim,

It is not currently supported, but it shouldn't be too much work to add support for it.
I can have a look at this.

@Whinarn Whinarn self-assigned this Jan 29, 2020
@Whinarn Whinarn added the enhancement New feature or request label Jan 29, 2020
@Whinarn
Copy link
Owner

Whinarn commented Jan 29, 2020

Having taken a deeper look at the new API and evaluating how to best approach this, I can say that it will take much more time than I had initially anticipated.

If you are using the MeshSimplifier API directly, then you should (not 100% sure) be able to still use the new vertex buffer APIs on Unity meshes. But if you are using the automated components or the simplified methods on the MeshSimplifier API (like the ToMesh method), then you are out of luck.

I'd accept pull requests though, if you feel like implementing support for it. I don't spend much time on this project anymore, so it might take a while before I revisit this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants