Igor Churakov

maxpayne

About Me

EXPERTISE
VFX Artist
INDUSTRY
Film/TV

Connect

LOCATION
Canada
WEBSITE

Houdini Skills

Availability

Not Specified

Recent Forum Posts

Access primitive in HDK May 19, 2026, 10:42 a.m.

Umang_Raj
Umang_Raj
Hi. Thank you for the reply. It's quite helpful. I was able to get GEO_primitive using gdp->getGEOPrimitive(primoff); and then using my logic so it's all working now.

I'm facing an issue with compiling though. I'm able to compile for 21 but not for 20. Version of MSVC seems to be matching the one from the documentation but houdini ignores my dll for some reason and I get an error saying using incompatible compiler. I've already installed 3 different version of MSVC and tried to compile with each one but h20 still won't see my dll and h21 works just fine.
Any ideas on why that might happen?

Access primitive in HDK May 16, 2026, 4:24 a.m.

Hi everyone. I'm learning hdk and I'm stuck with primitives. The goal is to loop over all the primitives on a geo and perform pointevaluate to get world position based on uv (so it's like primuv function in vex). THen apply that value to a primitive attribute.

What I found so far is that I can run pointevaluate only from GEO_primitive.

I'm running a loop using GA_FOR_ALL_PRIMOFF (gdp, primoff) but I can't find a function that get me GEO_primitive object from that.

In sample files I found a code using GA_FOR_ALL_PRIMITIVES that seems like return GEO_primitive but then how do I get offset based on that and assign a value to a primitive ?
I'm a bit lost with all those concepts.

Little explanation would be very helpful.

Thank you.

Running command line from houdini python March 6, 2025, 2:28 a.m.

Hi everyone. I hope you are doing well.

I'm writing a simple script to automate flipbooking process. The idea is to create a flipbook with pre defined settings and convert sequence of images to mp4.

Everything is working well except for the conversion. I'm using ffmpeg for that.
I've tried different functions but no luck.

Let's say I have this one:

subprocess.Popen("cmd /k ffmpeg -framerate 24 -i F:/tmp/flip_%04d.jpg -c nvenc F:/tmp/flip.mp4",cwd='C:/ffmpeg/bin',env=my_env)

And I get this error:
'ffmpeg.exe' is not recognized as an internal or external command,

If I add folder path to a file it seems to run ffmpeg
subprocess.Popen("cmd /k ffmpeg -framerate 24 -i F:/tmp/flip_%04d.jpg -c nvenc F:/tmp/flip.mp4",cwd='C:/ffmpeg/bin')

But then I get error that codec that I specified doesn't exist. So it looks to me that somehow command line won't pick up system variables.

Then I tried to add env to the function but still no luck

my_env = os.environ
subprocess.Popen("cmd /k ffmpeg -framerate 24 -i F:/tmp/flip_%04d.jpg -c nvenc F:/tmp/flip.mp4",cwd='C:/ffmpeg/bin',env=my_env)

Does anyone know how to make it work ?

PS: codec does exist. It's all working well if I run command line myself.

Thanks