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

Pages: 1 ... 22 23 [24] 25 26 ... 83
346
TI-Nspire / Re: [Ndless] n2DLib
« on: July 11, 2014, 02:36:59 pm »
Quote
It's not available. I use 0x0000 in my image.
Hm, could you send me your test picture then?
Quote
Also, personally I would rather want the tool to use the top-left corner pixel as transparent color, because all of my images I ever used did that.
Trust me, it's much easier to use proper transparency and not worry about it. PNG FTW!

347
TI-Nspire / Re: [Ndless] n2DLib
« on: July 11, 2014, 02:30:07 pm »
Quote
Okay so I tried this with --format=n2dlib, and it doesn't set the correct transparency value. Actually, it doesn't set any value at all, it keeps being 0x0. nSDL format works fine though, thanks for this =]
Well, 0x0 can be the correct value. I just tried it and for a small picture with just a black pixel in the center it works and picks the next available one.

Quote
What I'm asking is : can I use it in my makefile ? Scriptable = usable programmatically.
I'm using it in my Makefiles and it works without problems: ./ConvertImg --format=ngl blockselection.png blockselection.h

348
TI-Nspire / Re: [Ndless] n2DLib
« on: July 11, 2014, 02:03:47 pm »
So, ConvertImg should work now, it supports all three formats (nSDL, nGL and n2DLib) and two of them are of course untested.
It fully supports every file format Qt supports, if it's a file with transparency the transparency will be replaced by a unique new color, the lowest color that isn't already somewhere in the image. Link to the windows version: https://github.com/Vogtinator/ConvertImg/releases/tag/v0.9
For other OSs you need to compile it yourself: "qmake . && make && sudo make install"

349
TI-Nspire / Re: [Ndless] n2DLib
« on: July 11, 2014, 12:17:15 pm »
So 0x0000 as transparent color means no transparency?

350
TI-Nspire / Re: [Ndless] n2DLib
« on: July 11, 2014, 11:16:34 am »
Just to be sure: The format is a uint16_t array with width, height and transparent color as the first 3 16bit values and every pixel from top left to bottom right appended?

351
TI-Nspire / Re: [Ndless] n2DLib
« on: July 11, 2014, 11:08:49 am »
I could integrate support for the SDL/n2dlib format in my ConvertImg tool, I'd have to include better transparency support anyway and an option "-format=ngl" or "-format=sdl" wouldn't hurt.

352
TI-Nspire / Re: nGL - a fast (enough) 3D engine for the nspire
« on: July 11, 2014, 08:56:12 am »
Quote
Could it be possible though to have it save in screenshotXXX.ppm.tns, where XXX ranges from 000 to 999 ? In case we have to do more than one screenshot while we are on vacations
That could get slow, but why not. I'll also add some kind of notification ("Saved as %d.ppm") on the screen.

Quote
Also, about the sensitive touchpad (yeah, again ), couldn't it be possible to have the "center zone" of the touchpad be precise, and the "outer zone" be fast ?
That could be weird if you wipe across the pad and it gets slower in the center. But I'll probably make the rotation speed dependant on the touchpad velocity.

353
TI-Nspire / Re: nGL - a fast (enough) 3D engine for the nspire
« on: July 11, 2014, 08:20:47 am »
I added a screenshot feature in Crafti: Press Crtl + . in-game to save the screen as /documents/ndless/screenshot.ppm.tns. It doesn't call refresh_osscr() as it would take too long, so don't wonder if it doesn't show you that the file exists. I changed the file of my v1.1 announcement as it's not really a new version.

354
TI-Nspire / Re: nPDF - A document viewer for the Nspire
« on: July 10, 2014, 04:47:24 pm »
@Vogtinator: How can I run elf2flt on the .elf file? I'm running it with just the -o option, and all I get is a bunch of "bad reloc" messages.
It works for me by executing "arm-none-eabi-elf2flt -v -r -a crafti.elf -o crafti.bflt.tns", but the .elf needs to be linked with the old flags (-fno-exceptions, -fPIE). I didn't test whether it runs, though.

Quote
Maybe it would be better to wait until Zehn is merged into the official Ndless?
I'm working on that but that will take some time  :/  Currently ngc somehow crashes and most syscalls aren't listed (usb and TI_NN stuff not at all, for example). With the "resources-loader" it's perfectly usable though. And I need some testing whether there are some bugs I haven't found yet, I don't want to create a buggy undead tool like elf2flt ;)

355
TI-Nspire / Re: nPDF - A document viewer for the Nspire
« on: July 10, 2014, 02:47:20 pm »
You just need to download the binary from this post and execute it on your calc. Then you can open .pdf files.

356
TI-Nspire / Re: Calling all Linux Kernel developers!
« on: July 10, 2014, 11:21:15 am »
You can build your own buildroot. But it will take some hours, depending on your machine.

357
TI-Nspire / Re: Calling all Linux Kernel developers!
« on: July 10, 2014, 11:07:24 am »
Great to hear you got it to boot! But init=/sbin/init shouldn't be needed as that's the default, weird.

358
TI-Nspire / Re: nGL - a fast (enough) 3D engine for the nspire
« on: July 10, 2014, 10:41:07 am »
Quote
Probably taken from running the game in nspire_emu. (well, at least it's the quickest way to get it)
Correct, and the gifs are made using byzanz-record. I move the window to the coords 0/0 and start it with "-x 0 -y 0 -w 320 -h 240".

Quote
Although a screenshot feature within the game would be cool (if it's not there already, I don't know )
I had implemented it once but lost the code somehow (it was before v0.7.2, when I moved to git). But it's on my todo list again!

359
TI-Nspire / Re: nGL - a fast (enough) 3D engine for the nspire
« on: July 10, 2014, 09:43:10 am »
Quote
Also wow, I just updated crafti on my calc and it's really great  (not that it was bad before )
There is just something that annoys me a bit. Would it be possible to have a higher touchpad sensitivity ? Because I have to rub it 5 times before seeing what's behind me
Of course, you can make it an option to have both precision-people and speed-people happy
You can rotate faster if you press the touchpad - this is also dependant on your "Speed" setting. I didn't make the "rubbing" speed change with "Speed", as it would be impossible or too hard to aim on fastest speed.

360
TI-Nspire / Re: nGL - a fast (enough) 3D engine for the nspire
« on: July 10, 2014, 03:22:09 am »
Quote
Wow, that redstone implementation looks sick! I really need to give the new version a try when I have time :)
The implementation IS sick. Just look at the code :P

Quote
I just had a question when reading your post. What is format Zehn ? I only get redirected to German pages when I google it o.o
You know ELF, right? Elf is German for eleven and Zehn is German for ten, that should explain it :)
Basically it's a custom format without the restrictions of bFLT which should load faster and supports code without PIC and with exceptions.

Quote
Do you plan a ticalc.org update soon?
Hm, why not?

Pages: 1 ... 22 23 [24] 25 26 ... 83