Navigácia
Knowww
Knowledge on World Wide Web
ABC dictionary
Private tree
Access private tree
Viewing vector
Zobraziť pojem v strome
Domain
:
14
Description
Question: In eye coordinates, where is the camera?
Answer: At the origin. Eye coordinates are based on the camera.
Therefore, v is really simple!
vec3 v = normalize(-p);
if p is a vec3
vec3 v = normalize(-p.xyz);
if p is a vec4
Importance
High
Súvisiace pojmy
:
Nadradený pojem
:
Lighting done in eye coordinates
Susedné pojmy
:
Transforming normals
Normal matrix
Normal transformation
Vector to light source
Reflection vector