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

[gLib][3d][z80][ez80] gLib a fast 3D asm/axiom library

Started by TheMachine02, January 19, 2015, 05:10:01 PM

Previous topic - Next topic

0 Members and 4 Guests are viewing this topic.

Dream of Omnimaga

Awesome TheMachine02. What I would like to see (and I bet many other people as well) is a demo showcasing something more complex than a cube, though, such as Mario face (even if wireframe) and maybe even a small 3D map where you are in a room :)

I also wonder how fast it could render :walrii: or other sprites?
  • 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

TheMachine02

Yes, I know I need a demo. Not sure what it will be, but I guess it will be more complex than a cube (plus I am tired of cube speed testing  :P)

Quote from: DJ Omnimaga on August 10, 2015, 04:12:59 AM
I also wonder how fast it could render :walrii: or other sprites?

Depends the way it is render. Billboard sprite is quite fast, as ben_g show, but a textured quad/tri is like super slow. (And I didn't converted my code to asm yet).

Dream of Omnimaga

Yeah the issue is that there are like 300 cubes demos on ticalc.org, some even in BASIC. :P

And I see. SPrites would be nice.
  • 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

TheMachine02

A new little model (1017 vertices) pushing the calculator to the last limit (at 6MHz at least)
The whole thing is running as about ~1.8 fps with point clipping going around.


CKH4

Wow that is very impressive. I can't wait to see the new version.
  • Calculators owned: TI-83+, TI-84+


alexgt

Awesome to see work being done on this again and that model looks amazing ;)
  • Calculators owned: Ti-84+, Ti-Nspire, Hp Prime, Broken HP Prime, HP 48SX

Dream of Omnimaga

Wow, very great! Maybe less complex models will run at great speed in games? :)
  • 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

TheMachine02

Yes indeed. Those little test has as objective to see how many vertices can be transformed at real time.  :P

Dream of Omnimaga

That reminds me, would connecting each dot or at least the outer ones slow things down too much?
  • 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

  • Calculators owned: TI-84+
Legends say if you spam more than DJ Omnimaga, you will become a walrus...


novenary

Quote from: Cumred_Snektron on September 06, 2015, 08:57:01 PM
Great job :3 now someone port unreal to calculators :P
Yes, then we can run Borderlands 2 on the go.

tr1p1ea

Is there any reason why this only runs at 6MHz? I take it you might only own a 6MHz capable calc?

It would be worth enabling 15MHz if you distribute since others might want to make use of the extra speed.

Very impressive model btw, I was wondering if you had any plans to connect the vertices in any way?

novenary

Quote from: tr1p1ea on September 06, 2015, 09:41:43 PM
Is there any reason why this only runs at 6MHz? I take it you might only own a 6MHz capable calc?

It would be worth enabling 15MHz if you distribute since others might want to make use of the extra speed.
I think this is for the optimization challenge. :)

c4ooo

A z80 based gpu would be very cool, and I wonder how hard it would be. I have a z80 sitting around somewhere, but i dont think i have the skill to do something like this :P

ben_g

Quote from: tr1p1ea on September 06, 2015, 09:41:43 PM
...
It would be worth enabling 15MHz if you distribute since others might want to make use of the extra speed.
...
Since this is an axiom, users can easily enable 15MHz mode on supported calcs using the 'Full' instruction. I don't think a library should force a certain CPU speed, and even while the great majority of z80 calcs sold right now is 15MHz, screenshots running at 6MHz show things that can be achieved on all the 38+ series calcs.

Powered by EzPortal