Help with 3D matrix, 3D spreadsheet.

  • Thread starter litup
  • Start date
  • #1
258
17

Main Question or Discussion Point

I have been told something like a 3D spreadsheet is difficult to program.
I am developing a computer game that requires a 3d matrix, like a 3d spreadsheet, so you have X, Y, and Z co-ordinates. The action would be at these intersections, where one XYZ would be one color, say a small sphere placed there, glowing blue and other XYZ's with small spheres glowing red, and they can be turned off an on in either color depending on the moves of the game.
Can anyone tell me how to do such a thing? I am not a programmer, only a bit of VB and HP48 and casio programmable calculator stuff. The matrix size would be under 20X20X20 so it's not like an infinite thing at all. Thanks in advance.
 

Answers and Replies

  • #2
rcgldr
Homework Helper
8,675
509
Maybe you could find source code to a 3d tic-tac-toe program, and start from there. The 3D difficulty is mainly an issue for how to display a 3D matrix on a 2D screen, and have the result be reasonably understandable, especially with 20x20x20 cubes.
 
  • #3
Dr Transport
Science Advisor
Gold Member
2,308
428
Isn't this the reason for HDF files?????
 
  • #4
258
17
What are HDF files? BTW in my game, I want to be able to rotate the playing space around in any direction so you can view whats going on in the game.
 
  • #5
Dr Transport
Science Advisor
Gold Member
2,308
428
What are HDF files?
http://hdf.ncsa.uiuc.edu/HDF5/whatishdf5.html [Broken]
 
Last edited by a moderator:

Related Threads for: Help with 3D matrix, 3D spreadsheet.

Replies
5
Views
10K
  • Last Post
Replies
4
Views
585
  • Last Post
Replies
4
Views
2K
Replies
2
Views
3K
  • Last Post
Replies
3
Views
473
  • Last Post
Replies
0
Views
1K
  • Last Post
Replies
3
Views
3K
  • Last Post
Replies
6
Views
3K
Top