Timeline for Path Tracer - Model loading Libraries?
Current License: CC BY-SA 4.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
May 3, 2018 at 14:42 | vote | accept | gallickgunner | ||
May 2, 2018 at 19:04 | comment | added | ranagraw | Assimp is primarily a loader (and a good one at that). I feel what you're looking for is a mesh library. If you do not care for supporting all sorts of formats, that's what you should probably look up. libMesh, openMesh, CGAL are some C++ based libraries I know of. Most of these libraries will support some sort of mesh import. | |
May 2, 2018 at 6:36 | comment | added | gallickgunner | Dang, that's a lot of work then. I was hoping to find a library for that because I'm basing my path tracer on the gpu. So I'll have to send the structured data in the form of heap on the GPU and use the traversing scheme on the heap. So wanted to stay away from coding on the cpu side. Anyways thanks for the help, keeping the question open for a little longer in case someone wants to add something. | |
May 2, 2018 at 2:53 | comment | added | PaulHK | You will get an array of vertices / triangle lists / materials / etc. KD-Tree splitting a mesh is something you need to do yourself, this will be tied to your compute implementation anyway so having a third party library handle your KD-Tree could result in a less than ideal tree. I don't think there is a standard for transforming a mesh to KD-Tree as different implementations have different split heuristics depending on the programmer and application (e.g. Min triangles per leaf / KD-Rope / maximum depth / triangle area based measurement / sparse leaf nodes / etc). | |
May 2, 2018 at 2:46 | comment | added | gallickgunner | Ok, what about the data strucure? Does it have the functionality to generate k-d trees or some other structure? If not is there any other library that could be used in conjunction with assimp? | |
May 2, 2018 at 2:35 | history | answered | PaulHK | CC BY-SA 4.0 |