Peter Wu
bwu
About Me
専門知識
Student
Connect
LOCATION
United States
ウェブサイト
Houdini Engine
Availability
Not Specified
Recent Forum Posts
Manipulating VDBs in OpenCL SOP Node? 2022年4月13日14:14
Just found two headers in the ocl/include path:
Then a recast to cnanovdb grid:
Voila! Now I can use cnanovdb family of functions to read VDBs.
Hope this helps!
#include "CNanoVDB.h" #include "CVDBUtil.h"
Then a recast to cnanovdb grid:
const global cnanovdb_griddata *grid = (const global cnanovdb_griddata *) vdb;
Voila! Now I can use cnanovdb family of functions to read VDBs.
Hope this helps!
Manipulating VDBs in OpenCL SOP Node? 2022年4月10日0:56
Hi,
Following the same setup for OpenCL kernels in the OpenCL node, the generated kernel snippet gives a void * type pointer to the bound VDB. Also, there are no readable/writeable checkboxes in the bindings for VDB type parameters. After searching on this forum and googling for a while, I still couldn't find a feasible way to interact with VDBs in the OpenCL node. Any help is appreciated!
Thanks,
Peter
Following the same setup for OpenCL kernels in the OpenCL node, the generated kernel snippet gives a void * type pointer to the bound VDB. Also, there are no readable/writeable checkboxes in the bindings for VDB type parameters. After searching on this forum and googling for a while, I still couldn't find a feasible way to interact with VDBs in the OpenCL node. Any help is appreciated!
Thanks,
Peter
64-bit Voxels? 2022年4月5日0:34
Hi Yunus,
Thank you very much for the reply! I'll give that a try. The algorithm I'm trying to implement has a P2G/G2P transfer scheme for each timestep. 32-bit floats are seemingly prone to fp cancellation during this process.
Thanks,
Peter
Thank you very much for the reply! I'll give that a try. The algorithm I'm trying to implement has a P2G/G2P transfer scheme for each timestep. 32-bit floats are seemingly prone to fp cancellation during this process.
Thanks,
Peter