
Fedor Koleganov
FedorK_FX
About Me
EXPERTISE
VFX Artist
INDUSTRY
Film/TV
Connect
LOCATION
Canada
WEBSITE
Houdini Skills
Availability
Not Specified
Recent Forum Posts
Gas OpenCL, sampling a scalar field with Geometry points Sept. 18, 2025, 9:07 p.m.
OpenCL in DOPs question.
I have Geometry data with points and a scalar field with some values. I'm running Gas OpenCL over First Writeable Attribute to sample my field at point positions. Running some simple code like setting an attribute to a value works, but as soon as I bind the scalar field as data and update the kernel arguments with the output of the Generate Kernel parameter, the kernel breaks with the clSetKernelArg (-51) exception. Tried with the @bindings and had the same issue. Does Gas OpenCL not support Geometry data and fields in the same kernel?
I ran the logic I'm trying to implement on SOP VDBs and Houdini Volumes and was able to sample the values just fine. Had a hope to find some references inside the MPM Solver, but it runs on two pieces of Geometry data, one for points and one for all VDB grids, so no DOP Fields are used.
I have Geometry data with points and a scalar field with some values. I'm running Gas OpenCL over First Writeable Attribute to sample my field at point positions. Running some simple code like setting an attribute to a value works, but as soon as I bind the scalar field as data and update the kernel arguments with the output of the Generate Kernel parameter, the kernel breaks with the clSetKernelArg (-51) exception. Tried with the @bindings and had the same issue. Does Gas OpenCL not support Geometry data and fields in the same kernel?
I ran the logic I'm trying to implement on SOP VDBs and Houdini Volumes and was able to sample the values just fine. Had a hope to find some references inside the MPM Solver, but it runs on two pieces of Geometry data, one for points and one for all VDB grids, so no DOP Fields are used.
H21 Browser issue Sept. 2, 2025, 12:02 p.m.
I sent a bug report for that this morning, they said the issue of tablet interaction is known and they are working on it.
Problems with scene size Aug. 27, 2025, 3:44 p.m.
I don't have a quick solution, but you can try Uniform Scaling it by 0.0001 or until the scene becomes reasonable size. Working in real scale that far away from the origin is never a good idea.