glOric - a Fast 3D Engine for C and Assembler projects

Since we do not have native C compilers on the Oric, this forum will be mostly be used by people using CC65 or the OSDK. But any general C related post will be welcome !
rax
Officer Cadet
Posts: 58
Joined: Tue Jul 24, 2018 3:16 pm

Re: glOric - a Fast 3D Engine for C and Assembler projects

Post by rax »

Yes that is me :).

You did great. I think it's a good approach to use the top for graphics so you earn an extra 4k of ram :)

From the code here: "https://github.com/oric-software/BattleZone4Oric", i think it's not a good idea to use multiplication and division directly. Use mapping for everything (tables).

Operators to display text on the screen (print, printf) are quite slow. Don't use them if you want speed. Аnd one more time: use mapping for everything (with the mapping I achieved very good results) :)

I think it has worked out quite well so far. I look forward to playing this game.

User avatar
jbperin
Flying Officer
Posts: 178
Joined: Wed Nov 06, 2019 11:00 am
Location: Valence, France

Re: glOric - a Fast 3D Engine for C and Assembler projects

Post by jbperin »

Waou rax :shock:

I visited your git repositories and I felt in love with :
- your engine.c mecanism .. :o That's exactly what I miss to animate some moving object in the 3D world I create.
- your H3 ilb .. It's what I was missing to put the sonar in the text part of the screen .. This lib is a marvel !!

Can I use some of your jewel to give life to my forthcoming oric software production ?

rax
Officer Cadet
Posts: 58
Joined: Tue Jul 24, 2018 3:16 pm

Re: glOric - a Fast 3D Engine for C and Assembler projects

Post by rax »

Yes, you can use everything :)

I opened a new topic for the h3 library here: https://forum.defence-force.org/viewtop ... 24&p=23502

Post Reply