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

tr1p1ea


Dream of Omnimaga

I guess that since the author wants his lib to run at decent speed on 6 MHz models, that might explain why his screenshots are all at 6 MHz. As long as he doesn't force 6 MHz mode on 15 MHz calcs then it's fine.
  • 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. As ben_g said, it is up to the user to set or not 15MHz speed. My library doesn't touch the settings. And yes, I want to be somewhat useable at 6MHz, (and 6MHz speedy screenshot are cooler  :P ). That is why I always use 6MHz as a reference.

EDIT : for connecting dot, well I have to see. I might be able to put normal along point, so I can grab line normal easily, providing a basic culling,  and render it with line connected. It is work on the converter and on the axe program side . But it will definitly slower. ( a dot product is far slower than a pxl-on).

Dream of Omnimaga

I see. Good luck. By the way, any estimate about when a small demo of a non-cube program might come out? :P
  • 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


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

TheMachine02

So .... it been pretty much a long time since I've posted here. gLib is out in alpha. Yup you can play with it now.  :P I though I had putted the alpha download some times ago, but apparently not, I am sorry.
The beta is on the way, I am currently fixing stuff, optimizing all I can, and re-adding shaders, cause they are funny to play with  :D I still also need to find a way to efficiently process polygon, as well as there cliping. Shouldn't be too hard though. Finishing the tuto is also on my to-do list.
You can download everything in the tuto thread :

https://codewalr.us/index.php?topic=692.msg21406#msg21406

alexgt

  • Calculators owned: Ti-84+, Ti-Nspire, Hp Prime, Broken HP Prime, HP 48SX

Dream of Omnimaga

Wow I just discovered an alpha was released. Great O.O I'll check it out later to mess around with it. Did you find more time to work on it since that update, by the way?

You should add screenshots to the first post @TheMachine02 , because some people who don't have time to give gLib a try might still want to see how it looks like in its current state before commenting. :)
  • 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

I had some time to work on it, altough I didn't progress much, I am currently reworking the project code as well as cliping code. For screenshot, I just need to create fancy stuff  :P

Dream of Omnimaga

Would a small-ish map be fast enough for this version?
  • 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


Dream of Omnimaga

Wow I was kinda sure this was dead, since there hasn't been any progress in months. I'm glad it's still alive. This looks nice, by the way. :) How many dots does this have?
  • 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

There is 1171 vertices rotated in real-time. ez80 is quite powerfull.  :P

Dream of Omnimaga

Darn, that's a lot. If you add polygons and polygon sorting then you might want to reduce the amount of vertices, though O.O. Tr1p1ea posted a 3D :walrii: in his solidFRAME CE topic by the way :)
  • 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