Help with 3D matrix, 3D spreadsheet.

  • Thread starter Thread starter litup
  • Start date Start date
  • Tags Tags
    3d Matrix
Click For Summary

Discussion Overview

The discussion revolves around the challenges of programming a 3D matrix for a computer game, akin to a 3D spreadsheet, which involves managing X, Y, and Z coordinates for visual representation and interaction. The scope includes programming difficulties, potential solutions, and file formats relevant to 3D data handling.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested

Main Points Raised

  • One participant expresses difficulty in programming a 3D spreadsheet-like structure for a game, describing the need for a 3D matrix with colored spheres at coordinate intersections.
  • Another suggests starting with source code from a 3D tic-tac-toe program, highlighting that the main challenge is displaying a 3D matrix on a 2D screen.
  • A participant questions the relevance of HDF files in this context.
  • Further inquiry about HDF files is made, with a participant noting the desire to rotate the playing space in the game for better visibility.

Areas of Agreement / Disagreement

Participants do not reach a consensus on the best approach to programming the 3D matrix or the role of HDF files, indicating multiple competing views and unresolved questions.

Contextual Notes

There are limitations regarding the understanding of HDF files and their applicability to the discussed programming challenges, as well as the specifics of displaying 3D data on 2D screens.

litup
Messages
257
Reaction score
17
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.
 
Technology news on Phys.org
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.
 
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 what's going on in the game.
 
litup said:
What are HDF files?

http://hdf.ncsa.uiuc.edu/HDF5/whatishdf5.html
 
Last edited by a moderator:

Similar threads

  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 146 ·
5
Replies
146
Views
12K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
5K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
17
Views
2K
  • · Replies 25 ·
Replies
25
Views
10K
Replies
6
Views
5K
  • · Replies 6 ·
Replies
6
Views
6K
  • · Replies 5 ·
Replies
5
Views
2K