There would be a 3D grid, it would have X, Y, and Z cordinates.
The program would read from a file that would include the cordinates, it could be setup as a matrix, but for now something like this:
Code: Select all
A1 = X, Y, Z
A2 = X, Y, Z
A3 = X, Y, Z
A4 = X, Y, Z
Here are more examples
Triangle
Code: Select all
A1 = X, Y, Z
A2 = X, Y, Z
A3 = X, Y, Z
Code: Select all
A1 = X, Y, Z
A2 = X, Y, Z
A3 = X, Y, Z
A4 = X, Y, Z
A5 = X, Y, Z
Code: Select all
A1 = X, Y, Z
A2 = X, Y, Z
A3 = X, Y, Z
A4 = X, Y, Z
A5 = X, Y, Z
A6 = X, Y, Z
This is the general idea of the system. It is simple, however because of the simple conecpt this is, it introduces a number of flaws.
What if they you made a set of points and attempted to render the area inside it, a color. Like this:
Code: Select all
A1 = X, Y, Z
A2 = X, Y, Z
If the process was not ended, it could potentially attempt to render the whole grid in a color, if there isn't a limit on the size of the grid, then it would have a memory leak, causing undesirable events.
What do you think?
EDIT: I forgot to include the image, and unfortunately, when I resized it it got really bad, and MSPaint doesn't offer very many undue options/