Add MemoryShare This Entry
posted by [personal profile] hendrikboom at 05:35pm on 10/07/2008
Take a tetrahedron. No, it doesn't have to be regular. Call it tetrahedron ABCD. Pick one of its edges, maybe the longest one. Let's say that's edge CD. Now pick a point E on CD. Maybe near the middle is a good choice. Now divide ABCD into two, and get get ABCE and ABED.

Keep doing this, and get more and more tetrahedra. If you'd like the tetrahedra to line up, you could have the convention that each edge is divided only once, no matter how many tetrahedrons is it on -- all those tetrahedra will have to agree on where they are divided. Or one could systematically, each time divide the longest edge in the whole shebang.

Now while creating this whole shebang of nested, more-or-less edge-matched tetrahedra, you could apply various attributes to the tetrahedron (such as what materials it's mostly made of), and modify them when progressing from a tetrahedron to its components. Or when dividing an edge in two, you could pick a point slightly off the edge, breaking it up into two edges that aren't extensions of each other.

Would this make a usable space division for, say, a mining video game? The nice thing about it is that the division of tetrahedrons in a volume can be compatible with a division into triangles of the surface. Triangle meshes are well-known in computer graphics. You could generate a whole approximate planet by starting with an icosahedron and dividing its volume into twenty tetrahedra that all meet at the centre.

In fact, this generalizes nicely to multidimensional hyperspace divisions, in case anyone should ever want to make that kind of a simulation game. Or physics simulation. Maybe evaluating some kind of Hamiltonian or Lagrangian and using that to affect subdivision statistics would yield something interesting. A multiscale differential equation solver on lumpy space, anyone?
There are 2 comments on this entry. (Reply.)
 
posted by [identity profile] hendrikboom.livejournal.com at 10:01pm on 10/07/2008
And my spelling checkers, both the one on LiveJournal and the one in my browser, are so benighted that they don't realize that tetrahedra is a valid plural for tetrahedron! LiveJournal even suggests dodecahedra as a correction!
swestrup: (Default)
posted by [personal profile] swestrup at 10:35pm on 10/07/2008
Way back when I was working for Strategy First, there was a proposal made by me and [livejournal.com profile] sps for a robotic mining game. Two rival robot fleets latch onto the same high-ore-value randomly generated asteroid at the same time, and you have to our think/fight/mine the enemy.

We had planned on building the asteroid out of tetrahedra and having a triangular-tessellated surface. We weren't going to do it by subdividing tetrahedra though. The plan was to produce a surface by choosing semi-random radii from a center of mass for a covering set of points on a nominal 'sphere', building a triangular mesh from that, and then working inwards to divide into tetrahedra while maintaining the already-known center of mass.

I'd settled on this because NASA records asteroid shapes as a set of radii at latitude/longitude points which meant I could suck in actual asteroid data to work out the statistics by which I generated my fake ones.

The whole scheme never went past the planning stage.

August

SunMonTueWedThuFriSat
      1
 
2
 
3
 
4
 
5
 
6 7
 
8
 
9
 
10
 
11
 
12
 
13
 
14
 
15
 
16
 
17
 
18
 
19
 
20
 
21
 
22
 
23
 
24
 
25
 
26
 
27
 
28
 
29
 
30
 
31