#5097 Score: -1
cmc233
Participant
6 pts

上面两行是bunny,BVH建树2s,渲染3.6s; SAH建树3s,渲染3.2s
下面两行是那个复杂的模型,BVH建树6.0s,渲染29.9s; SAH建树7.9s,渲染24.8s
都是32个buckets

想问下你们SAH建树的时候是不是只对bounding最长的边进行考虑?我只有这样才能得到上面这么短的建树时间,如果x,y,z轴都考虑,bunny的建树就得7s。。。。(ps,我看参考链接ppt的伪代码考虑了x,y,z)

This post has received 1 vote down.
Attachments:
You must be logged in to view attached files.