The shoutbox is currently out of service. Join us on Discord instead.

[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 1 Guest are viewing this topic.

DJ 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?

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).

DJ 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.

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.


alexgt

Awesome to see work being done on this again and that model looks amazing ;)

DJ Omnimaga

Wow, very great! Maybe less complex models will run at great speed in games? :)

TheMachine02

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

DJ Omnimaga

That reminds me, would connecting each dot or at least the outer ones slow things down too much?

Snektron

Legends say if you spam more than DJ Omnimaga, you will become a walrus...


Streetwalrus

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?

Streetwalrus

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