i am confused about my shadows.
i use bvh/bvh as builder/traverser, cause this is the only builder making use of the boundingbox program and not building the bounding box over the triangle data its self. it seems that other builders arent able to use the boundingbox program. trbvh is ‘strongly considered for all dataset’, only for triangles?
my primitives have 3 vertices and 3 normals and a biquadratic surface.
with these primitives i made a icosahedron, looking like a sphere.
i have one light in front of the object. if i put shadows on, i ll get a shadow on the the front of the object faceing the light. i dont like that.
but when i take only the primitives setting up the front of the icosahedron (looking like a half of a sphere), i ll get no shadows on these primitives. so this shadow is no self shadow.
i am confused of the behaviour of any hit. my material is the obj_material.cu (with phong.h) from the samples.
if i take a epsilon bigger than twice the radius of the icosahedron, there is no shadow at the front.
if i take trbvh i have no shadows at the front, but ill get some holes concerning the wrong boundingboxes.
if i take noAccel i have the wrong shadow.
tried some changes at the anyhit ray creating, but all seems to be set up right. first i thought the any hit ray are maybe sended into the wrong direction, but they arent.
where could be a mistake? are there known bugs?