- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am following tutorial02 to write my own simple renderer on top of embree. I have two questions regarding motion blur: 1. How do you specify motion for user-defined primitives? 2. How do you enable motion blur for two-level BVH? It appears that bvh4mb accelerator for VirtualObject does not work. Thanks.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
1) As you control the intersection code of the user defined primitive, you have to implement motion blur by yourself using the time specified in the ray. 2) We never tested motion blur for two level scenes, however, it should work if you use a normal BVH over your moving objects (that use the bvh4mb). You only have to be carefull that the bounding boxes you use in your toplevel BVH are conservatively bounding the motion of each object.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for clarification.
If I understand correctly:
1. bvh4mb is only used for motion-blurred triangular meshes
2. If two-level structure is used for scene containing motion, ordinary
bvh4 should be used (and *not* bvh4mb)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Exactly, for the toplevel you should use a normal bvh4 for now. One can do better, but that is not implemented yet.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page