• Glib : a 3D graphics axe library 5 1
Currently:  

Author Topic: Glib : a 3D graphics axe library  (Read 90041 times)

0 Members and 2 Guests are viewing this topic.

Offline ben_g

  • Hey cool I can set a custom title now :)
  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1002
  • Rating: +125/-4
  • Asm noob
    • View Profile
    • Our programmer's team: GameCommandoSquad
Re: Glib : a 3D graphics axe library
« Reply #360 on: June 09, 2014, 05:26:16 pm »
So, as you may have guessed it already from the above screenshot, I'm working on a collision detection library. It is mainly meant to be used with GLib, and I hope that it will make calculator-3D programming more user-friendly, especially for programmers with few or no experience with 3D programming.
It's not ready to be used for a game yet, as it only supports a few basic things. The basic engine is already working though, which makes it easy for me to add more into the engine.
I mainly want to say this so that double work can be avoided. Further updates when the engine will be almost game-ready will be posted in a different thread, since this is not an official part of GLib, to avoid highjacking this one.

Anyway, have a screenshot:
My projects
 - The Lost Survivors (Unreal Engine) ACTIVE [GameCommandoSquad main project]
 - Oxo, with single-calc multiplayer and AI (axe) RELEASED (screenshot) (topic)
 - An android version of oxo (java)  ACTIVE
 - A 3D collision detection library (axe) RELEASED! (topic)(screenshot)(more recent screenshot)(screenshot of it being used in a tilemapper)
Spoiler For inactive:
- A first person shooter with a polygon-based 3d engine. (z80, will probably be recoded in axe using GLib) ON HOLD (screenshot)
 - A java MORPG. (pc) DEEP COMA(read more)(screenshot)
 - a minecraft game in axe DEAD (source code available)
 - a 3D racing game (axe) ON HOLD (outdated screenshot of asm version)

This signature was last updated on 20/04/2015 and may be outdated

Offline Matrefeytontias

  • Axe roxxor (kinda)
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1982
  • Rating: +310/-12
  • Axe roxxor
    • View Profile
    • RMV Pixel Engineers
Re: Glib : a 3D graphics axe library
« Reply #361 on: June 09, 2014, 05:33:44 pm »
Wow nice O.O and that looks smooth too !

Offline Streetwalrus

  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3821
  • Rating: +80/-8
    • View Profile
Re: Glib : a 3D graphics axe library
« Reply #362 on: June 09, 2014, 06:00:53 pm »
Indeed, it looks pretty great ! :D

Offline bb010g

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 428
  • Rating: +22/-1
  • I do stuff
    • View Profile
    • elsewhere on the net
Re: Glib : a 3D graphics axe library
« Reply #363 on: June 09, 2014, 10:03:32 pm »
So...DOOM? :P
Arch Linux user
Haskell newbie | Warming up to Lua | Being dragged into C++
Calculators: HP 50g, HP 35s, Casio Prizm, TI-Nspire CX CAS, HP 28s, HP Prime, Mathematica 9 (if that counts)
π: 3.14...; l: 108; i: 105; e: 101; l+i+e: 314
THE CAKE IS A LIE IS A PIE

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Glib : a 3D graphics axe library
« Reply #364 on: June 09, 2014, 10:08:57 pm »
This reminds me a bit Benryves engine, but slower (most likely since it's in Axe). It looks really nice and seems like it could be used in-game, though. :)

Offline tr1p1ea

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 647
  • Rating: +110/-0
    • View Profile
Re: Glib : a 3D graphics axe library
« Reply #365 on: June 09, 2014, 11:08:14 pm »
Wow looks great!

How big can the worlds be?
"My world is Black & White. But if I blink fast enough, I see it in Grayscale."


Offline Hayleia

  • Programming Absol
  • Coder Of Tomorrow
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3367
  • Rating: +393/-7
    • View Profile
Re: Glib : a 3D graphics axe library
« Reply #366 on: June 10, 2014, 12:44:36 am »
Ideed, it looks great :D
I especially like the elevator. effect.

So...DOOM? :P
There are already a few Doom clones available. Plus, they "only" need a raycaster, not a full 3D engine.
I own: 83+ ; 84+SE ; 76.fr ; CX CAS ; Prizm ; 84+CSE
Sorry if I answer with something that seems unrelated, English is not my primary language and I might not have understood well. Sorry if I make English mistakes too.

click here to know where you got your last +1s

Offline TheMachine02

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 452
  • Rating: +105/-0
  • me = EF99+F41A
    • View Profile
Re: Glib : a 3D graphics axe library
« Reply #367 on: June 10, 2014, 04:38:15 am »
Yay collision  :D !
Actually, it was one of the only thing that I haven't succed to put in place. So, yeah, having a lib who can do this is super great  :P

How big can the worlds be?

I do think that world is mostly limited by GLib, so a cube of [-128,+128]
AXE/asm programmer - unleash the power of z80 //C++//C

epic 3D things http://www.ntu.edu.sg/home/ehchua/programming/opengl/CG_BasicsTheory.html

Offline ben_g

  • Hey cool I can set a custom title now :)
  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1002
  • Rating: +125/-4
  • Asm noob
    • View Profile
    • Our programmer's team: GameCommandoSquad
Re: Glib : a 3D graphics axe library
« Reply #368 on: June 10, 2014, 04:51:37 am »
It's indeed in a cube of [-128,128], both because of GLib and because I decided to use 8bit numbers for the worldborder values. If I get rid of the world border, it could handle a much larger area, but when you have to deal with a large area, you're better of dividing it into multiple sectors, since too many objects will slow it down (for every object that has collision detection, it has to loop trough all solid objects (like walls or the pillar in the screenshot) to apply the collision detection to it.
My projects
 - The Lost Survivors (Unreal Engine) ACTIVE [GameCommandoSquad main project]
 - Oxo, with single-calc multiplayer and AI (axe) RELEASED (screenshot) (topic)
 - An android version of oxo (java)  ACTIVE
 - A 3D collision detection library (axe) RELEASED! (topic)(screenshot)(more recent screenshot)(screenshot of it being used in a tilemapper)
Spoiler For inactive:
- A first person shooter with a polygon-based 3d engine. (z80, will probably be recoded in axe using GLib) ON HOLD (screenshot)
 - A java MORPG. (pc) DEEP COMA(read more)(screenshot)
 - a minecraft game in axe DEAD (source code available)
 - a 3D racing game (axe) ON HOLD (outdated screenshot of asm version)

This signature was last updated on 20/04/2015 and may be outdated

Offline TheMachine02

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 452
  • Rating: +105/-0
  • me = EF99+F41A
    • View Profile
Re: Glib : a 3D graphics axe library
« Reply #369 on: September 26, 2014, 09:29:21 am »
Sooooooo it is quite a long time that I've haven't post anything,but don't worry I am not leaving calc community  :P ; it is just that I've been really busy this last few week (and it will be all the year like this  x.x )

However, I still work on this project as you might see on the next screen :  >:D



yay !
something big is also coming, but I won't tell you more  :P
AXE/asm programmer - unleash the power of z80 //C++//C

epic 3D things http://www.ntu.edu.sg/home/ehchua/programming/opengl/CG_BasicsTheory.html

Offline pimathbrainiac

  • Occasionally I make projects
  • Members
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1731
  • Rating: +136/-23
  • dagaem
    • View Profile
Re: Glib : a 3D graphics axe library
« Reply #370 on: September 26, 2014, 09:53:53 am »
YAY Lighting!
I am Bach.

Offline ben_g

  • Hey cool I can set a custom title now :)
  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1002
  • Rating: +125/-4
  • Asm noob
    • View Profile
    • Our programmer's team: GameCommandoSquad
Re: Glib : a 3D graphics axe library
« Reply #371 on: September 26, 2014, 10:44:09 am »
- Sooooooo it is quite a long time that I've haven't post anything,but don't worry I am not leaving calc community  :P
 -

 - something big is also coming, but I won't tell you more  :P
- That's good to hear. I was thinking about not having heared about you for a while yesterday.
 - Is that per-pixel lighting you're showing there? Or high-res textures/textures with dither patterns? It's kinda hard to see, and it seems to be a bit broken on my computer, as some parts appear as white (not calculator green white, but real white) and shades of grey. Anyway, it looks cool, good work.
 - Does it start with an A? I think I know what it is :P

BTW: Are billboards planned? If not, then I'll probably try to 'mod' them in after that 'something big'.
My projects
 - The Lost Survivors (Unreal Engine) ACTIVE [GameCommandoSquad main project]
 - Oxo, with single-calc multiplayer and AI (axe) RELEASED (screenshot) (topic)
 - An android version of oxo (java)  ACTIVE
 - A 3D collision detection library (axe) RELEASED! (topic)(screenshot)(more recent screenshot)(screenshot of it being used in a tilemapper)
Spoiler For inactive:
- A first person shooter with a polygon-based 3d engine. (z80, will probably be recoded in axe using GLib) ON HOLD (screenshot)
 - A java MORPG. (pc) DEEP COMA(read more)(screenshot)
 - a minecraft game in axe DEAD (source code available)
 - a 3D racing game (axe) ON HOLD (outdated screenshot of asm version)

This signature was last updated on 20/04/2015 and may be outdated

Offline TheMachine02

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 452
  • Rating: +105/-0
  • me = EF99+F41A
    • View Profile
Re: Glib : a 3D graphics axe library
« Reply #372 on: September 26, 2014, 11:10:28 am »
well if gif is broken, you can see it there : http://i.imgur.com/HxskaVA.gif
Strange that the gif appears odly, since it look fine on my computer.

Actually I don't think per pixel light calculation are possible on a calculator, sooo it is indeed high res texture with dithered pattern (I even added magnification, but it run so slowwwwww)
- Does it start with an A? I think I know what it is :P

shhhhhh it is a secret  :P

also, billboard are planned, even if I don't think I will ever succed to code them ><


EDIT : attached the gif
 
« Last Edit: September 26, 2014, 11:12:39 am by TheMachine02 »
AXE/asm programmer - unleash the power of z80 //C++//C

epic 3D things http://www.ntu.edu.sg/home/ehchua/programming/opengl/CG_BasicsTheory.html

Offline ben_g

  • Hey cool I can set a custom title now :)
  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1002
  • Rating: +125/-4
  • Asm noob
    • View Profile
    • Our programmer's team: GameCommandoSquad
Re: Glib : a 3D graphics axe library
« Reply #373 on: September 26, 2014, 12:37:18 pm »
apparently, the gif was just chrome acting weird. It works fine in the image viewer on my computer.
My projects
 - The Lost Survivors (Unreal Engine) ACTIVE [GameCommandoSquad main project]
 - Oxo, with single-calc multiplayer and AI (axe) RELEASED (screenshot) (topic)
 - An android version of oxo (java)  ACTIVE
 - A 3D collision detection library (axe) RELEASED! (topic)(screenshot)(more recent screenshot)(screenshot of it being used in a tilemapper)
Spoiler For inactive:
- A first person shooter with a polygon-based 3d engine. (z80, will probably be recoded in axe using GLib) ON HOLD (screenshot)
 - A java MORPG. (pc) DEEP COMA(read more)(screenshot)
 - a minecraft game in axe DEAD (source code available)
 - a 3D racing game (axe) ON HOLD (outdated screenshot of asm version)

This signature was last updated on 20/04/2015 and may be outdated

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Glib : a 3D graphics axe library
« Reply #374 on: September 27, 2014, 10:43:29 am »
I think the GIF issue is that the black color is transparent in it. I tried in Firefox and Opera 12.17 because I had the same issue in Chrome and Opera 24 and neither the other browsers could display it right, not could the image viewers. So to see it properly you need to use a black background.

Here is a fixed GIF (unless the white part was supposed to be green?), but it's like 800 KB large >.<



Looks nice by the way. It seems a little slow though so perhaps it shouldn't be something implemented by default in every game using GLIB but rather an option if the programmer chooses to include it. Nice job nonetheless though :)

Also nice to see you back :D