Right. I tried with another browser and got it to show something.
I can't help noticing that with the sample dodecahedron, the faces are subdivided in triangles and cuts are added at random places within some pentagonal faces. This may be fun for cardboard figures wrapped with starch and paper, but it is totally useless for an application where watertight welding is involved as it is a very time-consuming process.
The more I think about it, the more I am certain it would be a great addition to Wings, since the interface has everything it needs to select faces and edges.
I would be glad to help with the implementation, but I know nothing about Erlang or the Wing3D codebase so I would need to be guided.
Also, I insist the feature that is needed is only edge selection and unfolding on the selected edges. automatic unfolding and collision detection is a welcome addition, but it is not what is sought here.
as I see it, the simplest data structure for this purpose would be a tree of the form
the tree can be then be built as a sequence of clicks, selecting faces and/or edges to build the tree and coloring faces as it builds up.
this way it's also very easy to deliberately avoid cutting a specific face, or group them in a way that is functional: the teapot example makes total sense here.
to render / output, traverse the tree face by face, orienting them and appending them to the previous face in the tree.
I can't help noticing that with the sample dodecahedron, the faces are subdivided in triangles and cuts are added at random places within some pentagonal faces. This may be fun for cardboard figures wrapped with starch and paper, but it is totally useless for an application where watertight welding is involved as it is a very time-consuming process.
The more I think about it, the more I am certain it would be a great addition to Wings, since the interface has everything it needs to select faces and edges.
I would be glad to help with the implementation, but I know nothing about Erlang or the Wing3D codebase so I would need to be guided.
Also, I insist the feature that is needed is only edge selection and unfolding on the selected edges. automatic unfolding and collision detection is a welcome addition, but it is not what is sought here.
as I see it, the simplest data structure for this purpose would be a tree of the form
Code:
unfold --- group0 --- face0 --- face1 --- face3 --- face7
| |
| |- face4 --- face6
| |
| |- face5
|
|- group1 --- face8 --- ...
the tree can be then be built as a sequence of clicks, selecting faces and/or edges to build the tree and coloring faces as it builds up.
this way it's also very easy to deliberately avoid cutting a specific face, or group them in a way that is functional: the teapot example makes total sense here.
to render / output, traverse the tree face by face, orienting them and appending them to the previous face in the tree.