You can help CodeWalrus stay online by donating here. | New CodeWalrus | Old (dark mode) | Old (light) | Discord server
We have an anniversary Game Jam! Click here for more info.

CKH4's 3D plane program

b/Drawing & Animation Started by CKH4, April 21, 2015, 09:35:36 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

u/CKH4 April 23, 2015, 11:16:40 AM
DJ I think that it needs to be completely redone in source coder because I need like over 50 character rows. I really wish that there was a small font program editor for ti 84. I could in theory design one but saving the code as a program would be a problem.
u/Snektron April 23, 2015, 12:48:19 PM
I have a letter editor for the CSE but that's not what you want i think :P
u/CKH4 April 23, 2015, 02:55:11 PM
Not what I want. If you understand not only small font but also small font spacing ( no letter outline, 3x5 font ). I wonder if ti os could be modified for 3x5 letters.
u/Snektron April 23, 2015, 03:01:11 PM
Ehhh, no. Well, not if you don't want to make rom mods :P.
u/CKH4 April 23, 2015, 03:02:45 PM
It was more of a "is it possible" sort of thing.
u/Dream of Omnimaga April 26, 2015, 04:03:14 AM
Quote from: CKH4 on April 23, 2015, 11:16:40 AM
DJ I think that it needs to be completely redone in source coder because I need like over 50 character rows. I really wish that there was a small font program editor for ti 84. I could in theory design one but saving the code as a program would be a problem.
I am confused by what you are refering to, because my program is for the HP Prime, so it cannot be edited in SourceCoder ???.
u/CKH4 April 26, 2015, 01:25:10 PM
I'm referring to my cube program because its just a mess right now. I'm afraid that I lost it when I accidentally reset wabbit on my phone. Right now the program is not set up like an engine, its pretty much all hard coded but I have no experience in engines like this. I started porting the old plane one to xlib but xlib appears to draw lines weirdly so I might need your xlib experience with that.
u/Dream of Omnimaga April 26, 2015, 06:54:16 PM
Oh I see now. I never used xLIB lines so I will have to take a look at that.
u/CKH4 April 26, 2015, 09:34:43 PM
Here's the xlib code ( I may have typed it in wrong )
0->A
Repeat K=15
real(8->K
A-π(K=2)+π(K=3->A
cos(.05A->B
sin(.05A->C
real(0,0
real(12,0,24B+47,3C+10,-24B+47,-3C+10,0
real(12,0,24B+47,-3C+52,-24B+47,3C+52,0
real(12,0,24B+47,3C+10,24B+47,-3C+52,0
real(12,0,-24B+47,3C+52,-24B+47,-3C+10
End
u/Dream of Omnimaga April 26, 2015, 09:57:21 PM
Oh wait you meant xLIB for monochrome, not CSE. Mind using DCS7 instead? Because it's 99.9% similar syntax-wise and xLIB doesn't run on MathPrint OSes.I didn't use xLIB monochrome since early 2008 too.
u/CKH4 April 26, 2015, 10:00:45 PM
Xlib is integrated directly into dcs7 if I remember correctly so yes its compatible with dcs7. Also yeah it's monochrome but it wouldn't require much tweaking for cse.
u/Dream of Omnimaga April 26, 2015, 10:03:15 PM
Yeah it was integrated. There are some issues like with Metroid and Bowling, but other than that most stuff works perfectly. Most issues are due to original xLIB games abusing xLIB glitchea to produce special effects and DC7 patches those.
u/CKH4 April 26, 2015, 10:56:02 PM
If you could try it and see if the lines look weird, that would be great.
u/Dream of Omnimaga April 27, 2015, 05:34:40 AM
It appears fine for me in DCS7 (OS 2.53 MP):



Do you refresh the screen on every line by the way? I forgot what was the argument to update the LCD by default in xLIB 83+. But I remember that only updating the LCD content when drawing the final element is much faster.
u/CKH4 April 27, 2015, 11:30:39 AM
Nope that's the same bug I have, I guess that its an issue with the xlib line routine. It appears that the when you press left or right the vertical lines appear to grow but in reality I think its the horizontal ones.

To answer your question about updating the lcd, I wait until the final line. Real(0,0 clears the screen without updating it and the first 3 lines have ,0 at the end which doesn't update it either. The last line does update it though because I left off ,0.
Last Edit: April 27, 2015, 11:36:35 AM by CKH4
Website statistics


MyCalcs | Ticalc.org | Cemetech | Omnimaga | TI-Basic Developer | MaxCoderz | TI-Story | Casiocalc.org | Casiopeia | The Museum of HP Calculators | HPCalc.org | CnCalc.org | Music 2000 Community | TI Education | Casio Education | HP Calcs | NumWorks | SwissMicros | Sharp Calculators
Powered by EzPortal