-
-
Notifications
You must be signed in to change notification settings - Fork 39
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
POINTS import: Invalid vertex attribute format+dimension #45
Comments
It's probably best to fill in alpha values of |
Here's a brief test of this in these PRs (for discussion purposes) This works by: At the moment, I'm not infilling with This fixes: There are unrelated issues with these: These fail at |
Ah, looking at the 'unrelated issues' above, these are failing because Context is
|
@camnewnham |
@camnewnham
The points struct looks like this:
I'm also exporting the captured pointcloud as a |
@AR-Vsx just to confirm, did you build the matching native Draco library? The native dlls are not included in this PR (for security only those built by the CI are included). atteneder/draco#6 Please let me know if that resolves your issue |
I have built |
Maybe. The PR references branch color-pad. Have you used this exact branch? |
No, I used the main branch. I switched branches, built the dll and it works fine now, Thank you and @camnewnham thank you too. |
Undoing unjust GH auto-close |
If I'm not mistaken this was fixed with binaries 1.1.0 in DracoUnity 3.4.0 and 4.1.0 respectively. |
* chore: Removed obsolete funding info * chore: Removing backstage info.
This error occurs when using some sample files from the draco repository, such as https://github.com/google/draco/blob/master/testdata/pc_kd_color.drc
Full error text:
At a glance, it seems that Unity requires multiples of 4 for vertex attributes, but (presumably) these draco encoded attributes are 3xUInt8 (R,G,B instead of R,G,B,A).
What's the best way to go about converting this into a format Unity is friendly with?
The text was updated successfully, but these errors were encountered: