Omnimaga
Calculator Community => Other Calc-Related Projects and Ideas => TI-Nspire => Topic started by: njaddison on November 15, 2011, 04:02:39 pm
-
Hi guys.
I just read Chocksta's post about Tiny3D viewer.
He hasn't posted it yet, or I might be late.
So until he does (if he hasn't already),
we rely on raycasting for our 3D gaming needs.
My ideas are:
Wolfenstein 3D (in Lua)
Doom (this time in Lua, since nDoom is only compatible with ndless)
and a Capture the Flag like game, maybe with cube shaped vehicles.
-
i think you just have to become a little more realistic.. ndoom and/orwolfenstein in lua is impossible, that language is just too slow (interpreted) to do al that 3D design..
--edit--
raycasting is drawing a view around you in 3D by checking which ray reflect what object (like irl), so you get a real 3D view.. somewhere on this forum, there's a tutorial for it, but i don't know where
-
what is raycasting?
-
Yeah I agree it would be kinda too slow (at least in the current versions of Lua) so we have to remain realistic. It's possible to do raycasting in Lua, but even with no texture you get 10 images per second max at low quality.
what is raycasting?
http://en.wikipedia.org/wiki/Ray_casting
-
i think you just have to become a little more realistic.. ndoom and/orwolfenstein in lua is impossible, that language is just too slow (interpreted) to do al that 3D design..
I wouldn't go so far as to say it's impossible. Even 84+ BASIC has a wolfenstein port of somewhat reasonable quality. That said, it wouldn't be nearly as good as a C version could be and would take a lot of skill in the language.
If you didn't mind memory usage, you could always take the old Doom cheat and compute lookup tables of almost every possible angle to speed up rendering :P
-
Didn't it run at 1 frame per minute? :P