From: Limper, M. <max...@ig...> - 2014-12-29 18:41:57
|
Hi, X3DOM cannot load X3DB files (it would be pretty slow in JS). You can try SRC instead of BinaryGeometry, which uses the same self-contained file for indices and vertex attributes: http://x3dom.org/src/ Regards, Max L. Am 29.12.2014 16:24 schrieb "printercu ." <pri...@gm...>: Hi! I'm looking for the way to store model in single binary file compatible with x3dom. I've tried `aopt -G -x` but it seems to produce 2 files for every single separate component. I've also found that `aopt -b` can create x3db file that seems to be as small as binaries created with -G option. But when I try to use it in 'Inline' tag it displays 'loading: 1' and spins loader forever. I've found that x3db was not implemented in 1.5 https://github.com/x3dom/x3dom/blob/stable/1.5.x/test/functional/inlineCompression.html but this test has gone in 1.6. I've tried gziped .x3d mage with `aopt -z -x` but it doesn't work similar to x3db file. Does any of this options works in 1.6 (may be I just need to load some library) or may be there is other way to store single binary files? Thanks in advance! Max |