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 3 Guests are viewing this topic.

Adriweb

  • Calculators owned: TI-Nspire CX CAS, TI-Nspire CX, TI-Nspire CAS (x3), TI-Nspire (x2), TI-Nspire CM-C CAS, TI-Nspire CAS+, TI-80, TI-82 Stats.fr, TI-82 Plus, TI-83 Plus, TI-83 Plus.fr USB, TI-84+, TI-84+ Pocket SE, TI-84+ C Silver Edition, TI-84 Plus CE, TI-89 Titanium, TI-86, TI-Voyage 200, TI-Collège Plus, TI-Collège Plus Solaire, 3 HP, some Casios
Co-founder & co-administrator of TI-Planet and Inspired-Lua

catastropher

Thanks! It was really difficult to figure out all the math but it was totally worth it! You can walk through portals now!  :w00t:
  • 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

Dudeman313

  • 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."


catastropher

  • 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

  • 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

Dudeman313

I don't know if I'd be able to use it. My laptop is now schoolwork only- nothing else. I migth still use it while every one's asleep, but until it also runs on Java, Symbian 9.2, or CE calculators, I can't try this out.
  • 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."


catastropher

Quote from: Ivoah on February 19, 2016, 04:38:08 AM
I wonder if it could be ported to the GBA...
Well, if there's a version of gcc/llvm that targets it, then yes. I'd need to take a look at the specs though before I can say how well filled mode would work on it. The engine isn't too optimized yet because there's just so many other things a game engine needs (the project is currently 12.5k lines of C and it's taken me several months to write).

Quote from: Dudeman313 on February 19, 2016, 04:41:57 AM
I don't know if I'd be able to use it. My laptop is now schoolwork only- nothing else. I migth still use it while every one's asleep, but until it also runs on Java, Symbian 9.2, or CE calculators, I can't try this out.
CE calcs may one day be a possibility, but you could always try to make a port for Symbian. Assuming it has a version of SDL it wouldn't be too difficult. Why can you run Java programs but not native executables? Of course, you'd have to build it from source to run it on PC regardless.
  • 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

A CE version would run between 3 to 4 times slower, but I wonder if by reducing the quality (eg no filled polygons or lower bitrate) it could run faster? Also @Cumred_Snektron has been working on 3D stuff for the CE lately but only raymarching so far, not stuff that could be used in game. :P
  • 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

Snektron

The graphics peoduced are nice... The problem is it takes like 20 minutes to render. (Luckily i have 1666% speed mode ;D)
  • Calculators owned: TI-84+
Legends say if you spam more than DJ Omnimaga, you will become a walrus...


Lionel Debroux

#159
Fantastic work indeed :)

I've posted a followup in an old topic on TI-Planet, but clearly, the program deserves much better than that, when it's available :)
Member of the TI-Chess Team.
Co-maintainer of GCC4TI (GCC4TI online documentation), TIEmu and TILP.
Co-admin of TI-Planet.

Dream of Omnimaga

Quote from: Cumred_Snektron on February 19, 2016, 08:03:25 AM
The graphics peoduced are nice... The problem is it takes like 20 minutes to render. (Luckily i have 1666% speed mode ;D)
Yeah to be honest, this is why I think you should maybe concentrate your efforts on faster 3D stuff so that they can be useful to 84+CE programmers :P. Raymarching and raytracing are definitively not something that would be of practical use on a calculator, let alone a TI-84 Plus CE or TI-83 Premium CE. Raycasting, mode-7 (Mario Kart) and 3D polygons, on the other hand...
  • 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 February 19, 2016, 05:05:51 AM
A CE version would run between 3 to 4 times slower, but I wonder if by reducing the quality (eg no filled polygons or lower bitrate) it could run faster?
Well, just in case, I'm going to also support outline mode, which is how the engine rendered before. As even the 68k calcs can render that, it should be runnable on the CE calcs (I hope!)

Quote from: Lionel Debroux on February 19, 2016, 08:18:18 AM
Fantastic work indeed :)

I've posted a followup in an old topic on TI-Planet, but clearly, the program deserves much better than that, when it's available :)
Thank you so much! I remember you emailing me with encouragement last year, back before the engine was really capable of much. It really inspired me to keep going on the project :)
  • 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

Yeah I agree. Small lines aren't all that slow on color calcs. THe main issue is erasing the screen or filling it, which can be slow on some models. I think it would be fine on the CE but only in low bitrate. Also there is now a sub-forum for this project :3=
  • 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 February 24, 2016, 03:53:33 AM
Also there is now a sub-forum for this project :3=
Thank you so much! I'm really excited! :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

Ivoah

  • 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

Powered by EzPortal