-
Notifications
You must be signed in to change notification settings - Fork 10
API for exporting mesh and color data #91
Comments
Serialization format:
Texture coordinates are local coordinates within the 12x12 or 28x28 tile. They start at (0, 0) at the bottom left corner of the first pixel. The coordinates increase by 1 for each pixel traveled right or up. This should ZIP compress quite nicely, as over 50% of the pixels are zeroed out. Per 100K triangles, you can expect 50 MB uncompressed and 25 MB compressed. |
#92 shows how to use the exporter API. This is ready for testing inside an ARHK tutorial. I won’t proactively test it, but I’ll fix any bugs you report. |
I corrected a previous error in the serialization format specification. It previously had 14x14 luma for the 320-byte tiles and 12x12 chroma for the 1280-byte. That should be reversed; 12x12 for 320-byte and 14x14 for 1280-byte. |
I am working on an API to export the raw data from ARHeadsetKit. It takes all geometry and color data present at one point in time, then reorders it into a simple serialization format. This is entirely lossless and should happen very quickly.
The next step is converting the YCbCr data to RGB (if you wish) or rearranging the geometry data into a different layout.
cc @knightfork
The text was updated successfully, but these errors were encountered: