Author Topic: What can be done in Axe in 3D ?  (Read 12378 times)

0 Members and 1 Guest are viewing this topic.

Offline V1mes

  • LV3 Member (Next: 100)
  • ***
  • Posts: 83
  • Rating: +7/-0
  • Ma-Heki!
    • View Profile
Re: What can be done in Axe in 3D ?
« Reply #15 on: December 18, 2012, 05:58:44 am »
Ok, this was what I found. I'll try and look for some tutorials too.

http://en.wikipedia.org/wiki/Scanline_rendering
http://en.wikipedia.org/wiki/Volume_rendering

As for the voxel tutorial, this is what I found:
http://www.advsys.net/ken/voxlap/voxlap05.htm
http://www.flipcode.com/voxtut/
https://sites.google.com/site/letsmakeavoxelengine/

Hope this helps. Also let us know what you decide to do, can't wait to see some results  ;D
Nom nom nom

Spoiler For Do a barrell roll:

Offline tr1p1ea

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 647
  • Rating: +110/-0
    • View Profile
Re: What can be done in Axe in 3D ?
« Reply #16 on: December 18, 2012, 05:58:13 pm »
Oops sorry guys my bad :(.

Matrefeytontias: Do you mean what other 3D stuff can be done using your 3D engine? Or what other 3D stuff can be done in general?

Perhaps you could try expanding your WiredWorks engine so that can handle a 3D Environment with multiple objects and such? That would be cool.
"My world is Black & White. But if I blink fast enough, I see it in Grayscale."


Offline TheMachine02

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 452
  • Rating: +105/-0
  • me = EF99+F41A
    • View Profile
Re: What can be done in Axe in 3D ?
« Reply #17 on: December 19, 2012, 03:16:26 am »
I think good speed in Axe other than maybe raycasting (unless TheMachine02's game isn't raycasting) is virtually impossible unless someone writes a 3D axiom.

well,well...
as I said before, I use a combinaison of vexel and raycasting, so I manage to have some speed, and texture, etc...
after the contest, I will try to speed it up again, to add more efficienty texturing, and Y rotation : for me, it's enough to do a good game.
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 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: What can be done in Axe in 3D ?
« Reply #18 on: December 19, 2012, 03:21:23 am »
Ah ok thanks for the info :)

Offline Matrefeytontias

  • Axe roxxor (kinda)
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1982
  • Rating: +310/-12
  • Axe roxxor
    • View Profile
    • RMV Pixel Engineers
Re: What can be done in Axe in 3D ?
« Reply #19 on: December 20, 2012, 11:06:26 am »
So, I've looked into your links @V1mes, and didn't found anything really helpful. The Wikipedia entries only explains the main goal of the techniques and the voxels tutorial either use a 3D library or are concept-oriented.

Let's point out what I really want to do : after some researches (unsuccessful of course), it appears that I want to build a voxel engine from scratch ; not necessarily in Axe for the moment, but I want to be able to build one and then eventually to port it to Axe.

I looked for tutorials that don't use any 3D libraries and that explains the theory with examples (the exact concept of the Site Du Zéro in fact), but as you might guess I didn't found anything (but it's maybe because I don't understand English as good as I understand French :P ). So if you know something that can be helpful for me, just point it out.

Offline shmibs

  • しらす丼
  • Administrator
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2132
  • Rating: +281/-3
  • try to be ok, ok?
    • View Profile
    • shmibbles.me
Re: What can be done in Axe in 3D ?
« Reply #20 on: December 21, 2012, 03:09:05 pm »
a voxel engine is actually easier to make than an arbitrary polygon engine because the only allowed shape is a cube, and they are all the exact same size. talk to the fellow making the nspire minecraft clone in lua (names escape me at the moment, for some reason =/), as that is just a voxel engine. the important concepts to understand are drawing order, culling, and clipping.

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: What can be done in Axe in 3D ?
« Reply #21 on: December 21, 2012, 05:21:32 pm »
I just programmed a simple voxel/isometric engine from scratch that works decently. As long as the world doesn't get updated a lot, it should be fast enough for calcs as well. Unfortunately, it can only show the world in a fixed isometric persfective. If you mess around with it a bit, the best you could get is isometric with 4 possible camera angles (northeast, southeast, southwest and northwest).

If you want, I can send you the algorithms.

EDIT: screenshot of how it looks on a computer:
« Last Edit: December 21, 2012, 06:21:32 pm by ben_g »
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: What can be done in Axe in 3D ?
« Reply #22 on: December 22, 2012, 06:34:29 am »
Oh, the time you posted the screenshot I've done something similar :P



This program is less than 1K, including all the datas (so the engine itself might be around 850 bytes).

EDIT : attached the source
« Last Edit: December 22, 2012, 01:28:03 pm by Matrefeytontias »

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: What can be done in Axe in 3D ?
« Reply #23 on: January 23, 2013, 03:20:20 pm »
Something like Marble Madness using something like the above would be nice. Or Final Fantasy Tactics, but that would be a huge project to take on >.<

Would such engine be fast enough for the calc to handle the golf game Kirby Bowl/Dream Course?

Offline tr1p1ea

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 647
  • Rating: +110/-0
    • View Profile
Re: What can be done in Axe in 3D ?
« Reply #24 on: January 23, 2013, 03:52:19 pm »
Well there are marble madness clones on the TI-83 however thats stepping away from the voxel-idea imo. Here are 2 examples:

http://www.ticalc.org/archives/files/fileinfo/58/5835.html
http://www.ticalc.org/archives/files/fileinfo/214/21464.html

It would be very interesting to see a voxel engine on the z80 calcs. There is one on the 68k calcs however:

http://www.ticalc.org/archives/files/fileinfo/333/33316.html

"My world is Black & White. But if I blink fast enough, I see it in Grayscale."


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: What can be done in Axe in 3D ?
« Reply #25 on: January 23, 2013, 04:08:06 pm »
Actually the above by Ben_g and Materey is more Isometric it seems. But yeah a voxel engine would be nice on the z80 models. Also the animated screenshots for the 68K one is much faster than on the real calc if I remember, so maybe on a 84+ it might be a tad slow to be playable. It wouldn't hurt to try, though.

Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: What can be done in Axe in 3D ?
« Reply #26 on: January 23, 2013, 06:54:51 pm »
That are pretty awesome 3D progs O.o

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!

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: What can be done in Axe in 3D ?
« Reply #27 on: January 24, 2013, 02:59:26 pm »
Actually the above by Ben_g and Materey is more Isometric it seems. But yeah a voxel engine would be nice on the z80 models. Also the animated screenshots for the 68K one is much faster than on the real calc if I remember, so maybe on a 84+ it might be a tad slow to be playable. It wouldn't hurt to try, though.
I do indeed use isometric sprites to display the blocks. This does limit the possible camera angles to 4, but it's way faster than a raycasting-based method, and to do raycasting with a reasonable speed, the resolution will probably be quite low as well. With the isometric technique, it's also relativly easy to add grayscale and textures.

Because of this, the best way to handle a voxel world on a z80 calc is probably isometric. (Well, at least untill TI stops putting prehistoric hardware in them)
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: What can be done in Axe in 3D ?
« Reply #28 on: January 24, 2013, 04:13:46 pm »
That reminds me ben_g, were you still planning to work on your 3D engine/game for the 83+ and your computer game at one point? :P

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: What can be done in Axe in 3D ?
« Reply #29 on: January 24, 2013, 04:33:21 pm »
That reminds me ben_g, were you still planning to work on your 3D engine/game for the 83+ and your computer game at one point? :P
Well, I am currently working on the computer game. The 3D engine is currently on hold. It's not dead, I'm going to pick the 3D engine back up when I'm tired of working on my computer game. That's how I code.
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