Re: TI-H: I need 3D help! Richard?
[Prev][Next][Index][Thread]
Re: TI-H: I need 3D help! Richard?
I made a program that used matricies to plot 2D graphics. It's too slow for
real use in BASIC, but it did translation, rotation, reflection, and scaling
in a program less than 1K!!! The matrix can be expanded to 3D easily (it's the
same method many popular 3D rendering programs use, as well as Silicon
Graphics wireframe rendering, well, at least according to the text book I got
it from).
Anyway, i'm guessing you could add more features.
I suppose scaling and reflectino and stuff is unnecessary, but it's very
little added memory, so you might as well keep it.
You'd need to add more keys to the loop so you can do 3D manipulation.
There are two separate programs. One plots lines by drawing from point to
point to point.
The next does individual lines, two stored points for each. It's half the
speed, but more flexible.
In ASM, this would ROCK!!! wire frame 3D rendering might be useful!!!
matricies can store lots of data in a small space and ASM could easily shrink
the program!
For 3D, I'm not certain what's required. It'll require some modification.
I can probably attach it later on. I have to find it. It's for the TI-82, but
i ported it to the TI-85 as well.
--
Richard Piotter
richfile@prairie.lakes.com
The Richfiles TI Hardware and BASIC web page:
http://www.geocities.com/SiliconValley/Lakes/5081/Richfiles.html
References: