Format of huffman compressed data in PRC compressed tessellation?
Hi there,
I've been looking to see if I can make our application create 3D pdf files using the PRC file format. I downloaded the PRC file format document from ISO and tried to read a few example files I found on the web to make sure I understood how it worked. It's all fine until I try to read huffman compressed data in a PRC_TYPE_TESS_3D_COMPRESSED section. The standard says that I should be able to read the huffman compressed data by using the opposite of the 'WriteUnsignedInteger' but if I do that I get invalid integers. If I try to read the unsigned integers by just reading 32bits directly the data doesn't seem to make sense if I try to decode the leaf data for the fuffman tree.
Does anybody know if there is any documentation on this or any examples? I'm at the point of giving up...
I'm a bit bewildered that there is an ISO standard but the example files that I have just don't seem to match it...
Any help would be be fantastic.
Thanks
Miles Thornton
