PDA

Click to See Complete Forum and Search --> : 4D


SteveCRM
Jul 29th, 2000, 08:51 PM
Is it possible to make a 4D array? Im just wonderiing, If so, ths raises many questions.

Zaphod64831
Jul 29th, 2000, 09:27 PM
Yes, it is possible to make an array that's even more than that.

The problem is that it is illustrated wrong, although it is easier to understand and faster to write it is still wrong and makes people narrow-minded. It's a bit difficult to do it the correct way, but if you just think of that chaos theory thing where each one splits then that's pretty much what it is.

Fox
Jul 30th, 2000, 07:30 AM
Erm, making a 4D arrayis pretty easy:
Dim A(10,10,10,10). What you probably mean is making 4D-models (instead of 'realistic' 3D models), that's a bit more complicated. But it's possible, as you can see 3D objects on a 2D screen (you render the 4D model to a virtual 3D object and this to your 2D screen).

Zaphod64831
Jul 30th, 2000, 11:02 AM
4D models are easy too, just make a 3D model and animate it and there you go.

parksie
Jul 30th, 2000, 03:02 PM
4D models are very bizarre objects...I don't suggest trying to get your head round them. Have a look at http://www.povray.org for a raytracer that creates 4D objects.
4D hypercubes are lovely little things.
EG: 3D wireframe cube, shine a light over it onto a piece of paper:

----------
|\ /|
| \ __ / |
| | | |
| |__| |
| / \ |
|/ \|
----------

Here, the small cube is the shadow of the top of the cube. With a hypercube, the shadow is a 3D object that looks like a small cube suspended inside a larger cube.

PS: to display a 4D object, take a 3D 'slice' of it, then render that to your 2D screen.