Skip to Content
GPU Pro 5
book

GPU Pro 5

by Wolfgang Engel
May 2014
Intermediate to advanced
522 pages
16h 1m
English
A K Peters/CRC Press
Content preview from GPU Pro 5
30 I Rendering
B
RRR
G
G
G
BB
bc2
bc1
bc1
bc2 bc2
(0,0,0) (0,0,0) (0,0,0)
Figure 2.3. Hue encoding process
in Figure 2.3 and can be outlined as follows:
1. Project the color point in the linear RGB space onto the color plane.
2. Compute the 2D coordinates of the point on the plane.
3. Find a 2D line on plane passing through (0,0,0) and the point.
4. Find the proportion in which the line crosses the 2D line between the base
color points, i.e., determine the blend factor for the base colors.
The first step is a simple geometric operation. From the second step on,
we have to perform geometric operations on 2D coordinates embedded within
the plane. Having the two base ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

GPU Pro 4

GPU Pro 4

Wolfgang Engel
GPU Pro 7

GPU Pro 7

Wolfgang Engel
GPU Pro 6

GPU Pro 6

Wolfgang Engel
GPU PRO 3

GPU PRO 3

Wolfgang Engel

Publisher Resources

ISBN: 9781482208641