Page 1 of 1

Colorful 360° 3D little Game Tech Demo

Posted: Sat Oct 09, 2021 7:02 pm
by jbperin
Hi all,

Little test of 360 degrees 3D usage for little adventure game.
VIEW02.PNG
VIEW03.PNG
If you want to try by yourself .. good news !! there's a DSK file here :D
GameTechDemoVR360.dsk
(525.25 KiB) Downloaded 43 times
feedback more than welcome

Re: Colorful 360° 3D little Game Tech Demo

Posted: Sat Oct 09, 2021 11:17 pm
by iss
I like it, especially the color presentation! :)
This can be good start to "remaster" some old text based adventures games...

Re: Colorful 360° 3D little Game Tech Demo

Posted: Sun Oct 10, 2021 2:04 pm
by ibisum
Just bloody wonderful. One thing I do wonder, though, is whether its necessary to render this in realtime, or if in fact bitmaps can just be loaded from disk. But, I don't really know what I'm talking about, so whatever ..

Re: Colorful 360° 3D little Game Tech Demo

Posted: Sun Oct 10, 2021 8:37 pm
by jbperin
iss wrote:
Sat Oct 09, 2021 11:17 pm
This can be good start to "remaster" some old text based adventures games...
Yes that's a good idea ..
The problem is the size of panoramic image.
Such an image weights 32kb and has to be loaded at each scene change.
Is there a way to make this loading acceptable by players not having an Oricart or an Orix board ?
ibisum wrote:
Sun Oct 10, 2021 2:04 pm
render this in realtime, or if in fact bitmaps can just be loaded from disk.
It would likely be faster to load from disk but storing the bitmap of the screen (78*64) for each (16*5) angular rotation possibilities would require 16*5*78*64 = 400kb
Storing an equirectangular projection of the scene with the proper algo to compensate deformations allow me to store a 3D scene on 32Kb

The algo that computes the correction can still be optimized ..

Re: Colorful 360° 3D little Game Tech Demo

Posted: Sun Oct 10, 2021 8:53 pm
by iss
jbperin wrote:
Sun Oct 10, 2021 8:37 pm
Such an image weights 32kb and has to be loaded at each scene change.
Is there a way to make this loading acceptable by players not having an Oricart or an Orix board ?
32K are not so much. IMO, a disk-based solution will be quite OK.
Of course you can use compression to store data on floppy - recent LZ implementations are really very good on size and decompression speed.

Re: Colorful 360° 3D little Game Tech Demo

Posted: Mon Oct 11, 2021 7:36 am
by Dbug
iss wrote:
Sun Oct 10, 2021 8:53 pm
Of course you can use compression to store data on floppy - recent LZ implementations are really very good on size and decompression speed.
Which is basically what Floppy Builder uses if you enable the FilePack method, files are compressed in LZ77 on disk and decompressed in real time when loaded.

Re: Colorful 360° 3D little Game Tech Demo

Posted: Mon Oct 11, 2021 6:00 pm
by jbperin
Dbug wrote:
Mon Oct 11, 2021 7:36 am
if you enable the FilePack method, files are compressed in LZ77 on disk and decompressed in real time when loaded.
I've got the following line in my floppybuilderdescript.txt file:

Code: Select all

SetCompressionMode FilePack 						; So far only two modes: 'None' and 'FilePack'
So I presume it is compressed.

Is time loading from DSK in Oricutron realistic compare to a real device ?
Because, in Oricutron, the loading time between scene is not too long and I'm surprised because I was expecting a loading duration around of 6 sec ..

Re: Colorful 360° 3D little Game Tech Demo

Posted: Tue Oct 12, 2021 3:02 pm
by jbperin
Here are the source code of this little demo.
VR4Oric-main.zip
(57.9 KiB) Downloaded 29 times
to build it with your OSDK just type:

Code: Select all

cd VR4Oric-main
osdk_build.bat && osdk_execute.bat

Re: Colorful 360° 3D little Game Tech Demo

Posted: Wed Oct 13, 2021 12:21 am
by Chema
jbperin wrote:
Mon Oct 11, 2021 6:00 pm
Is time loading from DSK in Oricutron realistic compare to a real device ?
Because, in Oricutron, the loading time between scene is not too long and I'm surprised because I was expecting a loading duration around of 6 sec ..
The transfer time is the same, if I recall correctly, but emulation is a bit faster as it does not include the mechanical movement of the head AND/OR the full rotation if a sector is missed... That means, if sectors are not interleaved properly. I had a big performance difference because the old version of writedsk, when it found the disk already was formatted, was not formatting it again with the geometry I wanted. Once this was solved the differences were much smaller (1-2 secs loading the game intro I think).

Re: Colorful 360° 3D little Game Tech Demo

Posted: Wed Oct 13, 2021 5:27 pm
by jbperin
Chema wrote:
Wed Oct 13, 2021 12:21 am
the differences were much smaller (1-2 secs loading the game intro I think).
Thank you for these information.

I have no way to load a DSK on my real Oric. So I can't really test how it behaves.

I wonder if this technology of panoramic 3d can be used in an adventure game.

I think graphism are recognizable enough (while being very "dirty" and not accurate).
My other concern is about the time it would take between 2 scene because of the loading.

That's why I was asking.

Thank you again

Re: Colorful 360° 3D little Game Tech Demo

Posted: Mon Oct 25, 2021 7:23 pm
by rax
Very good graphics. you did it again. :)
I think really that floppy disk with compression of all the pictures, is a good option.

Congratulations also to @Dbug for the support.

Re: Colorful 360° 3D little Game Tech Demo

Posted: Wed Oct 27, 2021 12:28 pm
by jbperin
rax wrote:
Mon Oct 25, 2021 7:23 pm
Very good graphics. you did it again. :)
Hi rax,
I'm glad that you like it .. Dbug gave me a good idea to fasten the display .. I haven't yet done the optim but his idea sounds reallt good and it might make the whole thing go far faster.

I change the topic to inform you that I'm currently using your engine to animate a soldier in a raycasting demo here:

https://forum.defence-force.org/viewtop ... 007#p26007

I changed it a little bit in order to make more easily portable in assembly. But the principle remains the same.

Thank to your engine I can easily animate Non Player Characters and that's great 👍

If one day I manage to make an efficient enough rendering engine .. would you accept to do an AI to drive soldiers in a kind of clone of Wolf ?

Not sure it is possible make if ever ... Who knows ..