Questions tagged [color]

Questions about the visual perceptual property deriving from the spectrum of light, usually expressed numerically according to a color model.

21 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4 votes
0 answers
125 views

How to properly color particles in N body sim?

In my n-body simulation I would like to color the particles in way which corresponds to the magnitude of the net force acting on them. This is so that I can confirm visually that the particles ...
math_lover's user avatar
3 votes
2 answers
469 views

How to determine RGB values given a display spectral response curve?

I am reading Physically Based Rendering section 2.2.2 on RGB color. I am trying to understand how, given a display spectral response curves for rgb intensities, we can choose the intensities so that ...
Elad Maimoni's user avatar
3 votes
2 answers
209 views

Determining input color space primaries from spectrum data

If I have an output device, for which I have a known spectrum data for each of it's primaries, I should be able to calculate the CIEXYZ of its primaries using using the integral equations together ...
JonnyRobbie's user avatar
2 votes
0 answers
36 views

How to add HemisphereLight to a simple threejs scene?

I'm trying to add light and see its changes in a simple scene in threejs but no matter the intensity or the color I set for the light, I see no change in a scene. Actually, if I don't include the ...
Jonas's user avatar
  • 31
2 votes
0 answers
99 views

Why do materials have both an ambient color and a diffuse color?

One of the first things I learned about computer graphics lighting (and light in general) is that when a ray of light hits a surface, the surface absorbs certain colors and the light retains the rest. ...
MothRemovalInProgress's user avatar
2 votes
0 answers
101 views

What is the CMYK color profile used by pantone.com

Pantone spot colors are specified in the RGB and CMYK color models on the https://pantone.com website. For example, the Pantone 122 spot color as it appears when printed on coated paper is specified ...
Witiko's user avatar
  • 21
2 votes
0 answers
207 views

Calculating Luminance From Y'CbCr

I have a video feed generating a stream of of Y'CbCr frames (specifically 8-bit component Y'CbCr 4:2:0, luma range of 16-235, chroma range of 16-240) from which I'd like to calculate relative ...
Tricky's user avatar
  • 121
1 vote
0 answers
152 views

What are the main concepts behind building the plasma effect with GSLS?

By the plasma effect I mean an animation that looks like this: I have seen some codes, like these https://www.shadertoy.com/view/Xst3zN https://www.shadertoy.com/view/4tdGWX and messed with the code ...
Jonas's user avatar
  • 31
1 vote
0 answers
322 views

How could I remove this colour interpolation artefact across a quad?

I've been reading up on a vulkan tutorial online, here: https://vulkan-tutorial.com. This question should apply to any 3D rendering API however. In this lesson https://vulkan-tutorial.com/...
FShrike's user avatar
  • 205
1 vote
0 answers
46 views

How to get "Equal" (saturation, brightness) Red and Green Colours in a Web-based Application?

I am looking for a red and a green hue that are equally discernable against a gray background on any PC monitor, using HTML/CSS-based application. There are many possible solutions to balance these ...
Kiki Kawai's user avatar
1 vote
0 answers
21 views

Alpha part of color class or shape class

I am designing a 2D drawing library (it is its very early stages) and I was wondering what to do with Alpha (transparency). I have two trains of thought: A. Implement Alpha in the Color class ...
FutureCake's user avatar
1 vote
0 answers
141 views

What image formats support indexed color palettes with more than 256 colors?

I've been reading up on images with indexed color, and while most indexed image formats are limited to 256 colors, there are apparently image formats that support larger palettes. According to ...
origamifreak2's user avatar
1 vote
0 answers
600 views

Path tracing - Better images without Gamma correction?

So I read about tonemapping and Gamma Correction recently and have implemented it in my path tracer. For the time being I'm using Reinhard tonemapping operator as described in his paper $L_d = L_w *...
gallickgunner's user avatar
1 vote
0 answers
108 views

What causes this color shift?

Below are the original image and a JPEG encoded/decoded image. To my untrained eyes, cyan becomes yellow, yellow becomes magenta, and magenta becomes cyan. Obviously there's a problem with the ...
bongbang's user avatar
  • 111
1 vote
0 answers
110 views

Why does this edge detect show different results for the same color combinations?

I'm researching highlighting accessible color contrast via filter operations. I have a test screenshot of SRGB hex values compared with WCAG's official contrast algorithm: I converted it to its ...
Tigt's user avatar
  • 111
0 votes
0 answers
24 views

Normal blend mode math

I have one question. How to calculate source color after blending operation. For example. I have 1 - Background color (r-115, g-94, b-67, a-1) 2 - Foreground color above background color, which ...
Alisher's user avatar
0 votes
0 answers
13 views

What is the color space of Luminosity blend mode and other three blend modes that photoshop use , HSB HSL or LCH

Here is what I have tried: I create a base layer and a blend layer and I choose Luminosity blend mode, so the result suppose to have the hue and Saturation of the blend layer and the Luminosity of the ...
Celebrimbor's user avatar
0 votes
0 answers
25 views

What happens when we select lower resolutions on a high-resolution monitor?

I have a monitor with a resolution of 1360x768 (16:9), When I set the resolution to 1280x768 (5:3), 1024x768 (4:3), 800x600 (4:3), even 1920x1080 (16:9) it completely covers the screen and the monitor ...
Ehsan's user avatar
  • 1
0 votes
0 answers
53 views

Aligning (matching) colors (white balance, brightness) of two scenes based on reference object

What I am trying to do is to become able to compare with reasonable accuracy two real world fabric/textures (colorwise speaking) at two distinct locations. I can't move them into single place to ...
Przemek B's user avatar
0 votes
0 answers
448 views

Sub pixel rendered white text on black background changes color when resized to a very small size

download: https://upload.wikimedia.org/wikipedia/commons/5/57/Subpixel-rendering-RGB.png The above picture is an example for sub pixel rendering. I tried resizing the image to very small size in ...
Mohamed Sharbudeen's user avatar
-1 votes
1 answer
65 views

Converting ACES ap0 color space into srgb?

I'd like to know the correct when of converting ACES AP0 color space into sRGB. Let's say artists decide to pick colors outside of sRGB in AP0, will ACES handle this situation correctly, meaning no ...
user19685's user avatar