Omnimaga

Omnimaga => News => Topic started by: Juju on June 24, 2012, 03:35:40 am

Title: Unreal Tournament on the TI-Nspire?
Post by: Juju 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 (http://ourl.ca/15772)? 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
Title: Re: Unreal Tournament on the TI-Nspire?
Post by: Adriweb on June 24, 2012, 04:48:33 am
I have 2 more nSDL programs critor sent me ...
Videos are coming ;-)
Title: Re: Unreal Tournament on the TI-Nspire?
Post by: Stefan Bauwens on June 24, 2012, 05:28:45 am
WOW! That looks awesome. Wow!
Title: Re: Unreal Tournament on the TI-Nspire?
Post by: apcalc on June 24, 2012, 08:34:14 am
Wow!  Very nice achievement, great work critor! :)
Title: Re: Unreal Tournament on the TI-Nspire?
Post by: hoffa 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):
(http://i.imgur.com/KfJ6q.png)

Download here (http://ourl.ca/14975/308110;topicseen#new).
Title: Re: Unreal Tournament on the TI-Nspire?
Post by: cyanophycean314 on June 24, 2012, 09:33:31 am
Yay great job!
Title: Re: Unreal Tournament on the TI-Nspire?
Post by: Nathan Jahreis on June 24, 2012, 09:50:55 am
Awesome.  This reminds me of the google earth flight simulator.
Title: Re: Unreal Tournament on the TI-Nspire?
Post by: TheMachine02 on June 24, 2012, 09:51:41 am
 :D wow that epic !
Title: Re: Unreal Tournament on the TI-Nspire?
Post by: TIfanx1999 on June 24, 2012, 11:09:39 am
Wow, that's quite an impressive demo! Very cool stuff guys! ^^
Title: Re: Unreal Tournament on the TI-Nspire?
Post by: DJ Omnimaga 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?
Title: Re: Unreal Tournament on the TI-Nspire?
Post by: Adriweb 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
Title: Re: Unreal Tournament on the TI-Nspire?
Post by: DJ Omnimaga 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
Title: Re: Unreal Tournament on the TI-Nspire?
Post by: hoffa 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:
(http://upload.wikimedia.org/wikipedia/en/4/46/Comanche_1992.png)
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.
Title: Re: Unreal Tournament on the TI-Nspire?
Post by: DJ Omnimaga 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.
Title: Re: Unreal Tournament on the TI-Nspire?
Post by: ElementCoder 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:
Title: Re: Unreal Tournament on the TI-Nspire?
Post by: Stefan Bauwens on June 25, 2012, 11:18:46 am
Juju, your hallucinate-program looks pretty cool too, if I haven't mentioned it before.

So, if I search for:"opensource SDL games", how can I know which programs will possibly work on the nspire?(I know nothing a out SDL-stuff so please forgive my ignorance.)

Title: Re: Unreal Tournament on the TI-Nspire?
Post by: DJ Omnimaga on June 25, 2012, 02:45:24 pm
You might have to ask in the nSDL thread what are the differences or what needs to be modified for them to work. Also there's a similar project for the PRIZM so eventually SDL games might run on the PRIZM as well.
Title: Re: Unreal Tournament on the TI-Nspire?
Post by: Juju on June 25, 2012, 02:48:57 pm
Also there's a similar project for the PRIZM so eventually SDL games might run on the PRIZM as well.
Yeah it was mentioned in the news.