- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear all. I have a program in which I am updating the scene in a similar way to the instanced geometry tutorial. At certain points however, I would like to record information about where all my primitives now are in a .txt or something (all triangles in this case). Is there a way to recover a list of vertex locations and vertex numbers that make up my triangular primitives from one of the data structures in embree?
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
As your program has the affine transformation for each instance and the vertex data of each instanced object anyway, the probably easiest way is to just transform the vertices yourself and then dump the data into a file. Embree internally does not transform the geometry but only the ray.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page