ticalc.org
Basics Archives Community Services Programming
Hardware Help About Search Your Account
   Home :: Archives :: News :: Kirk Meyer Releases Fast 3D Grapher for TI-83+

Kirk Meyer Releases Fast 3D Grapher for TI-83+
Posted by Andy on 12 August 2002, 04:44 GMT

Kirk Meyer of Detached Solutions released a flash application Graph³. It is faster than the TI-89's built-in grapher. It features rotation, zooming, tracing, and more. It also draws either wireframe or hidden surface plots (and rotation is fast with either).

Update (Andy): Version 1.0 is now available, which fixes some bugs as well as compatibility with OS version 1.13.

 


The comments below are written by ticalc.org visitors. Their views are not necessarily those of ticalc.org, and ticalc.org takes no responsibility for their content.


Re: Kirk Meyer Releases Fast 3D Grapher for TI-83+
no_one_2000_  Account Info
(Web Page)

So, if Kirk can make a grapher that goes faster on the TI-83 than the TI-89, then should TI consider this and try to make theirs faster? It's not like the speed of the TI-89 version bothers me or anything, I'm still excited to see 3d objects, it's cool. Unfortunately, it's for a model I don't own (and I know it's not going to be ported to the *gasp* TI-82 *gasp*, so oh well, but I must say it looks nice)

     12 August 2002, 16:25 GMT


Re: Re: Kirk Meyer Releases Fast 3D Grapher for TI-83+
canteloupe32 Account Info
(Web Page)

Yah, I agree. I'm kind of pissed that a FLASH APP on a 2 MHz TI-83+, goes faster than a built in function on a 12 MHz TI-89. I hope TI looks into this. But in the meantime, now I have a 3D graphing program for my 83+ if in calculus my teacher says TI-89/92+/V200's are not allowed on tests.

     12 August 2002, 16:33 GMT

Re: Re: Re: Kirk Meyer Releases Fast 3D Grapher for TI-83+
Kirk Meyer  Account Info
(Web Page)

Just FYI, a normal 83+ runs at 6mhz, not 2... so the comparison isn't quite as bad as you thought =)

The speed difference is most likely due to two things: TI's was written in C; and I'm pretty sure TI's uses floating point math for the polygon filling. The first they probably won't fix, but the second... they might. (Um, I doubt it.)

     12 August 2002, 17:47 GMT

Re: Re: Re: Re: Kirk Meyer Releases Fast 3D Grapher for TI-83+
Torael  Account Info

And the 83+ SE runs at 15 mhz, so it isn't a terrible suprise that it is faster on them. Yay for 83+ SE ;)

     12 August 2002, 18:20 GMT

Re: Re: Re: Re: Re: Kirk Meyer Releases Fast 3D Grapher for TI-83+
no_one_2000_  Account Info
(Web Page)

Yay for TI-83+SE! ;-)

     12 August 2002, 19:00 GMT

Re: Re: Re: Re: Re: Re: Kirk Meyer Releases Fast 3D Grapher for TI-83+
ac

Yay for TI-83+SE! ;-)
Yay for Kirk Meyer!
PARADE for EVERYONE ON TICALC.ORG!

     12 August 2002, 19:11 GMT

Re: Re: Re: Re: Re: Re: Re: Kirk Meyer Releases Fast 3D Grapher for TI-83+
Torael  Account Info

great. I inadvertantly started something.

     12 August 2002, 22:49 GMT

Re: Re: Re: Re: Re: Re: Re: Re: Kirk Meyer Releases Fast 3D Grapher for TI-83+
BigRedDog  Account Info
(Web Page)

PARADE for inadvertantly starting things! jk

     13 August 2002, 04:10 GMT

Re: Re: Re: Re: Re: Re: Re: Re: Re: Kirk Meyer Releases Fast 3D Grapher for TI-83+
no_one_2000_  Account Info
(Web Page)

LOL... wonder if I should keep this going or not... ;-)

     13 August 2002, 16:02 GMT

Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Kirk Meyer Releases Fast 3D Grapher for TI-83+
TheCalcGenius  Account Info

PARADE! TO KEEP THIS GOING!

     13 August 2002, 19:50 GMT

Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Kirk Meyer Releases Fast 3D Grapher for TI-83+
RCTParRoThEaD_  Account Info
(Web Page)

0RDER! to st0p!

     14 August 2002, 00:03 GMT

Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Kirk Meyer Releases Fast 3D Grapher for TI-83+
no_one_2000_  Account Info
(Web Page)

Actually this looks more like a PYRAMID! than a PARADE!... but that's just me thinking abstractly.

     14 August 2002, 21:01 GMT

Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Kirk Meyer Releases Fast 3D Grapher for TI-83+
TheCalcGenius  Account Info

PARADE! FOR PYRAMIDS!

     14 August 2002, 23:44 GMT


Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Kirk Meyer Releases Fast 3D Grapher for TI-83+
no_one_2000_  Account Info
(Web Page)

Wonder how long this is going to go... hope it doesn't take up too much bandwith, but it still looks neat

     15 August 2002, 03:29 GMT


Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Kirk Meyer Releases Fast 3D Grapher for TI-83+
no_one_2000_  Account Info
(Web Page)

Oh no... *rolls eyes*... HEY! MY CONTACT FELL OUT! Guess I shouldn't roll my eyes (j/k, my contact won't come out even when I want them too... I should be quiet now)

     15 August 2002, 03:29 GMT


Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Kirk Meyer Releases Fast 3D Grapher for TI-83+
TheCalcGenius  Account Info

PYRAMID!

     14 August 2002, 23:45 GMT


Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Kirk Meyer Releases Fast 3D Grapher for TI-83+
TheCalcGenius  Account Info

PYRAMID!

     14 August 2002, 23:46 GMT


Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Kirk Meyer Releases Fast 3D Grapher for TI-83+
RCTParRoThEaD_  Account Info
(Web Page)

You don't want Michael Vincent to scream at you. Eh Mike Vinny? jk

     14 August 2002, 01:26 GMT


Re: Re: Re: Re: Re: Re: Re: Re: Re: Kirk Meyer Releases Fast 3D Grapher for TI-83+
TheCalcGenius  Account Info

PYRAMID!

     14 August 2002, 23:46 GMT


PYRAMID!PYRAMID!PYRAMID!PYRAMID!PYRAMID!
TheCalcGenius  Account Info

PYRAMID!

     14 August 2002, 23:47 GMT


Re: Re: Re: Re: Re: Re: Re: Kirk Meyer Releases Fast 3D Grapher for TI-83+
TheCalcGenius  Account Info

PYRAMID!
PARADE! FOR EVERYONE! (except for no_one [j/k] and ac [not j/k])

     14 August 2002, 23:49 GMT


Re: Re: Re: Re: Re: Re: Kirk Meyer Releases Fast 3D Grapher for TI-83+
TheCalcGenius  Account Info

PYRAMID!

     14 August 2002, 23:50 GMT


Re: Re: Re: Re: Re: Kirk Meyer Releases Fast 3D Grapher for TI-83+
TheCalcGenius  Account Info

PYRAMID!

     14 August 2002, 23:50 GMT

Re: Re: Re: Re: Kirk Meyer Releases Fast 3D Grapher for TI-83+
TheCalcGenius  Account Info

PYRAMID!

     14 August 2002, 23:51 GMT


Re: Re: Re: Re: Kirk Meyer Releases Fast 3D Grapher for TI-83+
PolarDPres Account Info
(Web Page)

ya, it does run a 6mhz, but it is a different type of processor than the 89 and 92 and 92+ and v200, that isn't as powerful, so, technically, it is less than half as powreful as an 89.

     15 August 2002, 17:51 GMT


Re: Re: Re: Kirk Meyer Releases Fast 3D Grapher for TI-83+
Drantin  Account Info

correct me on any of this if i'm wrong...

there are more variables in the speed than just the speed of the graphing function, for example:

The amount of pixels that have to be calculated, which is also dependant on the xres= setting

There may be more technical reasons why a 3D graphing prog would go faster on the 83+ than on the 89, however... I don't know them :)

but thanks for the great program anyway ;) (I'm assuming it's great from everyone else's responses... I don't have an 83 to test it on...)

     12 August 2002, 20:39 GMT

Re: Re: Re: Re: Kirk Meyer Releases Fast 3D Grapher for TI-83+
<h3m04v+0+r0ph
(Web Page)

Yah, you're right, the TI-83+ only has to calulate for 88x64 pixels, while the TI-89 has to calculate for 160x77 pixels (the whole screen is 160x100, 33 pixels take up the menu and message bar)

     12 August 2002, 20:55 GMT


FYI
RCTParRoThEaD_  Account Info
(Web Page)

64*96

     12 August 2002, 21:39 GMT


Re: FYI
<h3m04v+0+r0ph
(Web Page)

Sorry, I sold my TI-83+ about a year ago and I don't access that nueron of my memory very often :)

     12 August 2002, 23:29 GMT


Re: Re: FYI
lord_nightrose Account Info
(Web Page)

Out of curiosity, is that supposed to say 'Chemoatotroph'? If so, what is that?

     13 August 2002, 01:03 GMT

Re: Re: Re: FYI
343GuiltySpark  Account Info
(Web Page)

I believe it's something that makes its own food using chemicals instead of light ... most bacteria that live in extreme conditions (no light, high temperatures) do that.

     13 August 2002, 04:32 GMT


Re: Re: Re: Re: FYI
no_one_2000_  Account Info
(Web Page)

Then how is he accessing ticalc.org? (j/k)

     13 August 2002, 16:04 GMT


Re: Re: Re: Re: Re: FYI
esweecoo  Account Info
(Web Page)

lol

     18 August 2002, 19:11 GMT


Re: Re: Re: FYI
<h3m04v+0+r0ph
(Web Page)

Yes, it says chemoautotroph. A chemoautotroph is a proakaryote that makes it's food out of inorganic material. guiltyspark is correct, it does live in extreme temperatures.

     13 August 2002, 16:12 GMT


Re: Re: Re: Re: FYI
no_one_2000_  Account Info
(Web Page)

Whre in the world did you learn that?!

     14 August 2002, 21:02 GMT


Re: Re: Re: Re: Re: FYI
343GuiltySpark  Account Info
(Web Page)

Biology ... and I believe that either this month's or last month's issue of National Geographic had something about chemoautotrophes (I think I spelled it right).

     14 August 2002, 23:03 GMT


Re: Re: Re: Re: Re: Re: FYI
no_one_2000_  Account Info
(Web Page)

Wow, that would be nasty in a spelling bee...

     15 August 2002, 03:30 GMT


Re: Re: Re: Re: Re: Re: Re: FYI
PolarDPres Account Info
(Web Page)

you actually read the National Geographics? I only use them for projects in school. Whatever more power to you.

     15 August 2002, 19:24 GMT


Re: Re: Re: Re: Re: Re: Re: Re: FYI
343GuiltySpark  Account Info
(Web Page)

Yep. I subscribe to National Geographic. The pictures are cool and so are most of the articles (I say most because I have no interest in the ones about the different ZIP code areas).

     15 August 2002, 23:57 GMT


Re: Re: Re: Re: Re: Re: Re: Re: Re: FYI
no_one_2000_  Account Info
(Web Page)

N0w, y0u're sm@rter th@n us.

     16 August 2002, 16:36 GMT


Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: FYI
343GuiltySpark  Account Info
(Web Page)

Of course I could go on an ego trip and say yes, but I don't feel like it. Then again, my opinion has absolutely no effect on your's.

     16 August 2002, 23:45 GMT


Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: FYI
no_one_2000_  Account Info
(Web Page)

But, you're still probably smarter than me, because really the only subjects I'm good at in school are Math and Computers (that goes beyond the classroom too). But everything else, I really have to study at to get A's in.

     17 August 2002, 01:14 GMT


Re: Re: Re: Re: Kirk Meyer Releases Fast 3D Grapher for TI-83+
Kirk Meyer  Account Info
(Web Page)

It would still be much faster if the Z80 code had to draw to a screen the size of Voyage's. Also, my polygon filling routine would be even more suitable for the 68K processor, so if someone were going to make a new 3D grapher for the 68K calculators (no, it's not going to be me), I expect that it would be lightning fast.

     12 August 2002, 21:14 GMT

Re: Re: Re: Re: Re: Kirk Meyer Releases Fast 3D Grapher for TI-83+
Gergely Patai  Account Info
(Web Page)

How do you draw the filled polygons so fast? Do you work with triangles or quadrilaterals instead? I have a polygon routine which can draw up to 257-sided n-gons that are horizontally convex. For this, I use a virtual screen where I draw the outline first, then this information is used to draw the actual scanlines. The speed of the routine depends mostly on the vertical dimension of the polygon, but it's usually unbearably slow (you can see it working in the car selection screen of Death Rally)... It's still hard to believe that you can get around 300 polygons per second.

I'm full of questions today. :) What I'd really like to know is how time cost is shared among the various stages of rendering (I mean phases like 3d calculations, sorting, polygon drawing etc).

     12 August 2002, 22:04 GMT

Re: Re: Re: Re: Re: Re: Kirk Meyer Releases Fast 3D Grapher for TI-83+
Kirk Meyer  Account Info
(Web Page)

I employ the following method to fill quadrilaterals:
1) Calculate numerical (X,Y) coordinates for each scanline of the polygon (using Bresenham's line algorithm). This is very fast. Note that you're calculating 4 pixels for each scan line... one for start of line 1, one for stop; one for start of line 2, one for stop.
2) Fill between the (X,Y) coordinates in the list for each scan line appropriately. Using a lookup table and some optimization, this can be sped up a lot.

This same method could be used to fill triangles (filling triangles is a lot easier anyway). Could steps 1 and 2 be interleaved for even more speed? Yes. But my evaluation was that it wasn't worth the horrendous code that would've been required.

Currently time is about 50% rotation and 50% polygon filling (obviously different if you do wireframe). Sorting in this case is very very small because a 3D graph is sorted by nature... You just have to find the farthest corner.

A note about the speed: it's about 500 quadrilaterals per second, but they're usually pretty small; the speed decreases if you graph soemthing such as Z1=10-20*(X=10), which has really huge vertical polygons.

     12 August 2002, 22:47 GMT


Re: Re: Re: Re: Re: Re: Re: Kirk Meyer Releases Fast 3D Grapher for TI-83+
Gergely Patai  Account Info
(Web Page)

Oh, and how many bits do you calculate with? 16:8 fixed point...?

     12 August 2002, 23:03 GMT


Re: Re: Re: Re: Re: Re: Kirk Meyer Releases Fast 3D Grapher for TI-83+
Kirk Meyer  Account Info
(Web Page)

Wow, I think I wasn't too clear. To speed up your routine, use a point list rather than a virtual screen (*much* faster), and also be sure you've optimized it well.

     12 August 2002, 22:54 GMT

Re: Re: Re: Re: Re: Re: Re: Kirk Meyer Releases Fast 3D Grapher for TI-83+
Gergely Patai  Account Info
(Web Page)

Of course this is the right way. But laziness sometimes takes over when you have a ready made line routine to play around with. :) Actually in my PC projects I used simple one dimensional arrays to store edge information for quadrilaterals, and no temporary storage at all for triangles.

It seems odd though that you store Y coordinates as well. (What for?)

Nice job anyway.

     12 August 2002, 23:00 GMT


Re: Re: Re: Re: Re: Re: Re: Re: Kirk Meyer Releases Fast 3D Grapher for TI-83+
Kirk Meyer  Account Info
(Web Page)

I don't store Y coordinates actually. I was just explaining the generic concept =) I was going to use an XOR buffer at first (perhaps this is what you do), but it was rather slow. It does allow pretty patterns though.

The points themselves are 6-bit numbers, plus sign. The matrices are maintained as 14-bit numbers, plus sign. Only the upper 6 bits of the matrices are used when projecting points; the lower 8 bits are so that the matrices don't degenerate wildly.

     12 August 2002, 23:39 GMT


Re: Re: Re: Re: Re: Re: Re: Kirk Meyer Releases Fast 3D Grapher for TI-83+
Gergely Patai  Account Info
(Web Page)

BTW don't worry about clarity, I have quite a bit of experience with 3D programming. I just like to know how others prefer to do certain things. It freshens my mind, or how should I put it... :)

     12 August 2002, 23:06 GMT


Re: Re: Re: Re: Re: Kirk Meyer Releases Fast 3D Grapher for TI-83+
<h3m04v+0+r0ph
(Web Page)

What did you program the application in? If it's the TI-FLASH SDK, I can port it easily to TI-89/92+/V200, if not, well, I know nothing about ASM and don't want to learn.

     13 August 2002, 17:31 GMT


Re: Re: Re: Re: Re: Re: Kirk Meyer Releases Fast 3D Grapher for TI-83+
Kirk Meyer  Account Info
(Web Page)

It's in ASM (TI does not support C for 83+). C on a Z80 is usually lethargic, but especially so for something like this.

     14 August 2002, 01:23 GMT

1  2  3  4  5  6  7  8  9  10  

You can change the number of comments per page in Account Preferences.

  Copyright © 1996-2012, the ticalc.org project. All rights reserved. | Contact Us | Disclaimer