frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

How do you realistically render RAL colors on aluminium window frames?

2•apavlinovic•2h ago
Hi HN Community! This is my first time sharing here, so be gentle :O :D

My wife and I are building a house, and as many enw house owners, we are shocked by the amount of choices we have to make. Not a bad thing per se, but in general, it is quite disheartening when you see it.

One of the choices we have to make are window and door material and color. We are on the fence between going all white uPVC or going for RAL colored aluminium. And here lies the problem – we don't have a way to see how the RAL colors appear on aluminium.

Most, if not all, new builds around use use anthracite (RAL 7016), which we dislike, and we are limited to trying to find examples online with Pinterest and Instagram. Unfortunately, we are quite sure that many images we encounter are mislabeled and showing a different RAL color under a different code.

This has led to me trying to build something to help us visualise the colors. Well, a software engineer tries to solve everything with software eventually. I built something, and it is live here https://protabula.com/en but I am not happy with the way the colors are rendered.

This is my rendering "pipeline", summarised by Claude. I use a base render image and a black and white mask image to isolate the areas that need coloring:

  Applies RAL colors to pre-rendered house scenes using ratio-based tinting in linear RGB:

  1. Load base scene + pixel mask
  2. Convert target color to linear RGB (gamma decode)
  3. Compute adaptation ratio: targetChannel / neutralBaseChannel
  4. For each pixel: tintedChannel = baseChannel × ratio
  5. Blend by mask strength to preserve highlights
  6. Convert back to sRGB (gamma encode)

  Uses adaptive neutral base selection (lighter neutral for light colors, darker for dark).
Do you have experience with this? Does anyone know how to render the colors better? Any suggestions on how to do mapping? Is there some library of materials online that I am not aware of that includes RAL colors? Should I switch to 3d rendering?

Thanks in advance, sorry for the lengthy post, and I hope you have a great New year!

Comments

DamonHD•1h ago
You could try asking at https://forum.buildhub.org.uk/

Show HN: Lock In – A goal Mac tracker controlled by typed commands

https://www.letslockin.xyz/
1•TedOS•36s ago•0 comments

Show HN: Self-hosted video clipper architecture (Next.js, N8N, FFmpeg, Docker)

https://suryaelidanto.gumroad.com/l/ai-video-saas
1•suryaelidanto•1m ago•1 comments

What is the 'Super Flu' that is spreading in Europe and the United States?

https://www.wired.com/story/what-is-super-flu-spreading-in-united-states-europe/
1•emreb•2m ago•0 comments

Show HN: Reelbase – Create Viral TikTok Slideshows in Seconds (Reelbase.io)

https://reelbase.io
1•Launchr•7m ago•0 comments

HPV vaccination reduces oncogenic HPV16/18 prevalence from 16% to <1% in Denmark

https://www.eurosurveillance.org/content/10.2807/1560-7917.ES.2025.30.27.2400820
2•stared•9m ago•0 comments

Information Lives in the Breaks

https://omegaaxiommeta.substack.com/p/information-lives-in-the-breaks
2•nilegreen•9m ago•1 comments

Global Crackdown on Crypto Tax Evasion Now in Force

https://timescrypto.com/cryptonews/regulation-and-policy/global-crackdown-on-crypto-tax-evasion-n...
2•Alan_Rada•12m ago•0 comments

An Experiment in Vibe Coding

https://nolanlawson.com/2025/12/28/an-experiment-in-vibe-coding/
1•ColinEberhardt•20m ago•1 comments

Show HN: I stopped using meditation techniques and just sat still for 30 days

https://prtkagwl.substack.com/p/sitting-and-doing-nothing-a-30-day
1•btwnplaces•22m ago•0 comments

Show HN: Vect AI – An execution-first marketing OS for SaaS founders

https://x.com/MM_AFRAZ
1•WoWSaaS•22m ago•0 comments

I optimised my vibe coding tech stack cost to $0

3•udit_50•25m ago•1 comments

Show HN: 3D Rendering in the Terminal from Scratch

https://github.com/Mr-Robot-err-404/terminal-wireframe
1•doctor_schultz•33m ago•0 comments

Toby Morton, a Comedy Writer, Owns the Trump Kennedy Center URL

https://www.nytimes.com/2026/01/01/us/politics/trump-kennedy-center-website-toby-morton.html
2•reaperducer•36m ago•0 comments

The Developer is dead, long live the Designer

https://deadend.dev/posts/the-developer-is-dead-long-live-the-designer/
2•Dansvidania•37m ago•0 comments

Sorting with Fibonacci numbers, and a Knuth reward check

https://orlp.net/blog/fibonacci-sort/
2•fanf2•38m ago•0 comments

Nexperia in no-man's-land: how a chip company became caught between world powers

https://www.nrc.nl/nieuws/2025/12/30/nexperia-in-no-mans-land-how-a-chip-company-became-caught-be...
1•chvid•41m ago•0 comments

Combinatorics News

https://gilkalai.wordpress.com/2026/01/01/combinatorics-news/
2•tzury•46m ago•0 comments

Conbini Wars

https://conbini.kikkia.dev/
2•denysvitali•53m ago•0 comments

Horrible fire at the Swiss ski resort bar

https://www.reuters.com/world/europe/several-killed-after-explosion-swiss-ski-resort-bar-bbc-repo...
1•barishnamazov•54m ago•2 comments

Why Big Tech Turns Everything into a Knife Fight

https://medium.com/data-science-collective/why-big-tech-turns-everything-into-a-knife-fight-42e22...
2•thunderbong•58m ago•1 comments

Train Dreams, il Netflix che non ti aspetti – CinEmanuele #15

https://cinemanuele.substack.com/p/train-dreams-il-netflix-che-non-ti
1•grouchoromano•59m ago•0 comments

Swapping two blocks of memory inside a larger block, in constant memory

https://devblogs.microsoft.com/oldnewthing/20260101-00/?p=111955
2•paulmooreparks•1h ago•0 comments

GridInspector- OpenStreetMap QA for Power Grids

https://apps.dynartio.com/mapyourgrid/gridinspector.html
3•protontypes•1h ago•0 comments

Dbcli skills agent tool with 30 databases support

https://github.com/tteamtm/dbcli
2•teamwg•1h ago•0 comments

Archive of DEC's Easynet NOTESfiles

https://decnotes.datacellar.net/
1•bilegeek•1h ago•0 comments

Show HN: Exponential CMS 6.0.11 – PHP 8.5 Support for a CMS Born in the 1990s

https://exponential.earth
2•thekracker•1h ago•1 comments

Shipping at Inference-Speed

https://steipete.me/posts/2025/shipping-at-inference-speed
3•tosh•1h ago•0 comments

Calvo on 'CHamoru' spelling: It's for government efficiency, cultural accuracy

https://www.guampdn.com/news/calvo-on-chamoru-spelling-its-for-government-efficiency-cultural-acc...
1•sipofwater•1h ago•1 comments

Show HN: cspresso - CLI tool to scan a website & generate/evaluate a CSP header

https://cspresso.cafe
2•_mig5•1h ago•0 comments

A terminal-based browser with Sixel graphics

https://codeberg.org/janantos/brow6el
5•rcarmo•1h ago•1 comments