Skip to content
This repository has been archived by the owner on Oct 12, 2019. It is now read-only.

File Format Wishlist #24

Closed
3 tasks
sjkelly opened this issue Aug 25, 2014 · 3 comments
Closed
3 tasks

File Format Wishlist #24

sjkelly opened this issue Aug 25, 2014 · 3 comments
Milestone

Comments

@sjkelly
Copy link
Member

sjkelly commented Aug 25, 2014

These would be nice to have for at least import. I think that supporting these will help establish the bounds on what considerations we will have to take for an improved Mesh type.

@sjkelly sjkelly added this to the v0.1.0 milestone Aug 25, 2014
@jaakkor2
Copy link
Contributor

I wrote rudimentary import and export for three.js JSON format described here
https://github.com/mrdoob/three.js/wiki/JSON-Model-format-3

JSON format can have morphtargets. Morph targets are sets of geometry vertices positions for automatic interpolation between them. I would like to support import and export of morphtargets that could look like Mesh-structure vertices. See for example

http://threejs.org/examples/webgl_morphtargets_horse
http://threejs.org/examples/models/animated/horse.js

Question: should morphtargets
a) be included in Mesh-type?
b) be passed by the io-functions as an array of Mesh-types? How to modify the function definitions (input arguments and return values then?

Another question: I would like to support volumes like amf-format does as an array of Mesh-types. If there is only one volume and then only one mesh, should I return "msh" or "[msh]", where msh is of type Mesh ?

@sjkelly
Copy link
Member Author

sjkelly commented Sep 29, 2014

@jaakkor2 this looks great. We are currently discussing how to get arbitrary data in the mesh type in issue #21.

Returning an array of mesh is a poor solution. I only did this with AMF as a stop-gap solution to get the basic functionality in. Consistent return types will be necessary for 0.1.0.

@sjkelly
Copy link
Member Author

sjkelly commented Nov 9, 2015

Moved to MeshIO.

@sjkelly sjkelly closed this as completed Nov 9, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants