Jonathan Gaspari

Jgaspari

About Me

SideFx 2019 intern and current FX Artist at Mr. X Toronto
EXPERTISE
VFX Artist
INDUSTRY
Film/TV

Connect

LOCATION
Canada
WEBSITE

Houdini Skills

Availability

Not Specified

Recent Forum Posts

Arrays in Houdini. Wondering... Jan. 20, 2023, 5:51 p.m.

I have a solution to find the min and max of an array! If you promote your array to detail you can use this attribute wrangle to find the min and max

int my_array = detail(0, "my_array");
int len = len(my_array);

foreach(int val; my_array){
int first_comp = getcomp(my_array, 0);
if(val == first_comp){
i@min = 99999999;
}
else{
i@min = min(@min, val);
i@max = max(@max, val);
}
}

TOPs nodes freezing when reading files in Jan. 16, 2022, 3:55 p.m.

I'm wedging caches into a rop geometry output, rendering in rop mantra render nodes, and then compositing them using rop composite output.

I find it's fairly stable when I'm writing out fresh files, but if there are existing files to read (if the hip crashes and I restart halfway through) houdini immediately freezes when reading the files in. I've been trying to use different schedulers to limit the cpu usage/memory ect, but my intuition tells me that it's the high cpu process of reading 10,000+ files at once using 100% of my cpu that's crashing houdini.

I've disable "core performance boost" in Bios as I've read that's an issue with threadrippers, but it doesn't seem to help. Also setting the scheduler to "single job" doesn't help as I'm guessing that's only for processing jobs not actually reading them in.

Please if there is something I'm missing here I would really appreciate it!

Specs
CPU - Threadripper 3970X 32-Core
Ram - 128 Gb