Search found 70 matches
- Fri Nov 01, 2019 4:25 am
- Forum: General
- Topic: LÖVE 11.3 released!
- Replies: 49
- Views: 1201498
Re: LÖVE 11.3 released!
OK so for the Raspberry Pi the PPA does not include a match - aptsources.distro.NoDistroTemplateException: Error: could not find a distribution template for Raspbian/buster As far i know AppImages have not not started to be widely used on the Pi yet. The three .deb files for armhf does work. What I ...
- Wed Oct 30, 2019 5:47 am
- Forum: General
- Topic: LÖVE 11.3 released!
- Replies: 49
- Views: 1201498
Re: LÖVE 11.3 released!
Nice! The new support for using integer/fp color values makes things a lot easier, especially getting old bits of code to run again. One small request. Now that Raspberry pi 4 is out and the standard Raspbian uses OpenGL accelerated drivers by default, is it possible to include the armhf format as p...
- Fri Feb 01, 2019 2:33 pm
- Forum: General
- Topic: Floating Point color
- Replies: 15
- Views: 17091
Re: Floating Point color
This is what the color space transforms look like. Compared to the 8:8:8, the 4:4:4 has banding. In the third image, it is still 4:4:4, but weighted dither applied to the lsb's of the color components. The banding is gone but there is some graininess visible.
- Wed Jan 30, 2019 1:26 pm
- Forum: General
- Topic: Floating Point color
- Replies: 15
- Views: 17091
Re: Floating Point color
Brain snap when I typed that above. i was mixing up the forward and reverse conversions. col_int_8 = floor(255.9 * col_fp) col_fp_4bit = floor(15.9 * col_fp) / 15 -- that gives 0 --> 1 in the floating point range, clipped to a 4 bit space. It just goes to show that the continuous representation of c...
- Wed Jan 30, 2019 12:57 am
- Forum: General
- Topic: Floating Point color
- Replies: 15
- Views: 17091
Re: Floating Point color
Currently I am using
That effectively divides the color space up into 256 regions and excludes 1.0 from giving the out of range 9bit value of 256.
Code: Select all
col_int = floor(255.9 * col_fp /256)
- Wed Jan 30, 2019 12:17 am
- Forum: General
- Topic: Floating Point color
- Replies: 15
- Views: 17091
Re: Floating Point color
Let me just explain why I was looking at this and became confused. I have been working on a drawing engine that uses 16 bit instructions to do basic primitive things - like set pixel, draw block. Because of the 16 bit format, 4:4:4 color (12bit) is the native format, so to encode an image you first ...
- Tue Jan 29, 2019 2:11 pm
- Forum: General
- Topic: Floating Point color
- Replies: 15
- Views: 17091
Re: Floating Point color
I agree that the exact values of the 00 and ff colors don't really matter because you can't see them anyway. What is important is when you wish to modify or mask a subset of the color range. With fp, you need to specify a fp range. With fractional integers, you can reliably specify color regions wit...
- Tue Jan 29, 2019 12:25 am
- Forum: General
- Topic: Floating Point color
- Replies: 15
- Views: 17091
Re: Floating Point color
I suggest you learn more about FP numbers to be more familiar with their format, their limitations and their quirks. My point was that the inclusion of 1 in the fractional range makes sense from a pure mathematical pov, but introduces problems when mapping to real world DA convertors which select be...
- Mon Jan 28, 2019 2:54 pm
- Forum: General
- Topic: Floating Point color
- Replies: 15
- Views: 17091
Floating Point color
Over the weekend I have been do some experiments with color spaces and converting to more restrictive color schemes like 4:4:4 (12bit) or 3:4:3 (10 bit). The use of fp 0-1 for each component seems to make sense in a language like Lua, and it has been widely adopted, but it does have some complicatio...
- Tue Jun 12, 2018 2:32 pm
- Forum: General
- Topic: Could LÖVE run on a Raspberry Pi 2B WITH x11?
- Replies: 17
- Views: 14823
Re: Could LÖVE run on a Raspberry Pi 2B WITH x11?
If you use Raspian on a RPi, then enable OpenGL and Love 0.10.2 will run really well. The easy way to do this is to install love from the RPi repository (still 0.10.2 with the latest Raspian). This installs all the dependencies and should get you a Supertoast if you open a term and type love. The op...