It's useful to be able to load and save primitives, this is for several reasons. You may wish to use other programs to make meshes and import them into fluxus, or to export primitives you've made in fluxus to render them in other programs. It's also useful to save the primitive as a file if the process to create it in fluxus is very slow. There are only two commands you need to know to do this:
; load a primitive in: (define newprim (load-primitive filename)) ; save it out again: (with-primitive newprim (save-primitive filename))
At present these commands work on poly and pixel primitives, and load/save obj and png files respectively.
Collada is a standard file format for complex 3D scenes. Collada files can be loaded, currently supported geometry is triangular data, vertex positions, normals and texture coordinates. The plan is to use collada for complex scenes containing different geometry types, including animation and physics data.
(collada-import) loads a collada scene file and returns a scene description list. Files need to contain triangulated model data - this is usually an option on the export. Note: this is slow for heavy models.
There has been error in communication with Booktype server. Not sure right now where is the problem.
You should refresh this page.