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 2 Guests are viewing this topic.

Snektron

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


TheMachine02

Mmmmhh  don't know. Speed could improve by only rendering these dot, but it still need to find a way to know wich dot to render. As vertex normal can't really be used for this (as it lead to strange/bad result), giving point face appartenance followed by a dot with face normal/camera could work, but it is pretty much heavy (and I'll need to add normal to my converter, as well as face, and I am lazy to do it  :P maybe yelling at me "gLib" could works but blah. Weather is too hot here to think XD)

Snektron

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


DJ Omnimaga

It's only 18°C today :P

Good luck TheMachine02

alexgt

Whoa that deer looks awesome O.O did you program that or did you use a data file?

Snektron

Maybe he generated a piece of code. That's what i did with my rickroll thing
Legends say if you spam more than DJ Omnimaga, you will become a walrus...


TheMachine02

I converted a obj file of a low ploy deer model found on the net (free of use of course), to a gLib friendly format and render it. So data file  :P

DarkestEx

Quote from: TheMachine02 on June 05, 2015, 07:42:06 am
Most likely, indeed. Line are much more slower compared to dot. Backface will help a little, but problem is line redraw between face (~230 faces)

EDIT : new model! A deer, with 832 vertices, at ~1.5fps

EDIT2 : fixed broken screen.

Wooha, awesome  O.O

alexgt

Quote from: TheMachine02 on June 07, 2015, 09:12:20 am
I converted a obj file of a low ploy deer model found on the net (free of use of course), to a gLib friendly format and render it. So data file  :P

Awesome!! I really want to get into 3D stuff especially with the HP Prime but I have to learn Java over the summer because that is the language that we will use in the robotics club at school.

Snektron

You might want to look at LWJGL. (also f you wan't my engine containing basi classes for the window and stuff just say so ;))
Legends say if you spam more than DJ Omnimaga, you will become a walrus...


alexgt

Awesome! I will most definitely use this over the summer :)

TheMachine02

Yeah LWJGL is pretty much one of the best java openGl API. Even minecraft use it ... but badly  :P
That being said, still in optimisation, so vertex transform (projection+rotation) is about ~3300 TStates (about 30% faster than version 3.0.00) , wich is fairly good, now I am in the cache code, where most improvement will bee (about 35% faster forclipping setup, vertex fetch/cache)

Also, the game I am doing with this is paused, so don't expect it coming next week (that is, filling issue). But I'll definitly post a thread about it when I'll have a demo.

Snektron

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


TheMachine02


alexgt


Powered by EzPortal