CPCWiki forum

General Category => Demos => Topic started by: arnolde on 00:02, 29 December 23

Title: A little Winter Demo by Leosoft
Post by: arnolde on 00:02, 29 December 23
This is not really a demo, rather a little interactive "seasons greetings" to all Amstradanians out there. It started with me watching too much videos about "Elite" on Youtube and trying to make my own little 3D engine from scratch.
Have fun and enjoy the holidays!
Title: Re: A little Winter Demo by Leosoft
Post by: ervin on 00:57, 29 December 23
That is very cool!
Nice work.
Title: Re: A little Winter Demo by Leosoft
Post by: lightforce6128 on 02:47, 29 December 23
For our small CPC this is a quite big number of drawn lines. Because the graphics can be influenced, preprocessing is limited.

How did you apply all the necessary multiplications fast enough?
Title: Re: A little Winter Demo by Leosoft
Post by: XeNoMoRPH on 07:35, 29 December 23
Title: Re: A little Winter Demo by Leosoft
Post by: Kris on 08:23, 29 December 23
very nice !
Title: Re: A little Winter Demo by Leosoft
Post by: arnolde on 08:26, 29 December 23
Quote from: lightforce6128 on 02:47, 29 December 23Because the graphics can be influenced, preprocessing is limited.

How did you apply all the necessary multiplications fast enough?
There is indeed no preprocessing at all except for the sin/cos lookup table.
The precision is reduced to the minimum necessary, mostly 8-bit multiplications, the image is not in perspective (z coordinate is not rendered)

The drawing routine only works on a 32 character wide screen and with coordinates from -128 to 127. The routine doesn't check if a line goes over the border and doesn't clip either.

So to get the whole thing to work in a real game will be another task...
Title: Re: A little Winter Demo by Leosoft
Post by: norecess464 on 12:02, 29 December 23
Very nice Kevin ! Great little prod, and I guess you had lots of fun to implement this.

On a side note, is "Leosoft" your new nickname?
Title: Re: A little Winter Demo by Leosoft
Post by: arnolde on 12:09, 29 December 23
Quote from: norecess464 on 12:02, 29 December 23Very nice Kevin ! Great little prod, and I guess you had lots of fun to implement this.

On a side note, is "Leosoft" your new nickname?
Oh, It's an honour to be mistaken for Kevin Thacker! But I'm a different person ;-) I chose the handle "arnolde" without knowing that it's very similar to Kevin's "arnoldemu", because actually it's an anagramme of my real name Leonard.
Thank's for the compliment anyways   
Title: Re: A little Winter Demo by Leosoft
Post by: BSC on 13:03, 29 December 23
That's a lovely little piece of art. How did you create your models and transfer them onto the CPC? I started working on a 3d engine looong ago and feel intrigued to revive it :)
Title: Re: A little Winter Demo by Leosoft
Post by: norecess464 on 14:31, 29 December 23
Quote from: arnolde on 12:09, 29 December 23
Quote from: norecess464 on 12:02, 29 December 23On a side note, is "Leosoft" your new nickname?
Oh, It's an honour to be mistaken for Kevin Thacker! But I'm a different person ;-)
Ahaha opps. :picard: :laugh:

Making a 3D engine is absolutely not an easy task, as it requires great skills of Z80 programming. Congratulations!
Title: Re: A little Winter Demo by Leosoft
Post by: arnolde on 14:36, 29 December 23
Quote from: BSC on 13:03, 29 December 23How did you create your models and transfer them onto the CPC?
I was in fact searching the internet for ready-made simple wireframe models, but they all had way too much vertices and lines.
Also, I tried and asked ChatGPT to model me the head of Santa Claus in 3D but that as well was above it's abilities. 
So I ended up with simpler geometric forms and the good old grid paper and pencil method. The base coordinates are rectangles, hexagons or octogons so that wasn't hard to calculate. For projecting "2024" on a cylinder, I wrote a little Locomotive Basic program (which actually gave me a different result than expected...)

Title: Re: A little Winter Demo by Leosoft
Post by: GUNHED on 18:25, 29 December 23
Well done!  :) :) :)
Title: Re: A little Winter Demo by Leosoft
Post by: eliot on 17:22, 31 December 23
A nice surprise! Go on with so nice things... ;) 
Title: Re: A little Winter Demo by Leosoft
Post by: Longshot on 18:20, 31 December 23
Nice rendering. Congratulations on your first 3D engine. 
Title: Re: A little Winter Demo by Leosoft
Post by: Targhan on 17:12, 01 January 24
Very nice! This is pretty smooth. This could indeed be used in Elite II!

The music has already been uploaded to the Radio :).
Title: Re: A little Winter Demo by Leosoft
Post by: arnolde on 11:41, 02 January 24
Quote from: Targhan on 17:12, 01 January 24The music has already been uploaded to the Radio
Let's hope we don't get a copyright claim from the heirs of Mr. Anderson ;D
Title: Re: A little Winter Demo by Leosoft
Post by: Optimus on 11:07, 03 February 24
Great, nice to see some people trying 3d on CPC. Not many demos like that.
Powered by SMFPacks Menu Editor Mod