
| · Forums and IRC Rules · Portal |
Help
Search
Members
Calendar
|
| Welcome Guest ( Log In | Register ) | Resend Validation Email |
| Today's Top 10 Posters · My Last 10 Posts | Board and IRC Rules · Help · Members · Calendar |
| Forum | Topics | Replies | Last Post Info | |
|---|---|---|---|---|
![]() |
Older topics Here you can access all topics posted from May 12th 2005 to Apr 9th 2006 (In read only mode). |
1126 | 15694 | 9 Apr, 2006, 11:06 In: [GAME]Learn how to count to...By: DJ Omnimaga |
![]() ![]() ![]() |
| bfr |
Posted: 10 Jul, 2007, 17:24
|
![]() Post whore Group: Coders Of Tomorrow Posts: 872 Member No.: 31 Joined: 12 Apr, 2006 |
I originally was going to make a program that could draw rotated 3-D prisms, but it turns out that somebody already made that, so because I didn't want to waste the code I already have, I turned it into something that can draw any polygon rotated at any angle. It's for the TI-89/Ti-92+/Voyage 200, and was written in C.
I didn't do much testing with it, but it should work. The only thing you have to worry about is you need to make sure you use it correctly, or else it can crash your calculator. Here is how to use it: prism(row,column,angleInDegrees,mode,point1x,point1y,point2x,point2y,...) It definitely should be fast enough. All of the parameters are integers. Here are the different mode settings: 0 - reverse 1 - normal 2 - xor 4 - replace 5 - or To download this, see the attachment. EDIT: I decided to do some additional testing and realized I made a dumb mistake. The latest attachment has this fixed. This post has been edited by bfr on 10 Jul, 2007, 17:49 Attached File ( Number of downloads: 10 )
PolyRotator.zip (5.28 kb)-------------------- [URL=http://bfr.tifreakware.net]My Website[/URL] - [URL=http://bfr.18.forumer.com]My Forums[/URL] - [URL=http://bfr.tifreakware.net/badips.php]Submit IP Addresses of Spambots and Troublemakers[/URL]
2B || !2B |
| Fallen Ghost |
Posted: 10 Jul, 2007, 19:07
|
![]() Ultimate Member Group: Members Posts: 143 Member No.: 308 Joined: 27 Jan, 2007 |
Hey, I could do that on my 83+ with my draw3d program on ticalc. And it even allowed surface shadings, lines, points, perspective/isometric, built-in editor, rotations/scale, and all that, with object that may be other than prisms.
But I admit it weighted 6k of RAM and didn't patterns like or/xor/and. [Edit]My version for 83+ -------------------- My current project: -StarCalc Apps (Starcraft complete for TI-83+) (Status: hell, I hate restructuration)
|
| bfr |
Posted: 10 Jul, 2007, 20:04
|
![]() Post whore Group: Coders Of Tomorrow Posts: 872 Member No.: 31 Joined: 12 Apr, 2006 |
Yeah, I would have had a lot of stuff like that, but I found at that somebody already made it. I'd be interested in seeing your version for the TI-83+ though.
-------------------- [URL=http://bfr.tifreakware.net]My Website[/URL] - [URL=http://bfr.18.forumer.com]My Forums[/URL] - [URL=http://bfr.tifreakware.net/badips.php]Submit IP Addresses of Spambots and Troublemakers[/URL]
2B || !2B |
| DJ Omnimaga |
Posted: 26 Jul, 2007, 7:14
|
![]() Ragol666 Group: Founder Posts: 11283 Member No.: 1 Joined: 9 Apr, 2006 |
i wonder if this could be used as a lib for other programmers?
-------------------- |
| Fallen Ghost |
Posted: 26 Jul, 2007, 7:34
|
![]() Ultimate Member Group: Members Posts: 143 Member No.: 308 Joined: 27 Jan, 2007 |
Double post ftw!
Well, I guess the 68k basic has a prgmXXX simile, so that should be possible, like bfr explained with it's special new function -------------------- My current project: -StarCalc Apps (Starcraft complete for TI-83+) (Status: hell, I hate restructuration)
|
| tenniskid493 |
Posted: 26 Jul, 2007, 16:32
|
![]() Future Ruler of the World Group: Admins Posts: 877 Member No.: 11 Joined: 10 Apr, 2006 |
I don't see a double post
Your welcome DJ_OmnimagaNice work bfr...now if only you put this effort towards your other projects -------------------- "So if you care to find me, look to the western sky. As someone told me lately, everyone deserves a chance to fly. And if I'm flying solo, atleast I'm flying free. To those who ground me, take a message back from me. Tell them how I have defied gravity, im flying high, defying gravity, and no ones gonna bring me down!" |
![]() |
![]() ![]() ![]() |