Omnimaga

Calculator Community => Other Calc-Related Projects and Ideas => TI-Nspire => Topic started by: hoffa on September 13, 2011, 11:38:42 am

Title: Pseudo-3D engine for the TI-Nspire using Lua
Post by: hoffa on September 13, 2011, 11:38:42 am
Hello,

I've been working on a pseudo-3D (using ray casting) engine for the TI-Nspire. Chokosta has already made one (actually I got the idea from him), but I want to have a flexible and fast engine that could eventually be used to make some sort of games. Lua on the TI-Nspire is already quite slow, and so I will try and optimize the most critical parts as much as Lua allows it to have a decent rendering frame rate. At the moment I am in the testing phase, trying different techniques of ray casting (namely, using vectors like Lode Vandevenne in his tutorial does, or using angles) as I want to have good and clear code while still being fast. Also for texture mapping I have a few choices, so I'll have to weigh all that and choose the ones that suit the best.

As a summary, what I will try to make is an engine that has/is:

As I love splash screens and screenshots in general, here you go:

(http://webgel.net/bf/wolf2.png) (http://webgel.net/bf/1/wolf1.png)

Ain't much else for now. Let's just hope making this thread will keep me motivated. :*
Title: Re: Pseudo-3D engine for the TI-Nspire using Lua
Post by: Yeong on September 13, 2011, 11:40:38 am
looks nice!
Title: Re: Pseudo-3D engine for the TI-Nspire using Lua
Post by: Chockosta on September 13, 2011, 12:52:36 pm
Impressive ! How do you display textures ?
I tried, but my framerate decreased a lot.
Title: Re: Pseudo-3D engine for the TI-Nspire using Lua
Post by: annoyingcalc on September 13, 2011, 08:37:23 pm
WOAH that looks awesome can I test?
Title: Re: Pseudo-3D engine for the TI-Nspire using Lua
Post by: NecroBumpist on September 13, 2011, 09:09:58 pm
Nice!
How many FPS does it get ?
Title: Re: Pseudo-3D engine for the TI-Nspire using Lua
Post by: pianoman on September 13, 2011, 11:03:13 pm
Whoa that is awesome.
Nice work! :)
Title: Re: Pseudo-3D engine for the TI-Nspire using Lua
Post by: DJ Omnimaga on October 23, 2011, 08:32:34 pm
Nice indeed. I would like to see some sort of small demo of the raycaster to see how fast it runs, hoping it's still in the works.