[Opensim-dev] Texture encoding in database
Dahlia Trimble
dahliatrimble at gmail.com
Thu Jan 16 20:51:40 UTC 2014
Are you looking at the blob which is part of a primitive? There is an
encoder/decoder in libopenmetaverse, it's
OpenMetaverse.Primitive.TextureEntry. Here's a link to the source if you're
curious:
https://github.com/openmetaversefoundation/libopenmetaverse/blob/master/OpenMetaverse/Primitives/TextureEntry.cs
On Thu, Jan 16, 2014 at 12:24 PM, Jeff Kelley <opensim at pescadoo.net> wrote:
> I can find no documentation about the way textures and per-side attributes
> are encoded in table primshapes. Breaking the binary string into 17 bytes
> blocks, I retrieve a variable number of textures at the beginning :
>
>
> Textures for prim 0b1a30a5-bc36-4c19-8710-2b1508927606
> Blob size=107 (6 entries + 5 bytes)
> +--------------------------------------+-------+------------
> ----------------------+
> | Texture | Side | |
> +--------------------------------------+-------+------------
> ----------------------+
> | c0dc594d-ec52-4634-8d00-1213adad6690 | 20 | e8support06c.jpg |
> | 25df78a4-647b-434f-8f42-6d19504bcb89 | 9 | AF_steel_wire |
> | 20a88b5d-ba7d-4896-980b-17bcd38b6714 | 2 | ME - J_metal03.jpg |
> | cb323153-9c2b-4cc8-b397-52d36809a0a2 | 0 | totallyclear |
> | 00000000-00cd-cc4c-3e14-000080400000 | 0 | -- not found -- |
> | 80401e00-00c0-3f00-0000-000000000000 | 0 | -- not found -- |
> | 00000000-0000-0000-0000-000000000000 | 0 | -- not found -- |
>
>
> then, non uuid entries (I suppose we should find colors, repeats, etc
> since this is the only place they can be). Can somebody points me to the
> documentation or source code?
>
>
> -- Jeff
> _______________________________________________
> Opensim-dev mailing list
> Opensim-dev at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/opensim-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://opensimulator.org/pipermail/opensim-dev/attachments/20140116/2e1701d5/attachment-0001.html>
More information about the Opensim-dev
mailing list