CC: Tweaked

CC: Tweaked

57M Downloads

Support more colors

vaxerski opened this issue · 3 comments

commented

Sorry if this has been suggested before, checked the issue tracker, didnt find anything.

I'd like to request support for more colors, at least 256 colors.

Images or rendering is extremely limited and looks terrible with 16 colors. Even the GIF format made for the era of early 90s has 256 colors.

I've seen the suggestion about 0.25 scale and the argument was that it'd increase the data size. Going from 16 colors to 256 would technically double the data sent (from 4bpp to 8bpp) but I feel like it's an option that at least should be configurable.

E.g. a server could have a config option to "enable 256 color mode".

Furthermore, 328 * 243 / 1024 ≈ 80 KiB, which in the modern world, let's face it, is nothing. The world is going to have way more data to send.

commented

I'm not sure how I feel about this.

Images or rendering is extremely limited and looks terrible with 16 colors. Even the GIF format made for the era of early 90s has 256 colors.

I wouldn't say this "looks terrible".
image

The 16 customizable colors, adds a piece of difficulty to big programs in my opinion. And you don't need more than 16 colors to make cool UIs. I feel like 256 colors wouldn't fit the vibe of CC.

commented

"not fitting the vibe" is one of those arguments that doesn't really make sense. Why not add it behind a config opt that's false by default then?

I wouldn't say this "looks terrible".

I would. I wanted to render some images that I can show once I get to my computer, but they were barely recognizable, even more than yours.

commented

The limited palette depth is an intentional restriction. ComputerCraft is meant to mimic the aesthetic of retro-computers (I think specifically the BBC Micro), and so inherits some of its limitations.

Personally, I think that's fine. While you can't just convert arbitrary images to CC's limited palette and expect them to work, it's still possible to create good looking images, it just takes some time1.

Footnotes

  1. Even with CC's limited resolutions, the images in this tweet, do look pretty good.