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 - totorigolo

Pages: 1 [2]
16
News / Re: nPlayer for Nspire CX
« on: January 21, 2012, 01:46:17 pm »
It's beautiful ! I will test soon :)

17
Ndless / Re: [nRGBlib] W.I.P - Colorful librairy for Ndless 3.1
« on: January 19, 2012, 04:48:27 pm »
Ndless 3 is out !
Here is the link to download nRGBlib :) :
https://bitbucket.org/totorigolo/nrgblib/downloads

This link will be always up to date, because it's mine.

18
Ndless / Re: [nRGBlib] W.I.P - Colorful librairy for Ndless 3.1
« on: January 16, 2012, 04:26:42 pm »
Here it is ! The new nRGBlib v0.2 :). It will be available soon to Download...  ;)

19
Ndless / Re: [nRGBlib] W.I.P - Colorful librairy for Ndless 3.1
« on: January 05, 2012, 04:11:20 pm »
New video on the presentation topic, about compatibility between Nspire CX / Nspire Touchpad/Clickpad.


I did this compatibility with the following formula : color = ((R + G + B) / 3) / 16; and then I use the Ndless 2.1 setPixel(); function.
I have also edited my Color structure to be able to do this :

Code: [Select]
    //...
    Color appleCol; // Red for CX and Black for Classic
        appleCol.R = 255; // |
        appleCol.G = 0;   // |-> Red
        appleCol.B = 0;   // |
        appleCol.BW = 0; // Black

    drawSthColor(x, y, appleCol);
    //...

20
Ndless / Re: [nRGBlib] W.I.P - Colorful librairy for Ndless 3.1
« on: January 05, 2012, 01:53:46 pm »
What do you mean when you say "demo" ? Ndless 3 isn't yet public. Currently, there are CXSnake and GeometriCX. (Perhaps CXSnake screen shots ?  ;D)

21
Ndless / Re: [nRGBlib] W.I.P - Colorful librairy for Ndless 3.1
« on: January 04, 2012, 04:27:03 pm »
Adriweb: Done ! I used the same images than jimbauwens.

epic7: Thanks you !

22
Ndless / Re: [nRGBlib] W.I.P - Colorful librairy for Ndless 3.1
« on: January 04, 2012, 04:06:08 pm »
The 0.1 version is in only one file, and I didn't pay attention about organization. In the future version, the code will be more structured  ;)

23
News / Re: nRGBlib for the TI-Nspire CX
« on: January 04, 2012, 04:01:46 pm »
I have just created a topic about this  :) ? http://ourl.ca/14731

24
Ndless / [nRGBlib] W.I.P - Colorful librairy for Ndless 3.1
« on: January 04, 2012, 04:00:48 pm »
Hello everybody,

I'm coming from TI-Planet to inform you about the progression of nRGBlib, which is a Ndless colorful (but compatible with classic Nspire) library.
You can see the corresponding news :
And you can see the original topic on TI-Planet here (FR). Note that this topic, on Omnimaga, may be outdated because I'm French so...
------------------------------------------------------------------------------------------

Roadmap :

nRGBlib 0.1 : First stable version - available on request
  • Drawing pixel in color.
  • Clearing the screen in color.
  • Drawing an ordinary line in color.
  • Drawing rectangle, square or vertical and horizontal line in color.
  • Drawing circle and disc in color.
  • Drawing an empty triangle (only borders) in color.
  • Drawing 8x8 pixels tile (good definition, but in french) with possibility to resize them (only x2, x4,... for 0.1 version) in single color and multi colors mode.
  • Drawing a character with possibility to resize it (only x2, x4,... for 0.1 version) in color.
  • Drawing a string, with possibility to resize it (only x2, x4,... for 0.1 version) and possibility to enable / disable line wrap, in color.

nRGBlib 0.2 : Former stable version - public
  • Compile statically, like libndls, to alleviate the executable.
  • Organize the library to allow proper expansion in continuity.
  • Classic Nspire and CX compatibility, without re-building.
  • Reduce the number of arguments of the functions, to accelerate the execution ? only colors for this version.
  • Mozilla Public License 2.0 added.
  • Version ready for Ndless 3  ;)
nRGBlib 0.3 : Last stable version - public
  • Images support. The images' format is a custom one. However, an exporter is provided and is capable to export all popular formats (bmp, dds, jpg, png, tga, psd (thanks to SFML  :) ) ).
    The images' weight is smaller than BMP, but heavier than PNG : 320x240 image => BMP = 225Ko, PNG = 6.19Ko et CUSTOM = 151Ko.
    Images are saved outside of the program, unlike tiles.
    Currently, 4bpp calculators can't draw images which have uneven width, so 240x245 is bad ? 240x244.
  • Sub-images support, ie drawing only a part of an image.
  • Buffering support. Possibility to use several screen buffers and to make a screen shot (but can't save it yet).
  • Boost of the drawBox() function, which is used by several others. The former version, slower, is still available : drawBoxSl().

------------------------------------------------------------------------------------------

Features:

nRGBlib is composed of several packages to perfectly suit your needs.

  • nCOMMON:
    • Color, RGB <-> BW conversion, precomputed colors.
    • Screen buffer, creation, drawing, screen shootinh, clearing.
    • setPixel(), clearScreen().
  • nGEO:
    • Shapes: Discus, Circle, Line, Rectangle, Square, Triangle.
    • Display functions of these shapes.
  • nTILE:
    • Tile 8x8 in one color or in multicolors.
    • Display functions of tiles.
    • ? Tiles are saved INSIDE of the program.
  • nIMAGE:
    • Image, initializing, loading, drawing, getPixel().
    • Sub-image, initializing, loading, drawing, getPixel().
    • ? Images are saved OUTSIDE of the program.
  • nGUI:
    • Structures: Letter, Text.
    • Display functions of these structures.
  • nMATHS:
    • rand() and randMinMax() functions.
------------------------------------------------------------------------------------------

Medias :

GeometriCX v0.1


nRGBlib v0.1 with CXSnake and GeometriCX


nRGBlib v0.2dev with HelloRGB, CXSnake and GeometriCX (Thanks to Goplat for his emulator)


nRGBlib v0.3 indev : RPG + map editor

4bpp drawing has been accelered a lot since v0.3, but the video was taken before the optimization.

------------------------------------------------------------------------------------------

Downloads:
Here is my Bitbucket (Mercurial) repository. Go in "Downloads" section :
https://bitbucket.org/totorigolo/nrgblib/overview
  • Tags ? v0.* ? zip to get source.
  • "samples-v0.*.zip" to get only the samples.
------------------------------------------------------------------------------------------
If you have any question or suggestion about this library, please feel free  :)

totorigolo

Pages: 1 [2]