Giter Club home page Giter Club logo

collada-archive-loader-js's Introduction

In Progress

zipped-collada-loader-js

THREE js loader for loading a zipped ZAE Collada file

https://forums.khronos.org/showthread.php/10740-example-zae-files

Archive Packaging

From the Collada 1.5 spec.

On import and export, DCC tools must support the .zae format, which is a zip archive of one or several .dae files (COLLADA documents) and all the referenced content (textures).

The archive must include a file named manifest.xml, an XML-encoded file that contains a <dae_root> element. This element is a UTF8 encoding of the relative URI pointing to a .dae file. If the URI contains a fragment then the indicated element is the starting point for application loading of the .zae archive. Otherwise, the element will be the starting point for application loading the .zae archive. If neither of these conditions is met then the behavior is undefined.

The URIs in the .zae files can reference any other file in the archive using relative paths from the root of the archive, in accordance with the URI standard.

The archive itself may include other archives (zip, rar, kmz, zae). The URI to reference a document inside a nested archive, itself inside the .zae archive, will use the name of the nested archive in the path. For example:

./internal_archive.zip/directory/document.dae#element

It is not possible to reference content outside of an archive using a relative URI, but it is valid to reference content using an absolute URI, such as:

file:///other_directory/other_document.dae#element

collada-archive-loader-js's People

Contributors

gkjohnson avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

collada-archive-loader-js's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.