Quantcast
Channel: Kommentare zu: FunTracer: the first simple tracer
Browsing all 2 articles
Browse latest View live

Von: FunTracer: adding shadow | getting #er

[...] course we can easily check this using findHitObj from our last article. But as we need to test maybe a couple of other objects (remember we passed traceRay the possible [...]

View Article



Von: FunTracer: specular lightning | getting #er

[...] angle between the outgoing ray and the line from the hit-point to a light source (similar to our basic-shading model). If this is small we add the light-color (scaled by a specular-factor of the...

View Article
Browsing all 2 articles
Browse latest View live




Latest Images