jeanphi wrote:So you need to compute the mesh topology and guess where the normal should be which is almost impossible at load time.
jeanphi wrote:What would work better would be to have the interior and exterior medium defined for the mesh, check those with the medium of the ray and determine the normal accordingly. However is the meshes are not closed, the ray can pass in a hole and you'll compute the normal on the wrong side. That might be acceptable though.
Users browsing this forum: No registered users and 0 guests