Skip to content

Make thing go fast #1

@rrruko

Description

@rrruko

1 sample at 540x540 resolution took roughly 40 seconds on two computers.
Profiling indicates that the average ray is intersected against 200 boxes in a scene with 6000 triangles. I don't have enough experience to know for sure, but assuming that the BIH algorithm has a time complexity of O(log n) (which is an unrealistically optimistic best-case), I would expect about 20.

To me, this suggests a bug in the BIH implementation. The only other explanation I can think of for such bad time performance is that the intersection test itself is inefficient.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions