Archived post by swalsch

totally, seems that openIO won’t area-sample pngs

well, multiple calls of colormap it is

totally works with the mandril

for posterity, this is how I solved it with multiple calls of colormap: “`c vector uvw = set(v@P.x+.5,v@P.z+.5,0.0); string texPath = chs(“tex_path”); vector colors[] = {}; for(int i=0;iv@Cd = avg(colors);“`

Attachments in this post:
http://fx-td.com/houdiniandchill/wp-content/uploads/discord/20230707/12/23/image.png

Archived post by lwwwwwws

on mac it’s super easy using instruments.app which comes with xcode… just pick “time profiler”, choose a running process at the top, hit record for a few seconds then fiddle with the viewing options at the bottom ⏱️ actually there’s even a basic version you can get from activity monitor by hitting “sample process” from the three dots menu on linux you can do `perf record -p ` and then one of many options for viewing the output: perf.wiki.kernel.org/index.php/Tutorial#Flame_Graph

for windows i have no clue though, i’d love to know… i’m a clueless baby about windows development, you might have to install full visual studio

Archived post by mestela

god i want that

i know @toadstorm did a deep dive into the font sop for mops, i think the high level summary was ‘its really fucky’

well, did some digging

“`python fonts = hou.hscript(“opmenu -l -a /obj/geo1/font1 file”) fonts = [x.strip().strip(‘”‘) for x in fonts[0].split(‘\n’)] p = hou.parm(‘/obj/geo1/font1/file’) p.set(fonts[23]) “`

that’ll get a thing you can at least futz with in the python command line

i was gonna get the [23] to be [@Frame] in a python sop or something, but i gotta go make dinner. 🙂

Archived post by JeffLMnT

here I’m calling the vex source from the `noise` wrangle – and it’ll run that vex snippet on the vop

so I can just change the `noise` wrangle and every other vop that points to it will also pull the change

the vop also has other modes like the script mode if you’re interested – so if you have a CVEX snippet on disk, you can point to that <:chef:730208016174940172>

here’s that file – you can do the same thing with vex > vop, vop > vop

Attachments in this post:
http://fx-td.com/houdiniandchill/wp-content/uploads/discord/20233205/10/23/image.png
http://fx-td.com/houdiniandchill/wp-content/uploads/discord/20233205/10/23/vex_shop_mode.hiplc