Real Time 3D example

Want to discuss about Demos on the Oric, here you are !
User avatar
jbperin
Flight Lieutenant
Posts: 487
Joined: Wed Nov 06, 2019 11:00 am
Location: Valence, France

Re: Real Time 3D example

Post by jbperin »

I went a bit forward on this 3D example

I put the H3 screen in the midlle of the screen. (But I don't like this change and I might get back on it).

As suggested by Chema, I started using semi-graphic characters to replace ROM's one.

And I introduced the KeyRepeat feature to the keyboard handler.
I'm very glad that I now have a KeyRepeat mecanism. It is so convenient for real time games.

Here's what it looks like:
glh3_shrt.gif
glh3_shrt.gif (968.84 KiB) Viewed 542 times
And here is the stuff to load in your emulator to give it a try.
glh3_2024_09_04.tap
(43.6 KiB) Downloaded 34 times
User avatar
kenneth
Squad Leader
Posts: 523
Joined: Fri Nov 26, 2010 9:11 pm
Location: France PdD
Contact:

Re: Real Time 3D example

Post by kenneth »

Great! 8)
User avatar
ibisum
Wing Commander
Posts: 1743
Joined: Fri Apr 03, 2009 8:56 am
Location: Vienna, Austria
Contact:

Re: Real Time 3D example

Post by ibisum »

I remember being miffed when the C64 and Speccie nerds at school got their first "3D" games .. ;)

This looks promising - some room for optimizations, i.e. its in C? and maybe there is still an optimization pass coming in the future?
User avatar
jbperin
Flight Lieutenant
Posts: 487
Joined: Wed Nov 06, 2019 11:00 am
Location: Valence, France

Re: Real Time 3D example

Post by jbperin »

kenneth wrote: Thu Sep 05, 2024 6:09 amGreat! 8)
Thank you :D
ibisum wrote: Thu Sep 05, 2024 7:06 pm I remember being miffed when the C64 and Speccie nerds at school got their first "3D" games .. ;)

This looks promising - some room for optimizations, i.e. its in C? and maybe there is still an optimization pass coming in the future?
Nowadays this type of thing are not very astonishing, but I think would have love this type of game when I was playing on my dad's dragon 32.

- 3D computation and rendering is made with glOric so it is 99% of pure 6502 assembly code.
- Keyboard handling is 90% asm and 10% C.
- Ship and missile animation is mostly in C.
- Radar rendrering is based on a sligthly optimised version of rax's h3lib mixing 20% asm and 80% C

So yes there are rooms for optimizations. :)
Post Reply