Thomas Battistetti

tbattistetti

About Me

Senior Environment Modeller

Connect

LOCATION
Wellington, New Zealand
ウェブサイト

Houdini Engine

Availability

Not Specified

Recent Forum Posts

How to read a single pixel value from cops? 2025年10月3日21:33

Hey, I faced the same situation today so I wrote a simple openCL snippet to remap it using the min and max value from the Statistics COP.

#bind layer src float
#bind layer layerMin float
#bind layer layerMax float
#bind layer !&remapped

@KERNEL
{
    float norm = (@src - @layerMin) / (@layerMax - @layerMin);
    @remapped.set(norm);
}

Just need to plug your source, your min then your max layer in the openCL COP after setting the binds.
Hope that helps!
Cheers

Compute Mtlx utilities before displacement 2025年3月3日2:33

Hi, I already sent a RFE to Sidefx about this (#140766), but I wanted to know if anyone has a workaround. Right now, the displacement gets calculated before the shaders are being processed. Which means that if I have a procedural mask using N in world space (MtlxNormal) for example, it will calculate it using the displaced geo instead of the pre-displaced one, which is not something I want in many cases. It makes doing procedural masking a bit inconvenient as the displacement completely change the way the Mtlx Normal, Curvature or any other utilities are working. One solution would be to bake, or precompute them in SOP first, but in my case it is not viable as I need to generate them on the fly. Did anyone face this and had a workaround for the time being? Would be amazing to have the ability to decide what cam get computed before displacement!
EDIT: added a quick exemple using a shader mix using a N mask

Cheers!

Karma sequence render issue, exit code -1073741819 2023年12月15日16:23

brians
Hi guys
Its looking like this is an NVidia driver issue (windows only).
The good news is that it seems fixed in their very latest driver.
Could you please test with 546.33 (available in both studio and game-ready) and let us know if it fixes this crashing issue?
thanks very much!

Confirming, working as expected now!
Cheers!