Poll: do you think unfolding would be a nice addition to Wings?
Absolutely
Not at all
What are you talking about?
[Show Results]
 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 
Share Thread:
Reddit Facebook Twitter
unfold
09-06-2020, 11:09 AM (This post was last modified: 09-06-2020 12:04 PM by engrenage.)
Post: #4
RE: unfold
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

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.
Reply


Messages In This Thread
unfold - engrenage - 09-03-2020, 09:51 AM
RE: unfold - micheus - 09-03-2020, 09:35 PM
RE: unfold - engrenage - 09-06-2020, 09:12 AM
RE: unfold - engrenage - 09-06-2020 11:09 AM
RE: unfold - engrenage - 09-06-2020, 12:28 PM
RE: unfold - engrenage - 09-06-2020, 03:40 PM
RE: unfold - micheus - 09-07-2020, 04:12 PM
RE: unfold - engrenage - 09-07-2020, 09:24 PM
RE: unfold - micheus - 09-08-2020, 12:22 AM
RE: unfold - engrenage - 09-13-2020, 10:10 AM
RE: unfold - micheus - 09-13-2020, 05:34 PM
RE: unfold - engrenage - 09-19-2020, 10:25 AM
RE: unfold - gilboonet - 09-19-2020, 04:24 PM
RE: unfold - micheus - 09-21-2020, 05:46 PM
RE: unfold - gilboonet - 09-22-2020, 06:53 AM
RE: unfold - engrenage - 10-15-2020, 10:42 AM
RE: unfold - engrenage - 10-15-2020, 11:11 AM
RE: unfold - engrenage - 10-15-2020, 04:18 PM
RE: unfold - engrenage - 10-15-2020, 05:30 PM
RE: unfold - micheus - 10-15-2020, 06:36 PM
RE: unfold - micheus - 10-15-2020, 09:11 PM
RE: unfold - engrenage - 10-17-2020, 12:13 PM
RE: unfold - micheus - 10-17-2020, 02:28 PM
RE: unfold - micheus - 10-20-2020, 06:18 AM
RE: unfold - engrenage - 10-22-2020, 05:30 PM
RE: unfold - micheus - 10-23-2020, 09:55 PM
RE: unfold - engrenage - 11-03-2020, 03:28 PM
RE: unfold - engrenage - 11-10-2020, 11:31 AM
RE: unfold - micheus - 11-10-2020, 12:12 PM
RE: unfold - engrenage - 12-17-2020, 10:58 AM
RE: unfold - engrenage - 06-06-2021, 05:07 PM
RE: unfold - micheus - 06-06-2021, 07:45 PM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)