vkoskiv / c-ray

c-ray is a small, simple path tracer written in C
MIT License
802 stars 43 forks source link

Improved instance bounding box computation #117

Closed madmann91 closed 7 months ago

madmann91 commented 7 months ago

This improves the bounding box computation for mesh instances. This directly results in a decrease of surface area of up to 25% in some cases (e.g. rotated instances). The performance increase is more modest, in the order of 5%.