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.

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 *-*
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

October 10, 2016, 04:36:22 pm #361 Last Edit: October 10, 2016, 04:49:44 pm by TheMachine02
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


DJ Omnimaga

Lol actually at first I thought it was some sort of shading changing effect XD. It actually looks cool

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

DJ Omnimaga


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

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

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: ShowHide


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

DJ 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

Powered by EzPortal