Omnimaga

General Discussion => Technology and Development => Computer Projects and Ideas => Topic started by: Spyro543 on May 06, 2015, 04:18:54 pm

Title: 3D Polygons on a TRS-80 Color Computer
Post by: Spyro543 on May 06, 2015, 04:18:54 pm
I just got a TRS-80 last week and I've been programming for it. This program displays 3D wireframes using polygons! The camera can also move and zoom, which helps show that there is actually depth.

Here are some pictures:
Here is a cube rendered by the program.
(http://i.imgur.com/FCKLkcs.jpg)

Here is the same cube, with the camera manipuated so that the cube can be seen better.
(http://i.imgur.com/yX8V3uR.jpg)

Here are the coordinates of the cube. Each data statement holds coords for one polygon, and they are structured like this:
DATA x1,y1,z1,x2,y2,z2,x3,y3,z3

(http://i.imgur.com/D7OP4VT.jpg)

I'll be posting source code soon.
Title: Re: 3D Polygons on a TRS-80 Color Computer
Post by: TIfanx1999 on May 08, 2015, 09:59:06 am
That's pretty neat looking! :D What language is this done in?
Title: Re: 3D Polygons on a TRS-80 Color Computer
Post by: Spyro543 on May 08, 2015, 01:32:47 pm
What language is this done in?
It's programmed in Extended Color BASIC.