- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I'm running Embree's pathtracer tutorial, and I'm trying to figure out how to specify the max branching factor when creating a scene's BVH. Ideally I want only 4-way BVH's. What is the best way to do this?
Best,
Evan
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The following will force Embree to use SSE4.2 only:
./pathtracer --rtcore isa=sse4.2 -c cornell_box.ecs
The following will force 4-wide BVH for triangles but still use modern ISA if possible:
./pathtracer --rtcore accel=bvh4.triangle4
The following will give you some output of algorithms chosen to verify that everything worked as expected:
./pathtracer --rtcore accel=bvh4.triangle4 --verbose 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you, I didn't realize I could do this through command line arguments. One more question, is there a similar method to force the max leaf size to = 1?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
No leaf size cannot get changes that easily. Also not that Embree always packs 4 triangles inside a leaf anyway (structure of array layout), thus going below 4 makes not much sense anyway.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page