Hakeem Adam
getuffassassin11
About Me
Media Artist / Researcher
専門知識
Game Artist
業界:
Gamedev
Houdini Engine
Availability
Not Specified
Recent Forum Posts
An artist introduction to the HDK 2025年3月16日13:59
I made a blog post documenting my learning journey with the HDk, attempting to build SOP nodes. Please find it here. Any questions, comments or suggestions are very welcome. https://hakeemadam.info/procedural-tools [hakeemadam.info]
HDK local variables and updating the Viewport 2025年2月17日11:17
For anyone facing similar issues, make sure you bump data ids. See this post from the docs [www.sidefx.com] from reference
[code cpp for (GA_Offset i = 0; i < pointsToDelete.size(); i++)
{
gdp->destroyPointOffset(pointsToDelete(i));
gdp->getAttributes().bumpAllDataIds(GA_ATTRIB_POINT);
gdp->getAttributes().bumpAllDataIds(GA_ATTRIB_VERTEX);
gdp->getAttributes().bumpAllDataIds((GA_ATTRIB_PRIMITIVE));
gdp->getPrimitiveList().bumpDataId();
gdp->normal();
gdp->refreshCachedHandles();
}]
[code cpp for (GA_Offset i = 0; i < pointsToDelete.size(); i++)
{
gdp->destroyPointOffset(pointsToDelete(i));
gdp->getAttributes().bumpAllDataIds(GA_ATTRIB_POINT);
gdp->getAttributes().bumpAllDataIds(GA_ATTRIB_VERTEX);
gdp->getAttributes().bumpAllDataIds((GA_ATTRIB_PRIMITIVE));
gdp->getPrimitiveList().bumpDataId();
gdp->normal();
gdp->refreshCachedHandles();
}]
Accessing binding in functions in OpenCL 2025年2月14日10:31
Thank you both very much. I think my example was a bit misleading. I guess what I am referring to is that in Openl CL, global and parameter bindings are only accessible within the scope of the Kernal. And functions have to be defined outside of the kernel, so you cannot access binding in the scope of the function. For example, I cannot pass @Time to a function I write, not as a function argument. It does make sense in the end.