lundi 8 mai 2017

Tests for ray-sphere intersection

I am implementing ray tracing and faced the strange problem: the spheres sometimes look like ellipses. I don't know why, but I suppose the problem is in the geometry, so I want to unit test the code (ray intersection with different figures). Where can I find good tests for this problem? I thought of some myself, but they are working, and I can't find the problem.

Aucun commentaire:

Enregistrer un commentaire