Help with 3D matrix, 3D spreadsheet.

  • Thread starter Thread starter litup
  • Start date Start date
  • Tags Tags
    3d Matrix
AI Thread Summary
Creating a 3D matrix for a computer game involves programming challenges, particularly in displaying the 3D structure on a 2D screen. The game requires X, Y, and Z coordinates to represent intersections where colored spheres can be turned on or off based on game moves. The matrix size is manageable at 20x20x20, but the complexity lies in visualizing this grid effectively. Suggestions include looking for source code from existing 3D games, such as 3D tic-tac-toe, to gain insights into implementation. Additionally, the discussion touches on HDF files, which are used for storing complex data, suggesting they may be relevant for managing the game's data structure. The game also aims to allow users to rotate the view of the playing space, adding another layer of complexity to the visualization task.
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.
 
Isn't this the reason for HDF files?
 
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:
Thread 'Is this public key encryption?'
I've tried to intuit public key encryption but never quite managed. But this seems to wrap it up in a bow. This seems to be a very elegant way of transmitting a message publicly that only the sender and receiver can decipher. Is this how PKE works? No, it cant be. In the above case, the requester knows the target's "secret" key - because they have his ID, and therefore knows his birthdate.
I tried a web search "the loss of programming ", and found an article saying that all aspects of writing, developing, and testing software programs will one day all be handled through artificial intelligence. One must wonder then, who is responsible. WHO is responsible for any problems, bugs, deficiencies, or whatever malfunctions which the programs make their users endure? Things may work wrong however the "wrong" happens. AI needs to fix the problems for the users. Any way to...
Back
Top