#include "CUDABuffer.h"
#include "base.h"
#include "optix_types.h"
#include <torch/extension.h>
#include <limits>
Go to the source code of this file.
|
torch::Tensor | hmesh::intersectsAny (OptixAccelStructureWrapperCPP as, const torch::Tensor &origins, const torch::Tensor &dirs) |
|
torch::Tensor | hmesh::intersectsFirst (OptixAccelStructureWrapperCPP as, const torch::Tensor &origins, const torch::Tensor &dirs) |
|
std::tuple< torch::Tensor, torch::Tensor, torch::Tensor, torch::Tensor, torch::Tensor > | hmesh::intersectsClosest (OptixAccelStructureWrapperCPP as, torch::Tensor origins, torch::Tensor directions) |
| Find if ray hits any triangle and return ray index, triangle index, hit location and uv.
|
|
torch::Tensor | hmesh::intersectsCount (OptixAccelStructureWrapperCPP as, torch::Tensor origins, torch::Tensor directions) |
|
std::tuple< torch::Tensor, torch::Tensor, torch::Tensor > | hmesh::intersectsLocation (OptixAccelStructureWrapperCPP as, torch::Tensor origins, torch::Tensor directions) |
|