ticalc.org
Basics Archives Community Services Programming
Hardware Help About Search Your Account
   Home :: Archives :: News :: ClosedGL v9.9999 for TI-89

ClosedGL v9.9999 for TI-89
Posted by Michael on 17 May 2006, 01:39 GMT

[ClosedGL]We first reported on ClosedGL over a year ago, and since then David Teitlebaum has been working on improvements. The new ClosedGL Release 9.9999 is greatly improved over the previous version. ClosedGL is a library for the TI-89 which provides an interface to various graphics routines. If you aren't a C TI-89 programmer, then just look at the amazing screenshots.

  Reply to this article


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: ClosedGL v9.9999 for TI-89
Vasantha Crabb  Account Info
(Web Page)

Wow! That's impressive! How fast is it? Can you do real-time animation rendering?

Reply to this comment    17 May 2006, 01:49 GMT

Re: Re: ClosedGL v9.9999 for TI-89
Tyler C  Account Info
(Web Page)

Taking it being a calculator it would most likely take some time to render them and would probably not be very practical for gaming.

Reply to this comment    17 May 2006, 16:43 GMT


Re: Re: Re: ClosedGL v9.9999 for TI-89
W Hibdon  Account Info
(Web Page)

No, but I tell you what it would be good for: so sort of rotational solids calculating program for those teachers that are so intent on making you draw what you are figuring out.

-W-

Reply to this comment    19 May 2006, 13:55 GMT


Re: Re: ClosedGL v9.9999 for TI-89
David Teitlebaum  Account Info

It's way too slow at the moment, and if I continue to dither each frame it'll never be fast enough, since the dithering takes around a second and it's about as fast as it's going to get.

Reply to this comment    18 May 2006, 04:41 GMT


Re: Re: Re: ClosedGL v9.9999 for TI-89
JfG  Account Info
(Web Page)

You dither the whole scene in a second ?

Reply to this comment    18 May 2006, 10:55 GMT


Re: Re: Re: Re: ClosedGL v9.9999 for TI-89
David Teitlebaum  Account Info

Yup, the back buffer stores 8 bits per pixel. This is downsampled to 2 bits per pixel (4 color gray scale) when SwapBuffers() is called. It takes about a second to process the whole back buffer. (160 x 100 = 16000 pixels)

Error dispersion dithering algorithms like floyd steinberg operate on whole images, not pieces of images, so dithering during scan conversion wouldn't have worked.

Reply to this comment    18 May 2006, 11:18 GMT

Re: Re: Re: Re: Re: ClosedGL v9.9999 for TI-89
burntfuse  Account Info
(Web Page)

Even a second is amazing for a calc. Good job, you're again making me wish I had an 89. ;-)

Reply to this comment    18 May 2006, 20:04 GMT


Re: Re: Re: Re: Re: ClosedGL v9.9999 for TI-89
Paxinum  Account Info
(Web Page)

Floyd-Steinberg algorithm is quite fast, after reading this news I installed a C compilator and made myself a grayscale->black&white converter for images using dithering. :D

Reply to this comment    23 May 2006, 06:40 GMT

Re: ClosedGL v9.9999 for TI-89
Stephen Ware  Account Info

Wow, that is extremely impressive. The amount of math that went into that is mind-boggling, considering the fact that is is true 3D and not just raycasted.

How does one creat a 3D object with this library? Can you create them on calc?

Reply to this comment    17 May 2006, 02:05 GMT


Re: Re: ClosedGL v9.9999 for TI-89
David Teitlebaum  Account Info

I basically wrote my own OpenGL software rasterizer, so you create objects the same way you would in OpenGL - by setting the appropriate state and then throwing vertices at the state machine.

Reply to this comment    18 May 2006, 04:48 GMT

Re: ClosedGL v9.9999 for TI-89
anykey  Account Info
(Web Page)

Simply beautiful!
Why nobody has used this wonderful engine, I have no idea. How fast does it render? Even if it isn't fast enough for games, I could see it being used for neat splash screens.
Good work!

Reply to this comment    17 May 2006, 02:14 GMT


Re: Re: ClosedGL v9.9999 for TI-89
jesse frey  Account Info

I think that no one uses it because it is slow. splash screens are usualy just a picture making using a rendering engine instead a big waste of size and speed.

Reply to this comment    20 May 2006, 17:30 GMT

Re: ClosedGL v9.9999 for TI-89
Paul Bellar  Account Info
(Web Page)

That's INCREDIBLE!

Reply to this comment    17 May 2006, 02:28 GMT

Re: ClosedGL v9.9999 for TI-89
slimey_limey  Account Info
(Web Page)

What's with the version number? Is there a software limitation to 5 digits?

Reply to this comment    17 May 2006, 03:36 GMT

Re: Re: ClosedGL v9.9999 for TI-89
KermMartian  Account Info
(Web Page)

Heh, that was my response too. ^_^

Reply to this comment    17 May 2006, 05:01 GMT

Re: Re: ClosedGL v9.9999 for TI-89
Tyler C  Account Info
(Web Page)

Yes, it seems there is no basic pattern as how to he versions his stuff.

Reply to this comment    17 May 2006, 16:44 GMT


Re: Re: ClosedGL v9.9999 for TI-89
David Teitlebaum  Account Info

Nope, no 5 digit limit. The versioning scheme is just a reflection of my übercoolness.

Reply to this comment    18 May 2006, 06:29 GMT


Re: Re: Re: ClosedGL v9.9999 for TI-89
W Hibdon  Account Info
(Web Page)

Obscurity in version numbering all the way! Eff yeah!

-W-

Reply to this comment    19 May 2006, 13:59 GMT


Re: Re: Re: Re: ClosedGL v9.9999 for TI-89
anykey  Account Info
(Web Page)

I shall release all of my programs with version number 3.141592653.
Oh no! I think I just started a pi war! EVERYBODY DUCK!!!!!! (this could escalate quickly)

Reply to this comment    20 May 2006, 14:38 GMT

Re: Re: Re: Re: Re: ClosedGL v9.9999 for TI-89
burntfuse  Account Info
(Web Page)

That last digit should be a 4, unless you're going to add more after it (should always round if you're not going to print the whole thing, NEVER just truncate).

Reply to this comment    20 May 2006, 16:25 GMT

Re: Re: Re: Re: Re: Re: ClosedGL v9.9999 for TI-89
Zarel  Account Info
(Web Page)

If you round it, the next version 3.1415926535 won't have a higher number, so no one will update. :(

Reply to this comment    21 May 2006, 00:50 GMT


Re: Re: Re: Re: Re: Re: Re: ClosedGL v9.9999 for TI-89
KermMartian  Account Info
(Web Page)

After that you could have version 3.14159265358979323 84626433832795028 8419716939937505138.

Reply to this comment    24 May 2006, 21:28 GMT


Re: Re: Re: Re: Re: Re: ClosedGL v9.9999 for TI-89
W Hibdon  Account Info
(Web Page)

My school truncates our GPA. A 3.9999999 will never be a 4.00

-W-

Reply to this comment    21 May 2006, 03:54 GMT


Re: Re: Re: Re: Re: ClosedGL v9.9999 for TI-89
Bill Conant  Account Info
(Web Page)

Well, you could do version sqrt(2), followed by e, then pi... You'd get a 1.xxxxx, 2.xxxxx, 3.xxxxx kind of thing going on. And screw the rounding. Do several releases of the same version for those dullards who insist on rounding by method XYZ! It works for M$, so why not you?

Reply to this comment    25 May 2006, 08:42 GMT

1  2  3  

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

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