* WalrusIRC

You need to have 5 posts and not be part of restricted usergroups in order to use the WalrusIRC embedded shoutbox. However, you can also access our IRC channel called #CodeWalrus via EFnet.

Author Topic: X3D - A 3D engine for TI68k & Nspire Calculators  (Read 36742 times)

0 Members and 1 Guest are viewing this topic.

Offline TheMachine02

  • Full User
  • Join Date: Dec 2014
  • Location:
  • Posts: 356
  • Post Rating Ratio: +14/-0
Re: X3D - A 3D engine for TI68k Calculators
« Reply #15 on: June 28, 2015, 09:50:55 am »
Next thing you know someone made Assassins Creed Unity for calculators :P

Only the Nspire could do that  :P

Offline Duke "Tape" Eiyeron

  • Urist McEiyolobster
  • Super User
  • Join Date: Nov 2014
  • Location: (V)(-_(//));(V)
  • Posts: 1636
  • Post Rating Ratio: +11/-2
  • Fanciest Walrus of the oceans.
    • @@Eiyeron
    • Eiyeron
    • /u/Eiyeron
    • Eiyeron
    • Rétro-Actif : Rétro/Prog/Blog
  • Gender: Male
Re: X3D - A 3D engine for TI68k Calculators
« Reply #16 on: June 28, 2015, 07:56:34 pm »
ACUnity? i'd prefer Team Fortress 2! :p
  • Calculators owned: A lot.

Offline CKH4

  • Extravagant Sushi
  • Super User
  • Join Date: Jan 2015
  • Location:
  • Posts: 872
  • Post Rating Ratio: +3/-2
  • Gender: Male
Re: X3D - A 3D engine for TI68k Calculators
« Reply #17 on: June 28, 2015, 08:10:46 pm »
I'm sure most people would. It's less resource intensive but the downfall is that it's (pretty much (I think that there's an offline tutorial)) multi only.
  • Calculators owned: TI-83+, TI-84+


Offline Snektron

  • Lvl 69 Russian Snake
  • CodeWalrus Staff
  • Super User
  • Topic Management
  • Join Date: Dec 2014
  • Location: Netherlands
  • Posts: 3165
  • Post Rating Ratio: +32/-0
  • SSSssssss.....
    • RobinDeWalvis
    • Kzyrox
    • RobinDeWalvis
    • quantuminfinity
  • Gender: Male
Re: X3D - A 3D engine for TI68k Calculators
« Reply #18 on: June 28, 2015, 08:20:17 pm »
ACUnity? i'd prefer Team Fortress 2! :p

The point was it was something that uses a lot of system resources :P
  • Calculators owned: TI-84+
Legends say if you spam more than DJ Omnimaga, you will become a walrus...


Offline xlibman

  • Omni founder & CW co-founder
  • Super User
  • Original 5
  • CodeWalrus Supporter
  • *
  • Join Date: Nov 2014
  • Location: Quebec, Canada
  • Posts: 18782
  • Post Rating Ratio: +97/-4
    • dj_omnimaga
    • DJOmnimaga.music
    • @DJOmnimaga
    • dj_omnimaga
    • @DJOmnimaga
    • /u/DJ_Omnimaga
    • DJOmnimaga
    • 112/11286
    • @djomnimaga
    • @DJOmnimaga
    • DJ Omnimaga music store
  • Gender: Male
Re: X3D - A 3D engine for TI68k Calculators
« Reply #19 on: June 29, 2015, 07:45:33 am »
Why not just a spinoff rather than a game port? It could even be 2D and be based on Assassin's Creed and Team Fortress. Of course it could use X3D too. :)
  • Calculators owned: TI-57, 73, TI-80 (broken), TI-81, TI-82, TI-83, TI-83+ (broken), TI-83+ (broken), TI-83+SE (broken), TI-84+, TI-84+CSE, TI-84+CE, TI-85, TI-86, TI-89T, TI-92, TI-Nspire, TI-Nspire CX (semi-broken), HP 39gII, HP Prime, Casio fx-7000G, fx-7400G+, fx-7700GE, fx-9750G+, fx-9750GII, fx-9860G, cfx-9850G, FX-1.0+, fx-CG10, fx-CP400
  • Consoles, mobile devices and vintage computers owned: Samsung i5510, Nexus 5, Atari 2600, Lynx, SMS, Game Gear, Genesis, Dreamcast, NES, SNES, N64, GCN, Wii, Wii U, GBA, DS, 3DS, PS2, PS3, PS4, PSP, PSVita, XBox 360, XBOne

Bandcamp|Reverbnation|Facebook|Youtube|Twitter
Retired Omnimaga admin (2001-11) and editor (2012-14)

Offline catastropher

  • Full User
  • Safe-haven access
  • Join Date: Apr 2015
  • Location: US
  • Posts: 138
  • Post Rating Ratio: +12/-0
    • catastropher
  • Gender: Male
Re: X3D - A 3D engine for TI68k Calculators
« Reply #20 on: June 29, 2015, 02:18:17 pm »
Next thing you know someone made Assassins Creed Unity for calculators :P

Only the Nspire could do that  :P

Challenge accepted  8)

I'm amazed at the speed and the quality of the screenshot you gave us. 3D untextured solid? Collisions? Cinematics? Mazette!

Thanks! :) Just wait, there is much more to come!

Looks good, as before. Keep going :)

Thank you! Also, thank you for writing the optimization tutorial! It will be a great help! :)

I'm sure most people would. It's less resource intensive but the downfall is that it's (pretty much (I think that there's an offline tutorial)) multi only.

While I don't think X3D could handle anything that complex, it will certainly have multiplayer support. The idea is that both calcs have synced random number generators, so the only data that needs to be sent back and forth is which keys each player is pressing. That way, both calculators are actually running separate copies of the game and the data sent back and forth is minimized :)

Whoa, awesome! So how good does this compete against glib for example?

You should note that the screen is a 68K screen  :P  It hasn't been writed for z80 yet.

Also, I did try that few year ago on z80, it worked, (1 portal bring down the whole scene to about 9 fps) but the main issue that I encounter is that the cliping is a very expensive method to use on z80 (that is, no div or mul command), and should be evited. But it is still definitly doable.


Yeah Z80 support will be much harder to achieve, but X3D is very aggressive with culling things that aren't visible. First though I have to get the engine rewrite working for the 68k calcs!

Why not just a spinoff rather than a game port? It could even be 2D and be based on Assassin's Creed and Team Fortress. Of course it could use X3D too. :)

My hope for X3D is that it could be used to both "port" other games and be used to create new games. I had posted this list of planned features on Omnimaga, but no one really took notice there so I'll post it here as well :)
  • It's now a library so anyone can use it in their code!
  • Cross platform (currently builds for TIGCC/GCC4TI and GCC)
  • Levels constructed of convex interconnected prisms instead of cubes (so you could have e.g. an octagonal prism tunnel)
  • Three different types of portals - these will allow a portal gun and so many other neat features (will discuss later)
  • Vector graphics for textures i.e. line art (like the holo switch) drawn on walls
  • Moving objects (like e.g. robots in Descent)
  • Materials that can be attached to a face e.g. glass, which mean it's breakable
  • Doors
  • A simple scripting language?
  • Moving platforms
  • A simple physics engine for collision detection
  • Weapons
As always, thank you everyone! You're all giving me a lot more motivation to work on it! :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

Offline xlibman

  • Omni founder & CW co-founder
  • Super User
  • Original 5
  • CodeWalrus Supporter
  • *
  • Join Date: Nov 2014
  • Location: Quebec, Canada
  • Posts: 18782
  • Post Rating Ratio: +97/-4
    • dj_omnimaga
    • DJOmnimaga.music
    • @DJOmnimaga
    • dj_omnimaga
    • @DJOmnimaga
    • /u/DJ_Omnimaga
    • DJOmnimaga
    • 112/11286
    • @djomnimaga
    • @DJOmnimaga
    • DJ Omnimaga music store
  • Gender: Male
Re: X3D - A 3D engine for TI68k Calculators
« Reply #21 on: June 29, 2015, 03:22:02 pm »
Ooh nice to see it's a lib. Also it's good that it supports both TIGCC and GCC4TI since TIGCC hasn't been updated since 2009.

As for Portal, assuming you mean like the game, I wonder if it will lag much when seeing through portals, especially 9 iterations of them?


Keep up the good work :)
  • Calculators owned: TI-57, 73, TI-80 (broken), TI-81, TI-82, TI-83, TI-83+ (broken), TI-83+ (broken), TI-83+SE (broken), TI-84+, TI-84+CSE, TI-84+CE, TI-85, TI-86, TI-89T, TI-92, TI-Nspire, TI-Nspire CX (semi-broken), HP 39gII, HP Prime, Casio fx-7000G, fx-7400G+, fx-7700GE, fx-9750G+, fx-9750GII, fx-9860G, cfx-9850G, FX-1.0+, fx-CG10, fx-CP400
  • Consoles, mobile devices and vintage computers owned: Samsung i5510, Nexus 5, Atari 2600, Lynx, SMS, Game Gear, Genesis, Dreamcast, NES, SNES, N64, GCN, Wii, Wii U, GBA, DS, 3DS, PS2, PS3, PS4, PSP, PSVita, XBox 360, XBOne

Bandcamp|Reverbnation|Facebook|Youtube|Twitter
Retired Omnimaga admin (2001-11) and editor (2012-14)

Offline catastropher

  • Full User
  • Safe-haven access
  • Join Date: Apr 2015
  • Location: US
  • Posts: 138
  • Post Rating Ratio: +12/-0
    • catastropher
  • Gender: Male
Re: X3D - A 3D engine for TI68k Calculators
« Reply #22 on: June 29, 2015, 03:45:53 pm »
Well, though I hope to one day support a system to make a game of Portal, "portal rendering" refers to a rendering technique to allow efficient clipping and determination of what geometry is visible. In the old version of X3D, levels were made of connected cubes that share a face. This shared face is a "portal" from one cube into the other (which is a like a portal in the game "Portal"). So, to answer your question, the old version of X3D ran at about 15-20 fps with 10 portals visible, as can be seen in this walk-through (though there were a few glitches):

(click to show/hide)

In the new version, I'm hoping to get this even faster :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

Offline Snektron

  • Lvl 69 Russian Snake
  • CodeWalrus Staff
  • Super User
  • Topic Management
  • Join Date: Dec 2014
  • Location: Netherlands
  • Posts: 3165
  • Post Rating Ratio: +32/-0
  • SSSssssss.....
    • RobinDeWalvis
    • Kzyrox
    • RobinDeWalvis
    • quantuminfinity
  • Gender: Male
Re: X3D - A 3D engine for TI68k Calculators
« Reply #23 on: June 29, 2015, 06:09:50 pm »
that looks awesome :O
  • Calculators owned: TI-84+
Legends say if you spam more than DJ Omnimaga, you will become a walrus...


Offline Duke "Tape" Eiyeron

  • Urist McEiyolobster
  • Super User
  • Join Date: Nov 2014
  • Location: (V)(-_(//));(V)
  • Posts: 1636
  • Post Rating Ratio: +11/-2
  • Fanciest Walrus of the oceans.
    • @@Eiyeron
    • Eiyeron
    • /u/Eiyeron
    • Eiyeron
    • Rétro-Actif : Rétro/Prog/Blog
  • Gender: Male
Re: X3D - A 3D engine for TI68k Calculators
« Reply #24 on: June 29, 2015, 06:36:33 pm »
Now I know what kind of game it made me think : Antichamber, because the whole "all white, outlines in black". Obviously it lacks color for the gun/cubes/props.
  • Calculators owned: A lot.

Offline Snektron

  • Lvl 69 Russian Snake
  • CodeWalrus Staff
  • Super User
  • Topic Management
  • Join Date: Dec 2014
  • Location: Netherlands
  • Posts: 3165
  • Post Rating Ratio: +32/-0
  • SSSssssss.....
    • RobinDeWalvis
    • Kzyrox
    • RobinDeWalvis
    • quantuminfinity
  • Gender: Male
Re: X3D - A 3D engine for TI68k Calculators
« Reply #25 on: June 29, 2015, 07:29:15 pm »
Yeah i thought of that too. it would be awesome if you could make Antichamber in it, thohgh it probably uses a lot of FBO's and Shaders
  • Calculators owned: TI-84+
Legends say if you spam more than DJ Omnimaga, you will become a walrus...


Offline utz

  • Full User
  • Join Date: Jun 2015
  • Location: Absurdistan
  • Posts: 150
  • Post Rating Ratio: +11/-0
  • 01000101110
    • utz82
    • utz's hp
  • WalriiPoints: 50
Re: X3D - A 3D engine for TI68k Calculators
« Reply #26 on: June 29, 2015, 08:00:38 pm »
Wow, this is slick! I'll give it a whirl on my newly obtained TI-92+ when I find some free time. Also, glad to see that the rumours about the 68k scene dying out aren't quite true ;)
  • Calculators owned: TI-82, TI-83, TI-83+, TI-85, TI-86, TI-92+, Sharp PC-1403

Offline catastropher

  • Full User
  • Safe-haven access
  • Join Date: Apr 2015
  • Location: US
  • Posts: 138
  • Post Rating Ratio: +12/-0
    • catastropher
  • Gender: Male
Re: X3D - A 3D engine for TI68k Calculators
« Reply #27 on: July 03, 2015, 01:20:08 am »
Wow, this is slick! I'll give it a whirl on my newly obtained TI-92+ when I find some free time. Also, glad to see that the rumours about the 68k scene dying out aren't quite true ;)
Hey thanks! The only thing is that that version of X3D was an old version from April. I probably could find a build of it if you wanted to give it a whirl though! :D I'm hoping to get something working for the rewrite soon though, so stay tuned!
  • 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

Offline alexgt

  • Just your friendly neighborhood Ninja Stach Fancy Iron Man
  • Super User
  • Join Date: Dec 2014
  • Location: Behind you
  • Posts: 2611
  • Post Rating Ratio: +6/-1
  • Something should go here...
    • /u/alexgt9123
  • Gender: Male
Re: X3D - A 3D engine for TI68k Calculators
« Reply #28 on: July 03, 2015, 01:33:58 am »
This looks amazing O.O
  • Calculators owned: Ti-84+, Ti-Nspire, Hp Prime, Broken HP Prime, HP 48SX

Offline Unicorn

  • ??? ??? ??? ??? ???
  • Super User
  • CW Contest II - 2nd place
  • *
  • Join Date: Jan 2015
  • Location: ??? ??? ??? ??? ???
  • Posts: 2823
  • Post Rating Ratio: +5/-2
  • make :PICKACHUP: a thing!
    • Unicorn808
    • 114/11432
    • ??? ??? ??? ??? ???
  • Gender: Male
Re: X3D - A 3D engine for TI68k Calculators
« Reply #29 on: July 03, 2015, 02:41:12 am »
This looks amazing O.O

Ya think?

Isn't the z80 series faster though? I'm suprissed that this can run on the 68k calcs O.O
  • Calculators owned: I own all of them: PICKACHUP TI 84+ CSE TI 83+ SE TI something something ??? ??? ??? ??? ???
  • Consoles, mobile devices and vintage computers owned: PICKACHUP ??? ??? ??? ??? ???



??? ??? ??? ??? ???

 


You can also use the following HTML or bulletin board code to share it on your page or forum signature!


Also do not forget to check our affiliates below.
Planet Casio TI-Planet Calc.news BroniesQC BosaikNet Velocity Games