Age | Commit message (Collapse) | Author |
|
|
|
|
|
Move data into classes.
Code refactor: make threading.h more specific, reducing redundant data copies in memory.
Code refactor: make camera parameters more clear and well-defined in viewport.h, ready to extend camera flexibility.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- 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.
|
|
|
|
|
|
|
|
|
|
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.
|
|
stretched.
|
|
Add NOPRINT environ switch.
Add demo sphere rendering.
|
|
Use cli parameters to control simple_scanner.
|
|
Fix bitmap wrong pixel sequence.
Remove default constructor of bitmap.
Add pixel mixture method.
|