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

Pages: 1 ... 12 13 [14] 15 16 ... 115
196
TI-Nspire / Re: nGL - a fast (enough) 3D engine for the nspire
« on: June 20, 2014, 06:40:22 pm »
However, I worked a bit on my ndless fork and got exceptions to work! It's a rather nice feature, to minimize possible crashes.
Also, it'll be using a new executable format which will load faster and maybe also make the game faster!
It'll take a while to implement it in both ndless 3.6 and 3.1 though, I don't want that it runs on 3.6 only.
Nice !
is Extended aware of this ? (So that he can integrate it in the official repo)
Well, I suppose you should finish it first :P
Good that it runs on 3.6 already, I guess it's more of a priority than 3.1, these days.

197
Calculator C / Re: lua native extension failure on 3.6
« on: June 16, 2014, 03:52:32 pm »
Try having a "clean" RAM (reset button) before launching (I've had such crashes before, too)

198
Calculator C / Re: lua native extension failure on 3.6
« on: June 16, 2014, 08:57:10 am »
It can be spelled both ways (but especially Khi in French :P).

Anyway... χcas

199
Lua / Re: Is there a replacement for gc:setAlpha in apilevel>=2.0?
« on: June 16, 2014, 06:13:31 am »
Nope, sorry.

200
Calculator C / Re: lua native extension failure on 3.6
« on: June 15, 2014, 04:44:50 pm »
Merge with my post if you want, but ...



:)

201
Calculator C / Re: lua native extension failure on 3.6
« on: June 15, 2014, 03:32:37 pm »
And... nevermind, I found the issue : in 3.6, we have to use "nrequire" instead of "require", so Extended did the job well to workaround the problem explained by Jim :)

202
Calculator C / Re: lua native extension failure on 3.6
« on: June 15, 2014, 03:05:12 pm »
Also Parisse ? Any relation with Bernard Parisse the author of Xcas ?
Yes, it's me. The giac CAS kernel is already ported to the TI nspire, but it lacks a UI. I believe the easiest is to write the UI in lua, and Adriweb already wrote a lua script using the lua module that demonstrate it works, unfortunately only on OS 3.1, not 3.6. I hope it's easy to fix, otherwise I'll have to write a C(++) UI, probably based on nSDL, so that the code base can be shared with the web interface of giac (using emscripten to convert SDL to javascript). SDL could also enable embedded 2-d graphics in a CAS calculation screen.
Also, there's "deep(er)" OS integration that Excale when he's less busy :)
The Lua side is interesting because we can customize it more the way we want, but still integrated within the OS.

203
Calculator C / Re: lua native extension failure on 3.6
« on: June 15, 2014, 01:01:14 pm »
Well, yes but no : the uninstall part is linked to a function that's defined within the .c itself, so... it's not the same.
But at least, yeah, the "register" part works.

The problem is that this line is executed, with external lua exts : "   luaL_error(L, "module " LUA_QS " not found", name);"

And, to get there, only two ways :

"if (strlen(name) >= 30) goto require_not_found;"
which isn't the case.

or :
"if (!file_each(get_documents_dir(), require_file_each_cb, modulepath))" returns true...

Why would that be ?

204
Calculator C / Re: lua native extension failure on 3.6
« on: June 15, 2014, 11:42:41 am »
It's already working on 3.1, but since the Lua API on 3.1 is really crappy for D2Editor, well....
On 3.6, as soon as the lua extension works, it'll be quite awesome...

205
Calculator C / Re: lua native extension failure on 3.6
« on: June 15, 2014, 08:40:44 am »
I reported the bug to more people capable of understanding where the issue is, so, hopefully it will get more attention soon (or at least maybe from people who have more time).

Edit : I suppose the bug is somewhere in there... https://github.com/OlivierA/Ndless/blob/e50fe929fa47f7af5ae324ffee28e68e1b8aa0b6/arm/luaext.c

206
Miscellaneous / Re: "Lenovo analyst: Linux on netbooks is doomed"
« on: June 13, 2014, 09:21:37 pm »
... the hell ?

207
News / Re: WARNING: TI-Nspire OS 3.9 in June?
« on: June 11, 2014, 06:59:56 am »
Yeah, and the 461 build that was on their servers vanished, too. We'll have to wait and see.... (for those who want to see :P)

208
TI-Nspire / Re: [lua] fractal zoomer
« on: June 10, 2014, 09:13:22 am »
@Jens_K : I never said yours isn't optimized :P
Also, glad it's not platform-dependant, I guess I should have reopened the file in computer view on the software to actually see the re-init in full screen ^^

Also, the problem with Levak's version (which is probably why it's not blazing fast), is that he creates 4^n (i believe) functions for each iteration... which slows the script down.
If he solves that issue, it may be much better ^^
I don't know if he ever will though - maybe one day :P


(Also, I don't have any issues with the menus, like you said ?
edit : ah wait, emu... hum weird)

209
TI-Nspire / Re: [lua] fractal zoomer
« on: June 08, 2014, 12:30:13 pm »
Looks very cool, and beautiful :P

To answer your first question, Levak made an quite optimized mandelbrot viewer in Nspire-Lua.
By optimized, I mean :
- algorithm-wise : use of quad-tree and general optimizations
- lua-wise : partial invalidates, coroutines, lua tricks etc.

Also, it's not platform-dependant (no absolute coordinates ;) ), so it works well on all nspire platforms (but faster on TINCS and iPad, of course)

Download here (it's the "Mandelbrot_processless3.tns" file, for Lua, the rest is a C ndless program)

There is a video here (it was used for comapring to the C version, but still, you can see it running) :



Your way is quite nice too since you get to see a better "view" the longer you wait, but you get the idea quite fast :P

210
Art / Re: RPG for Nspire: Sprites
« on: June 03, 2014, 06:41:23 pm »
Ah, roundRects for the bars :P

Pages: 1 ... 12 13 [14] 15 16 ... 115