Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- Add material class.
- Move diffuse routine into separate material classes.
|
|
|
|
a generic member function).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Note: further debugging is needed. The output image quality won't be improved when using 16bit/32bit internal color depth.
|
|
|
|
Some operations on pixel<T>.
Make ray3 support copy semantic.
Fix vec3 operands does not filter out vec3-vec3 as parameters.
random_uv_gen generating random unit vectors.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Extract interface viewport.
|
|
Add bias_ctx for setting sub-pixel sampling bias.
|
|
|
|
|
|
|
|
Replace unique_ptr with shared_ptr.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Visualize normal vector at hit point.
Add pixel<T>::from_normalized(const vec3d&) for visualizing normal vector.
|
|
|
|
|