PDA

View Full Version : Question regarding cube & plane.


Spunky
11-10-2008, 06:13 PM
Not sure this is the right section where to ask it, but ill shoot it anyway.

I need to make an interactive visualization about a plane splitting a cube.
The idea is simple: We have a cube, we choose 3 points and "draw" a plane through the 3 points, then we define the plane splitting the cube.

It has to be easily seen how the plane splits the cube and the points have to be able to be moved around the cube so that u could see how the splitting changes.

I was told this is easily done on actionscript, i just need some advice and pointers wether its actually doable.

Apologize for my inappropriate english, had to google up the terms.

raydowe
11-10-2008, 09:06 PM
Maybe there is something I'm missing, but its not really easily acheived. It would require some complex math, and if you want to be able to orbit/rotate the cube, you are basically designing a simple 3d engine.

The most I can say is have a look at papervision (http://blog.papervision3d.org/), but it's an addon code/class library for flash, and setting it up alone is no small task.