sQLux v1.0 (The Xmas Turkey)

Discussion and advice about emulating the QL on other machines.
stevepoole
Aurora
Posts: 890
Joined: Mon Nov 24, 2014 2:03 pm

Re: sQLux v1.0 (The Xmas Turkey)

Post by stevepoole »

Hi Per,

Ok, I've tried to REMark in explanations of the code, which is a little tidier.
It is not too easy to explain perspective geometry, but here goes :

Imagine that the WINDOW#2 is lying flat behind your computer screen on the table. In that case think of the computer screen as a 3D 'GRID' as used by painters.
You spin the 'flatout_image' around its central axis, looking downwards somewhat. You (an eye) looks through the grid to a target_point, behind the flatout_image.
The exercise is to calculate where on the grid, the eyeline to a 'flatout_pixel' cuts it, relative to the 'central grid viewline'.

Sorry about that : There are a lot of triangular trigonometrical variables involved, making naming uneasy ! And this is just a very simple 3D projection...
It will run faster in this version, as I have used a different SC(ale) value. The image is the one in my last posting.
Hope this helps, if not let me know. Regards, Steve.
Wrapper3D2_bas.zip
(1.83 KiB) Downloaded 220 times


stevepoole
Aurora
Posts: 890
Joined: Mon Nov 24, 2014 2:03 pm

Re: sQLux v1.0 (The Xmas Turkey)

Post by stevepoole »

Hi Derek,

You wrote << I cannot get this to run on sQLux, can you give me some hints how to get more colours on sQLux ? >>.

I presume you had indeed LRESPRed RPIX.bin & PHGTK.bin as mentioned in my posting ? (See oct 30-9h54 zip file for these toolkits).

Otherwise, I am no expert on the extra colours nor SQLux. Perhaps someone else can advise ?

Steve.
_________


User avatar
XorA
Site Admin
Posts: 1644
Joined: Thu Jun 02, 2011 11:31 am
Location: Shotts, North Lanarkshire, Scotland, UK

Re: sQLux v1.0 (The Xmas Turkey)

Post by XorA »

Steve, you program is cool, but I think you should probably break it out into its own thread otherwise it will be lost in time/deep in the sQLux release thread :-D


Derek_Stewart
Font of All Knowledge
Posts: 4756
Joined: Mon Dec 20, 2010 11:40 am
Location: Sunny Runcorn, Cheshire, UK

Re: sQLux v1.0 (The Xmas Turkey)

Post by Derek_Stewart »

Hi,

Is it possible to increase the colour depth of sQLux using SDL2?


Regards,

Derek
User avatar
XorA
Site Admin
Posts: 1644
Joined: Thu Jun 02, 2011 11:31 am
Location: Shotts, North Lanarkshire, Scotland, UK

Re: sQLux v1.0 (The Xmas Turkey)

Post by XorA »

Derek_Stewart wrote:Hi,

Is it possible to increase the colour depth of sQLux using SDL2?
What do you mean? You want more than 16 colours? That would mean Minerva would need a new GFX driver wouldnt it?


Derek_Stewart
Font of All Knowledge
Posts: 4756
Joined: Mon Dec 20, 2010 11:40 am
Location: Sunny Runcorn, Cheshire, UK

Re: sQLux v1.0 (The Xmas Turkey)

Post by Derek_Stewart »

XorA wrote:
Derek_Stewart wrote:Hi,

Is it possible to increase the colour depth of sQLux using SDL2?
What do you mean? You want more than 16 colours? That would mean Minerva would need a new GFX driver wouldnt it?
More than 4 colours.


Regards,

Derek
User avatar
XorA
Site Admin
Posts: 1644
Joined: Thu Jun 02, 2011 11:31 am
Location: Shotts, North Lanarkshire, Scotland, UK

Re: sQLux v1.0 (The Xmas Turkey)

Post by XorA »

Derek_Stewart wrote:
XorA wrote:
Derek_Stewart wrote:Hi,

Is it possible to increase the colour depth of sQLux using SDL2?
What do you mean? You want more than 16 colours? That would mean Minerva would need a new GFX driver wouldnt it?
More than 4 colours.
Well its undocumented but it currently supports 16 :-D in mode 8 :-D


Derek_Stewart
Font of All Knowledge
Posts: 4756
Joined: Mon Dec 20, 2010 11:40 am
Location: Sunny Runcorn, Cheshire, UK

Re: sQLux v1.0 (The Xmas Turkey)

Post by Derek_Stewart »

Sounds great, when is this to be documented?


Regards,

Derek
User avatar
XorA
Site Admin
Posts: 1644
Joined: Thu Jun 02, 2011 11:31 am
Location: Shotts, North Lanarkshire, Scotland, UK

Re: sQLux v1.0 (The Xmas Turkey)

Post by XorA »

Derek_Stewart wrote:Sounds great, when is this to be documented?
When everyone promises to never implement the flash bit :-D


Derek_Stewart
Font of All Knowledge
Posts: 4756
Joined: Mon Dec 20, 2010 11:40 am
Location: Sunny Runcorn, Cheshire, UK

Re: sQLux v1.0 (The Xmas Turkey)

Post by Derek_Stewart »

XorA wrote:
Derek_Stewart wrote:Sounds great, when is this to be documented?
When everyone promises to never implement the flash bit :-D
... and a bit flash programming!?


Regards,

Derek
Post Reply