Author Topic: Unreal Tournament on the TI-Nspire?  (Read 12010 times)

0 Members and 2 Guests are viewing this topic.

Offline Juju

  • Incredibly sexy mare
  • Coder Of Tomorrow
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 5730
  • Rating: +500/-19
  • Weird programmer
    • View Profile
    • juju2143's shed
Unreal Tournament on the TI-Nspire?
« on: June 24, 2012, 03:35:40 am »
It probably won't happen, but critor made something that is starting to be interesting (at least on a calculator): he ported NewVox, a voxel 3D engine demo for the Nspire, using the nSDL library by hoffa.



Critor only changed 4 lines in the original source to make it work on the Nspire, it proves you can port existing SDL apps really fast on the Nspire. The sky is now the limit!

Download: http://tiplanet.org/forum/archives_voir.php?id=6044
Source: http://tiplanet.org/forum/viewtopic.php?p=126303#p126303

Speaking of which, our own ruler501 and Juju are starting a port of SDL to the Casio Prizm. So it means we will see more interesting stuff to the Prizm, but more importantly, more programs that compiles on both PC, Nspire and Prizm.

Download: https://github.com/ruler501/nSDL
Source: http://ourl.ca/16417

On an unrelated note, remember how you can hallucinate on the TI-Nspire? Juju pretty much did the same on the Prizm, with the raw PrizmSDK. You can now hallucinate on the Casio Prizm as well!



Source and download: http://ourl.ca/16433
« Last Edit: June 24, 2012, 03:52:01 am by Juju »

Remember the day the walrus started to fly...

I finally cleared my sig after 4 years you're happy now?
THEGAME
This signature is ridiculously large you've been warned.

The cute mare that used to be in my avatar is Yuki Kagayaki, you can follow her on Facebook and Tumblr.

Offline Adriweb

  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1708
  • Rating: +229/-17
    • View Profile
    • TI-Planet.org
Re: Unreal Tournament on the TI-Nspire?
« Reply #1 on: June 24, 2012, 04:48:33 am »
I have 2 more nSDL programs critor sent me ...
Videos are coming ;-)
My calculator programs
TI-Planet.org co-admin.
TI-Nspire Lua programming : Tutorials  |  API Documentation

Offline Stefan Bauwens

  • Creator of Myst 89 - סטיבן
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1799
  • Rating: +162/-24
  • 68k programmer
    • View Profile
    • Portfolio
Re: Unreal Tournament on the TI-Nspire?
« Reply #2 on: June 24, 2012, 05:28:45 am »
WOW! That looks awesome. Wow!


Very proud Ticalc.org POTY winner (2011 68k) with Myst 89!
Very proud TI-Planet.org DBZ winner(2013)

Interview with me

Offline apcalc

  • The Game
  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1393
  • Rating: +120/-2
  • VGhlIEdhbWUh (Base 64 :))
    • View Profile
Re: Unreal Tournament on the TI-Nspire?
« Reply #3 on: June 24, 2012, 08:34:14 am »
Wow!  Very nice achievement, great work critor! :)


Offline hoffa

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 304
  • Rating: +131/-13
    • View Profile
Re: Unreal Tournament on the TI-Nspire?
« Reply #4 on: June 24, 2012, 08:57:43 am »
Nice! :D

I did some adjustments to the voxel demo (nearly tripled range, made mountains much bigger and imposing, made it run full screen, added Mars-like colors and fly mode):


Download here.
« Last Edit: June 24, 2012, 08:58:44 am by hoffa »

Offline cyanophycean314

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 363
  • Rating: +43/-1
  • It's You!
    • View Profile
Re: Unreal Tournament on the TI-Nspire?
« Reply #5 on: June 24, 2012, 09:33:31 am »
Yay great job!

Offline Nathan Jahreis

  • LV3 Member (Next: 100)
  • ***
  • Posts: 45
  • Rating: +1/-0
  • That strange mix of nerd, redneck, and trains ;)
    • View Profile
    • https://sites.google.com/site/nathanjahreis/
Re: Unreal Tournament on the TI-Nspire?
« Reply #6 on: June 24, 2012, 09:50:55 am »
Awesome.  This reminds me of the google earth flight simulator.

Offline TheMachine02

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 452
  • Rating: +105/-0
  • me = EF99+F41A
    • View Profile
Re: Unreal Tournament on the TI-Nspire?
« Reply #7 on: June 24, 2012, 09:51:41 am »
 :D wow that epic !
AXE/asm programmer - unleash the power of z80 //C++//C

epic 3D things http://www.ntu.edu.sg/home/ehchua/programming/opengl/CG_BasicsTheory.html

Offline TIfanx1999

  • ಠ_ಠ ( ͡° ͜ʖ ͡°)
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 6173
  • Rating: +191/-9
    • View Profile
Re: Unreal Tournament on the TI-Nspire?
« Reply #8 on: June 24, 2012, 11:09:39 am »
Wow, that's quite an impressive demo! Very cool stuff guys! ^^

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Unreal Tournament on the TI-Nspire?
« Reply #9 on: June 24, 2012, 01:37:47 pm »
That is amazing, but what amazes me the most is how fast the voxel engine runs. Unreal Tournament would definitively be doable, assuming someone uses outdoor maps like this. Can a voxel engine allow other kind of shapes like small buildings, different colors (such as green for grass and gray for structures) and collision detection without losing too much speed?

Offline Adriweb

  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1708
  • Rating: +229/-17
    • View Profile
    • TI-Planet.org
Re: Unreal Tournament on the TI-Nspire?
« Reply #10 on: June 24, 2012, 02:18:30 pm »
That is amazing, but what amazes me the most is how fast the voxel engine runs. Unreal Tournament would definitively be doable, assuming someone uses outdoor maps like this. Can a voxel engine allow other kind of shapes like small buildings, different colors (such as green for grass and gray for structures) and collision detection without losing too much speed?

If I'm not mistaken, it's all randomly generated, so, if you want pre-made building, it's going to require something completely different ?
Or at least some sort of 2nd generator on top of the landscape one, I guess
My calculator programs
TI-Planet.org co-admin.
TI-Nspire Lua programming : Tutorials  |  API Documentation

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Unreal Tournament on the TI-Nspire?
« Reply #11 on: June 24, 2012, 03:06:41 pm »
Would a voxel map editor be possible or would it be too complicated to use? That said, randomly generated levels for an FPS would be nice I guess

Offline hoffa

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 304
  • Rating: +131/-13
    • View Profile
Re: Unreal Tournament on the TI-Nspire?
« Reply #12 on: June 24, 2012, 03:33:32 pm »
That is amazing, but what amazes me the most is how fast the voxel engine runs. Unreal Tournament would definitively be doable, assuming someone uses outdoor maps like this. Can a voxel engine allow other kind of shapes like small buildings, different colors (such as green for grass and gray for structures) and collision detection without losing too much speed?
If I'm not mistaken, it's all randomly generated, so, if you want pre-made building, it's going to require something completely different ?
Or at least some sort of 2nd generator on top of the landscape one, I guess
Convex buildings would be possible, as has been done numerous times already:

But in this case the voxel engine uses bilinear interpolation and whatnot (haven't studies it thoroughly) so it smooths everything out. If that's removed it would speed up the code and it would make it possible to include primitive buildings and such with color (unless you want buildings that look like sand dunes).
EDIT: the code seems like a mess, I'd write a voxel engine from scratch rather than decipher that.
« Last Edit: June 24, 2012, 06:04:23 pm by hoffa »

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Unreal Tournament on the TI-Nspire?
« Reply #13 on: June 24, 2012, 03:42:03 pm »
That's cool to hear. Also if buildings cannot have ceilings (or can they?) I guess someone could just simulate it. Ie have the ceiling be plain black and every wall at the same height. Just as long as there are some places to hide from your enemies :P


Also, looking at the voxel engine video, I don't think textures are very necessary to begin with. They could be added later and if speed is good, then a game could use them, but otherwise with the colors it seemed to look quite great already.

Offline ElementCoder

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 611
  • Rating: +42/-2
    • View Profile
Re: Unreal Tournament on the TI-Nspire?
« Reply #14 on: June 25, 2012, 08:21:18 am »
This is awesome  :thumbsup:. Does this mean serious gaming is getting closer and closer or am I wrong?  :w00t:

Some people need a high five in the face... with a chair.
~EC