Join us on Discord!
You can help CodeWalrus stay online by donating here.

X3D - A 3D engine for TI68k & Nspire Calculators

Started by catastropher, June 27, 2015, 02:37:43 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

ben_g

Quote from: Dudeman313 on March 23, 2016, 09:49:23 AM
...
Well, if plain 3D is slow on the CE( @Cumred_Snektron 's project), wouldn't textures be even slower?
Do you mean the raymarcher? Raymarching is a very heavy way to do 3D rendering, and it's even quite slow on computers. Standard polygon graphics with textures should be a lot faster.

Dudeman313

Yes, I meant the raymarcher. I did not know that.
A raycaster with textures would be cool, though...
  • Calculators owned: TI-84 PCE
  • Consoles, mobile devices and vintage computers owned: Android O Phone
Does this qualify as a signature? 
The answer is "Sure."


Lionel Debroux

The TI-68k series has at least the FAT-Engine raycaster with textures, by TICT :)
I basically didn't touch that code base myself, unlike most other TICT code bases.
Member of the TI-Chess Team.
Co-maintainer of GCC4TI (GCC4TI online documentation), TIEmu and TILP.
Co-admin of TI-Planet.

Snektron

That looks pretty sweet! :o

Quote from: ben_g on March 23, 2016, 10:52:58 AM
Quote from: Dudeman313 on March 23, 2016, 09:49:23 AM
...
Well, if plain 3D is slow on the CE( @Cumred_Snektron 's project), wouldn't textures be even slower?
Do you mean the raymarcher? Raymarching is a very heavy way to do 3D rendering, and it's even quite slow on computers. Standard polygon graphics with textures should be a lot faster.
yes, but i too wonder how fast a 3D rasterizer works on a CE. I should try it some time...
  • Calculators owned: TI-84+
Legends say if you spam more than DJ Omnimaga, you will become a walrus...


Dream of Omnimaga

Quote from: Lionel Debroux on March 23, 2016, 01:14:53 PM
The TI-68k series has at least the FAT-Engine raycaster with textures, by TICT :)
I basically didn't touch that code base myself, unlike most other TICT code bases.
That reminds me, Gemini 3D on the CE would rule. I bet it could run very fast even in full-screen. Maybe it could be remade to use X3D engine?
  • Calculators owned: TI-82 Advanced Edition Python TI-84+ TI-84+CSE TI-84+CE TI-84+CEP TI-86 TI-89T cfx-9940GT fx-7400G+ fx 1.0+ fx-9750G+ fx-9860G fx-CG10 HP 49g+ HP 39g+ HP 39gs (bricked) HP 39gII HP Prime G1 HP Prime G2 Sharp EL-9600C
  • Consoles, mobile devices and vintage computers owned: Huawei P30 Lite, Moto G 5G, Nintendo 64 (broken), Playstation, Wii U

tr1p1ea


Dream of Omnimaga

That is cool tr1p1ea. I really meant an actual graphical remake, though, as in, 320x240 resolution, perhaps in 4 bits mode, and full-screen with either updated or colored textures. :P That said, that is nice. I guess what helped Gemini is that it was originally a 6 MHz game, so even on the CSE it will run faster at that resolution. I definitively think that X3D will have speed issues on that calc, though, so perhaps focus would have to be on the CE.
  • Calculators owned: TI-82 Advanced Edition Python TI-84+ TI-84+CSE TI-84+CE TI-84+CEP TI-86 TI-89T cfx-9940GT fx-7400G+ fx 1.0+ fx-9750G+ fx-9860G fx-CG10 HP 49g+ HP 39g+ HP 39gs (bricked) HP 39gII HP Prime G1 HP Prime G2 Sharp EL-9600C
  • Consoles, mobile devices and vintage computers owned: Huawei P30 Lite, Moto G 5G, Nintendo 64 (broken), Playstation, Wii U

catastropher

Hi guys, sorry I've been away for so long (I am indeed still alive! haha) I have made much progress since I last posted. X3D has received numerous technical upgrades, including the ability to add textures to walls (and be properly clipped!)

For anyone who's interested in a bit of eye-candy (hopefully it'll look a bit familiar):

[spoiler][/spoiler]
  • Calculators owned: TI-83+, TI-83+ SE, TI-84+ SE, TI-Nspire CX, TI-92+, TI-89 Titanium
Creator of X3D, a 3D portal rendering game engine for Nspire, 68k, and PC

Ivoah

Quote from: catastropher on April 19, 2016, 01:54:54 AM
Hi guys, sorry I've been away for so long (I am indeed still alive! haha) I have made much progress since I last posted. X3D has received numerous technical upgrades, including the ability to add textures to walls (and be properly clipped!)

For anyone who's interested in a bit of eye-candy (hopefully it'll look a bit familiar):

[spoiler][/spoiler]
Looking great! I love the cube :D
  • Calculators owned: TI-86 (now broken), TI SR-56, TI-Nspire CX CAS, TI-84+ SE, TI-84+ SE, TI-85, TI-73 Explorer VS, ViewScreen, TI-84+ CSE, TI-83+ SE

catastropher

Quote from: Ivoah on April 19, 2016, 01:56:49 AM
Looking great! I love the cube :D
Thanks! I feel like I'm actually make some good progress... nPortal is really going to happen! :D
  • Calculators owned: TI-83+, TI-83+ SE, TI-84+ SE, TI-Nspire CX, TI-92+, TI-89 Titanium
Creator of X3D, a 3D portal rendering game engine for Nspire, 68k, and PC

Dream of Omnimaga

You managed 640x480 resolution on a TI-Nspire? O.O

Just kidding, this is looking better and better. Glad to see you still around :) (I was hoping things were going ok)
  • Calculators owned: TI-82 Advanced Edition Python TI-84+ TI-84+CSE TI-84+CE TI-84+CEP TI-86 TI-89T cfx-9940GT fx-7400G+ fx 1.0+ fx-9750G+ fx-9860G fx-CG10 HP 49g+ HP 39g+ HP 39gs (bricked) HP 39gII HP Prime G1 HP Prime G2 Sharp EL-9600C
  • Consoles, mobile devices and vintage computers owned: Huawei P30 Lite, Moto G 5G, Nintendo 64 (broken), Playstation, Wii U

catastropher

Quote from: DJ Omnimaga on April 19, 2016, 02:09:16 AM
You managed 640x480 resolution on a TI-Nspire? O.O
Haha well you see what I actually did is have the Nspire render the same scene 4 times with the camera in different positions. Then, I stitched them together to create the huge image! jk Though it does render on the Nspire (though not very fast because I haven't optimized it yet).

Quote from: DJ Omnimaga on April 19, 2016, 02:09:16 AM
Just kidding, this is looking better and better. Glad to see you still around :) (I was hoping things were going ok)
Thanks! People at my school still look at me like I'm crazy when I say I'm implementing Portal for the calculator... heck, I am a bit crazy aren't I? haha I actually took a break for like two weeks and then got really bored and went back to working on it :P
  • Calculators owned: TI-83+, TI-83+ SE, TI-84+ SE, TI-Nspire CX, TI-92+, TI-89 Titanium
Creator of X3D, a 3D portal rendering game engine for Nspire, 68k, and PC

Dream of Omnimaga

Lol, imagine if Nspire C had linking capabilities and someone made a game that had a quadruple screen mode that allowed one to use 4 TI-Nspires as one large screen. It would be akward XD

And yeah some people think that calculators can still only display graphs or that it's pointless to port a game to a $150 machine that is way inferior to smartphones. Well... here's the thing: It's an old-school machine (to a certain extent) and there are still people who program games for the $300 Commodore 64 :P (although people in Europe are lucky since PAL C64 are like $30). I still like pushing such machines or languages that they support to their limits. :) (and I'm 100% sure that April Fools joke on the front page would be feasible at half the speed the fake Wolfeinstein 3D screenshot runs at)
  • Calculators owned: TI-82 Advanced Edition Python TI-84+ TI-84+CSE TI-84+CE TI-84+CEP TI-86 TI-89T cfx-9940GT fx-7400G+ fx 1.0+ fx-9750G+ fx-9860G fx-CG10 HP 49g+ HP 39g+ HP 39gs (bricked) HP 39gII HP Prime G1 HP Prime G2 Sharp EL-9600C
  • Consoles, mobile devices and vintage computers owned: Huawei P30 Lite, Moto G 5G, Nintendo 64 (broken), Playstation, Wii U

Vogtinator

QuoteFor anyone who's interested in a bit of eye-candy (hopefully it'll look a bit familiar):
That looks great! Now add shadows and ambient occlusion to make it look even better :P

QuoteLol, imagine if Nspire C had linking capabilities
It has: https://hackspire.unsads.com/index.php/Syscalls#NavNet

Quoteand someone made a game that had a quadruple screen mode that allowed one to use 4 TI-Nspires as one large screen. It would be akward XD
*awesome!
  • Calculators owned: TI-Nspie CX CAS, Casio FX-85ES

catastropher

Quote from: Vogtinator on April 19, 2016, 04:24:58 AM
That looks great! Now add shadows and ambient occlusion to make it look even better :P
haha While I can't do either of those things, I have figured out a way to do gouraud shading with textures at a very low cost... hopefully I'll add that in once I get it fast enough! :D
  • Calculators owned: TI-83+, TI-83+ SE, TI-84+ SE, TI-Nspire CX, TI-92+, TI-89 Titanium
Creator of X3D, a 3D portal rendering game engine for Nspire, 68k, and PC

Powered by EzPortal