Alternatively, join us on Discord.

CKH4's 3D plane program

Started by CKH4, April 21, 2015, 09:35:36 pm

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

CKH4

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.


Snektron

I have a letter editor for the CSE but that's not what you want i think :P
Legends say if you spam more than DJ Omnimaga, you will become a walrus...


CKH4

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.


Snektron

Ehhh, no. Well, not if you don't want to make rom mods :P.
Legends say if you spam more than DJ Omnimaga, you will become a walrus...


CKH4

It was more of a "is it possible" sort of thing.


DJ Omnimaga

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 ???.

CKH4

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.


DJ Omnimaga

Oh I see now. I never used xLIB lines so I will have to take a look at that.

CKH4

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


DJ Omnimaga

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.

CKH4

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.


DJ Omnimaga

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.

CKH4

If you could try it and see if the lines look weird, that would be great.


DJ Omnimaga

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.

CKH4

April 27, 2015, 11:30:39 am #44 Last Edit: April 27, 2015, 11:36:35 am by CKH4
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.


Powered by EzPortal