I have a 3D array of numbers from 0 to 9 to represent objects in a space, where
0 - empty space, 1 - space boundary, 2 - item 1, 3 - item 2, ...
Is it possible to assign colours to each number and output these as part of a 2D isometric view (viewed from a certain angle) of a 3D objects? (with 0 being transparent)
I would like a 3D representation of the object i have described.
I understand there is a concept for RGB colours but that only serves to populate the array with 3 colours, which means i have to break down my array further?
sorry i am very new to CS in general with a background in mechanical engineering so i am trying to learn.