I've honed the problem to be with either my triangle ray intersection or my box ray intersection. In the ray I investigated, I know that both read an intersection, but in my tree algorithm, it doesn't get past my box code since the t value read is less than min_t. I had no problems with my triangle code from ray casting afaik so I'm tempted to say there's still something wrong with my box intersection code, but I'm not so sure. I had to change a couple lines of my triangle code to accommodate for the fact that we're using row vectors instead of column vectors, so perhaps there is a mistake there.
I've honed the problem to be with either my triangle ray intersection or my box ray intersection. In the ray I investigated, I know that both read an intersection, but in my tree algorithm, it doesn't get past my box code since the t value read is less than min_t. I had no problems with my triangle code from ray casting afaik so I'm tempted to say there's still something wrong with my box intersection code, but I'm not so sure. I had to change a couple lines of my triangle code to accommodate for the fact that we're using row vectors instead of column vectors, so perhaps there is a mistake there.