Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Matrefeytontias

Pages: 1 ... 23 24 [25] 26 27 ... 133
361
TI-Nspire / Re: [Ndless] nFastGraphX
« on: June 03, 2014, 02:25:28 am »
You can remove your poll, I checked the box.

362
TI-Nspire / Re: [Ndless] nFastGraphX
« on: June 03, 2014, 02:23:20 am »
Good point. Adding that to the poll. I'm also thinking about putting that lib on Github so everyone can push things to it.

363
TI-Nspire / Re: [Ndless] nFastGraphX
« on: June 03, 2014, 02:20:32 am »
Oops, I forgot to replace switchBuffers() by switchBuffersRestore() in the Jetpack Impossible code after I implemented it x.x fixed now, download again two posts above.

And Hayleia we didn't ask you because you weren't there and we wanted to post the lib anyway :P

364
TI-Nspire / Re: [Ndless] nFastGraphX
« on: June 03, 2014, 02:00:48 am »
Well I guess we can add a poll.

And by the way, I just attached my code, which includes some of my work and some revisited functions by pierrotdu18 and Hayleia. Overall, my versions are faster, but I encourage you guys to post your own versions so we can take what's better out of several versions.

365
TI-Nspire / Re: [Ndless] nFastGraphX
« on: June 03, 2014, 01:48:51 am »
So Hayleia agreed that I port his Jetpack Impossible to use this lib and to post the code here as an example :)

The TNS works on both color and monochrome calcs with seemless difference.

366
TI-Nspire / Re: [Ndless] nFastGraphX
« on: June 03, 2014, 01:44:09 am »
Wow, I don't really know how you can have trouble making it work :P

But I'll make a tutorial anyway. Just know that images must be an array of unsigned short and have the following format :
  • Width in pixels
  • Height in pixels
  • Transparent color
  • Pixel data in R5G6B5 format

Rect is a struct made by 4 components : x, y, w, h. Set them to tell which part of the sprite you want to draw.

Run initDoubleBuff() at the beginning of your program ; if it returns anything else than 0 it's not good, so quit.
Run any of the two switchBuffers() to update the screen.
Run deinitDOubleBuff() at the end of your program.

Double-buffering involves 2 buffers, of course. So you can restore the first on the other with switchBuffersRestore(). This has a use if you don't redraw the whole screen each frame.

I think that's it.

367
TI-Nspire / [Ndless] n2DLib
« on: June 02, 2014, 06:07:45 pm »
Hey guys,

So Hayleia, pierrotdu18 (from TI-Planet) and I were kinda used to nSDL, but as we encountered speed and portability difficulties (like nSDL_LoadImage returning 16-bits surfaces only) we thought of doing our own graphics lib. So far it does work pretty well ; here are the implemented, tested and working features :
  • Double-buffering via a few functions, init, two kinds of update and deinit
  • Some fixed-point (24.8 ) maths routines : multiply, divide, fixed to integer, integer to fixed, fixed cos, fixed sin, 2D rotation of a point by an angle
  • Buffer-level routines : clear, fill
  • Pixel-level routines : getPixel, two kinds of setPixel (R5G6B5 and RGB)
  • Sprite-level routines : drawSprite, drawSpritePart (draws only a part of a sprite), drawSpriteRotated (rotates a sprite by an angle)
  • Full compatibility with monochrome and color Nspires, with automated conversion of colors
That's it for now, but of course we will add more and more routines to make it the best lib for Nspire ! :)

Attached are the two files you need to use the lib.

368
TI-Nspire / Re: [ndless 3.6] nVVVVVV
« on: June 01, 2014, 08:22:57 pm »
Just so you know, I rewrote the double-buffering part so that it sets the monochrome screen to 16-bits (tested and the same program works with both color and monochrome screens) ; that way no tests are needed at all when drawing stuff, so programs will draw lightning-fast. Maybe you'll have to adapt your code a bit, so be prepared for that.

369
TI-Nspire / Re: [ndless 3.6] nVVVVVV
« on: June 01, 2014, 05:39:14 pm »
Well, you just added a function to our task list :P

370
TI-Nspire / Re: [ndless 3.6] nVVVVVV
« on: June 01, 2014, 02:07:55 pm »
:o be sure to make that work on monochrome Nspires too, I'll want it :D

371
Humour and Jokes / Re: Weird/funny pictures thread
« on: May 31, 2014, 04:26:30 pm »
Just wow.

372
KnightOS / Re: What do you want the most in future KnightOS ?
« on: May 29, 2014, 07:48:58 pm »
Seeing as how I only have a +C, you probably can figure out what I voted :P
Anyway, looking forward to the release of this, assuming it's going to be fully compatible with the +CSE!
(By the way, when I said I could test, when do you want me to start?)
It will be fully compatible with the CSE, that's something we really want to do. However, as we think that there are more important things, that's not the main focus. So you can start testing things by now and report issues, but they won't be resolved that soon if we're already working on something else.

373
KnightOS / Re: What do you want the most in future KnightOS ?
« on: May 29, 2014, 07:14:16 pm »
All I want is a math program. Of course, this is a math calculator :trollface:
I haven't had time to try it out yet but ordelore said it needed a math program, and it is a calculator.
As you cleverly noted, it's a calculator, so the math app will be implemented before any major release is done. This topic discusses of the far future.

Axe parser with a dynamic library system. Is that possible? :D
Well, KnightOS will have an official programming language, kpy, inspired from Python. We won't rewrite the Axe Parser for KOS, but if someone does, pray that he will support dynamic libraries :P if you really want dynamic libs, you can still program in ASM, KOS supports them natively.

374
KnightOS / What do you want the most in future KnightOS ?
« on: May 29, 2014, 01:35:16 pm »
That lets us KOS developers know what to focus on !

Note that's only for a hypothetic far future though, don't expect any of this implemented any time soon.

http://strawpoll.me/1781112

If you have any questions on what does what, please ask !

375
Miscellaneous / Re: Awesome pictures thread
« on: May 26, 2014, 03:51:25 pm »
Wat.

Pages: 1 ... 23 24 [25] 26 27 ... 133