how to export geometry into optix for collision test? thanks

   1846   0   0
User Avatar
Member
1 posts
Joined:
Offline
Hi,I just installed the optix 2.5 and tested the collision sample. It is great and very fast. And I wish to use optix in my personal project, in which there are a lot of dragonflies flying between growing lsystem flowers. I found that there is some method using SDF and vops network to implement the collision avoidance, but it is slow. Besides, I really hope to make advantage of the gpu power.
As far as I know, optix can accpet the exported obj files, but I do not know how to figure out which gemoetry primitives are collided with the dragonlflies. If I know, the flowers geometry could get feedback when collided, like animation or color changes.
Besides, I read the documents within the optix sdk and souce code for the quickstart tutorial. I did not understand which primitive types are accepted by optix. In pbrt, the primitive types are very clear, sphere, triangle mesh, cylinder, etc. I did not find conterparts in optix. In optix tutorial host source code, the box is constructed by serveral planes. (normal and one vertex define the plane, but not the four vertex position as I expected)
I really appreciate your help or any suggestions. Thanks. Maybe I should post the question in nvidia forum.
  • Quick Links