Talk:Petit Computer 3/@comment-5106053-20140808002331/@comment-5334617-20140808141924

I'm still not sure what that "point" in 3-D space is interpreted as though, a tiny cube, or a tiny square?

What do you mean by that point? A point in 3-D space is not a primitive value in SmileBasic (at least, it appears that way from what I've seen so far). Numbers are primitive values.

For certain commands, a group of 3 numbers is processed to give a pair of numbers (xL, y) representing a pixel location on the left-eye screen, and another pair of numbers (xR, y) representing a pixel location on the right-eye screen.

Every pixel for each eye has a z-buffer - a single value representing 'the closest thing yet drawn for this pixel', which is initialized at "infinity" ('there is nothing yet drawn for this pixel'). For each of the two pixels from the previous paragraph, if the third of the three numbers (z) is 'closer' than the z-buffer value for the corresponding pixel, the colour of the pixel is overwritten and the z-buffer for that pixel is changed to that number (something new, closer, overwrites everything that was behind). If z is 'farther' than the z-buffer value, nothing happens (something is in front of what I'm currently trying to draw, so the final colour of the pixel should be the one already there rather than the one I'm currently drawing).

In other words, the three values are 'interpreted' as numbers that go in certain places in formulae that model stereoscopic perspective vision.