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.

p2

nice speed! ^^ MAybe you should zoom back a bit so when rotating the feet are still inside of the pictore (as triangles that are partially outside of the screen aren't displayed) ^^

If you reduced it to half or 1/3 the size (as it ould be needed for games) and also reduced teh quality of the model (noone notices at that resolution) it should run really smooth *-*
  • Calculators owned: ti-83+, ti-84+, ti-84+, ti-84+se, ti-84+se(te), ti-nsphire, ti-nsphire CAS, ti-nsphire CX-CAS, ti-voyage, ti-voyage, Who reads this list anyways...?
Anyway war sucks. Just bring us your food instead of missiles  :P ~ DJ Omnimaga (11.10.2016 20:21:48)
if you cant get a jframe set up, draw stuff to it, and receive input, i can only imagine how horrible your game code is _._   ~ c4ooo (14.11.2016 22:44:07)
If they pull a Harambe on me tell my family I love them ~ u/Pwntear37d (AssangeWatch /r/)
make Walrii great again ~ DJ Omnimaga (28.11.2016 23:01:31)
God invented the pc, satan the smartphone I guess ~ p4nix (16.02.2017 22:51:49)

TheMachine02

#361
Quote from: p2 on October 10, 2016, 04:33:04 PM
Maybe you should zoom back a bit so when rotating the feet are still inside of the pictore (as triangles that are partially outside of the screen aren't displayed) ^^

Yeah that was to show off that culling work at custom resolution  :P
Anyway, a game could be doable even at 320x240, and that what game should aim for, cause halfscreen doesn't look *that* good. But anyway, those are way much bigger model than a game should contains  :D
(1700 polygons is waaaaay too much)


EDIT : some nice debugging screen  :P


Dream of Omnimaga

Lol actually at first I thought it was some sort of shading changing effect XD. It actually looks cool
  • 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

p2

Quote from: TheMachine02 on October 10, 2016, 04:36:22 PM
EDIT : some nice debugging screen  :P

That looks AWESOME!! :D
But I guess that's at full rendering speed...? >.<
It would be really cool if you could make her appear like that and then start doing some fancy fight moves or something like that :thumbsup:
  • Calculators owned: ti-83+, ti-84+, ti-84+, ti-84+se, ti-84+se(te), ti-nsphire, ti-nsphire CAS, ti-nsphire CX-CAS, ti-voyage, ti-voyage, Who reads this list anyways...?
Anyway war sucks. Just bring us your food instead of missiles  :P ~ DJ Omnimaga (11.10.2016 20:21:48)
if you cant get a jframe set up, draw stuff to it, and receive input, i can only imagine how horrible your game code is _._   ~ c4ooo (14.11.2016 22:44:07)
If they pull a Harambe on me tell my family I love them ~ u/Pwntear37d (AssangeWatch /r/)
make Walrii great again ~ DJ Omnimaga (28.11.2016 23:01:31)
God invented the pc, satan the smartphone I guess ~ p4nix (16.02.2017 22:51:49)

TheMachine02

Quote from: p2 on October 19, 2016, 08:31:43 AM
But I guess that's at full rendering speed...? >.<
It would be really cool if you could make her appear like that and then start doing some fancy fight moves or something like that :thumbsup:

Nah it is slowdown by a halt somewhere in the texturing setup, since this model render without halt at more than 2fps  :P
Animation would be a cool addition, altough I am still figuring how to do that proprely  :D

p2

you have to make chewing cows *-* they look great ;D
  • Calculators owned: ti-83+, ti-84+, ti-84+, ti-84+se, ti-84+se(te), ti-nsphire, ti-nsphire CAS, ti-nsphire CX-CAS, ti-voyage, ti-voyage, Who reads this list anyways...?
Anyway war sucks. Just bring us your food instead of missiles  :P ~ DJ Omnimaga (11.10.2016 20:21:48)
if you cant get a jframe set up, draw stuff to it, and receive input, i can only imagine how horrible your game code is _._   ~ c4ooo (14.11.2016 22:44:07)
If they pull a Harambe on me tell my family I love them ~ u/Pwntear37d (AssangeWatch /r/)
make Walrii great again ~ DJ Omnimaga (28.11.2016 23:01:31)
God invented the pc, satan the smartphone I guess ~ p4nix (16.02.2017 22:51:49)

TheMachine02

So several update of the texture code. First it use exx, so don't expect perfect timed interrupts when you use it  :P

Second, it is faster. Like x1.5 to x2 faster :



And third, it support texture up to 255x255 shamelessly :



Of course, 255x255 will be hardly usefull in pratice, but who know  :P (And anyway, it was a consequence of optimization and algorithm making)

Dream of Omnimaga

  • 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

c4ooo

As amazing as it looks, it would nice if you where to provide more practical demos that ran at better FPS ;)

p2

or maybe also stick to one model and create a comparison post to directly see the imrpovements/changes you have made? :) That would be nice :)
  • Calculators owned: ti-83+, ti-84+, ti-84+, ti-84+se, ti-84+se(te), ti-nsphire, ti-nsphire CAS, ti-nsphire CX-CAS, ti-voyage, ti-voyage, Who reads this list anyways...?
Anyway war sucks. Just bring us your food instead of missiles  :P ~ DJ Omnimaga (11.10.2016 20:21:48)
if you cant get a jframe set up, draw stuff to it, and receive input, i can only imagine how horrible your game code is _._   ~ c4ooo (14.11.2016 22:44:07)
If they pull a Harambe on me tell my family I love them ~ u/Pwntear37d (AssangeWatch /r/)
make Walrii great again ~ DJ Omnimaga (28.11.2016 23:01:31)
God invented the pc, satan the smartphone I guess ~ p4nix (16.02.2017 22:51:49)

Dream of Omnimaga

I'm definitively curious about how fast would 16 arwings rotate, in frames per second. And by arwing I mean the SNES ones, for less polygons and no texture.
  • 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

Well, I don't have the original snes model, but by lurking around on the net, I found an average polygon count of ~30 triangles. So, 16 times this model would be less triangle than the high poly (629 tri) chocobo posted earlier in the thread, and would run even faster (so >12 fps) (and with depthsorting). Of course this a bit speculation, but it should be fairly correct.

tr1p1ea

I don't think you are going to need 16 of those on-screen in a game situation though? So the performance might be better in reality.

That being said, if they are too close to the camera it could be a drain :(.

Looks AWESOME btw @TheMachine02 !

TheMachine02

So just wanted to try that one day. Sure it is quite broken (ie, converter broke uv coordinate), no bfc cause broken too, and no cliping, but still cool  :P

[spoiler][/spoiler]

And yeah, a strafox is more than doable. Just need to get on it one day  :P

Dream of Omnimaga

Quote from: tr1p1ea on October 28, 2016, 04:00:19 AM
I don't think you are going to need 16 of those on-screen in a game situation though? So the performance might be better in reality.

That being said, if they are too close to the camera it could be a drain :(.

Looks AWESOME btw @TheMachine02 !
I said 16 in case someone made a Star Fox clone with an Area 6 style stage where there could easily be that many enemies at once on the screen actually
  • 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

Powered by EzPortal