Archived post by sniperjake945

here’s something fun. if you’ve ever wanted to pass the layer data into a function in opencl and then read from the layer, here’s how to do it! 🙂
“`c #bind layer src? val=0 #bind layer &dst
float4 buffereIndexCUSTOM(const IMX_Layer* in_layer, int2 xy){ return bufferIndexF4(in_layer, xy, in_layer->stat->border, in_layer->stat->storage, in_layer->stat->channels); }
@KERNEL { float4 vals = buffereIndexCUSTOM(@src.layer, @ixy); @dst.set(vals); }
“`
this way you can use layer data in functions! you lose the ability to use `@binding` inside of the functions, but at least you have access to the layer functions. For more info on the IMX_Layer struct check out `$HFS/houdini/ocl/include/imx.h` and then if you’re curious what functions you have access to you, you’ll want to read the `$HFS/houdini/ocl/include/imx_internal.h` include

someone here has probably already figured this out, and i will say that its super easy to crash your opencl playing with these functions, but it definitely makes passing data into and out of functions way easier!

Archived post by mattiasmalmer

messing around with a simplified way of giving plants some motion.
instead of doing it with a full skeleton rig i sample two positions a bit further in on the branch from each points position and do a little rotation around it. it feels ok ish.
have you guys got any better tricks for this kind of thing?

Attachments in this post:
http://fx-td.com/houdiniandchill/wp-content/uploads/discord/20250705/18/25/houdini_YCUmQjDwJj.mp4
http://fx-td.com/houdiniandchill/wp-content/uploads/discord/20250705/18/25/windplay.hiplc

Archived post by mattiasmalmer

very interesting. I do not use that. i use a variant of laplacian image blending
posted about it here: discord.com/channels/270023348623376395/1260727356746764308/1342984912009171025

Here is another really useful color corrector.
It has the usual hueshift stuff.
but it is the along/perp stuff that makes it really neat. You select a direction. (say the classic teal and orange) then you can increase saturation along that axis and reduce it in the perpendicular axis. then if the image it too orange you shift the whitepoint towards orange to get the teal orange balance more centered.
I made this one for nuke a long while ago and use it very often. So here it is now for houdini! thanx to @jake rice 😮 for pushing sideFX to fix the mat3inv() function 🙂

Attachments in this post:
http://fx-td.com/houdiniandchill/wp-content/uploads/discord/20252405/18/25/hueX.hiplc
http://fx-td.com/houdiniandchill/wp-content/uploads/discord/20252405/18/25/houdini_G1YdcSydnd.mp4
http://fx-td.com/houdiniandchill/wp-content/uploads/discord/20252405/18/25/cop_Mattias.hueX.1.0.hdalc

Archived post by mattiasmalmer

yeah the lack of iterator is a bit of a bummer.

here is a really neat color corrector I have been working on.

Attachments in this post:
http://fx-td.com/houdiniandchill/wp-content/uploads/discord/20251605/15/25/colorX.hiplc
http://fx-td.com/houdiniandchill/wp-content/uploads/discord/20251605/15/25/cop_Mattias.colorX.1.0.hdalc
http://fx-td.com/houdiniandchill/wp-content/uploads/discord/20251605/15/25/image.png

Archived post by fabriciochamon

this 👆 (changed my life)

just sharing something that annoyed me for too long: if you work on a small team that uses Dropbox as the project server (potentially other platforms too?), when working in solaris the dropbox desktop app might get stuck syncing “rendergallery.db”, and often times it simply blocks the queue so you can’t download / upload other files. I’ve worked around that by NOT using the /stage context, but instead use a lopnet in obj level to start my solaris work. That way you have direct access to the lopnet parms and can change the render gallery source parm, just add `$USER` somewhere in the path and it should fix the sync issues. Hopefully none of you had this sucker before.

Archived post by njfx

yo! dynamic curve control here! same technique used for my zippo flame sent a week ago 🙂

Wonder if this could be used with KineFX ? If there’s any rigging wizard here! That would be cool to test

Attachments in this post:
http://fx-td.com/houdiniandchill/wp-content/uploads/discord/20253405/08/25/Showcase_low.mp4
http://fx-td.com/houdiniandchill/wp-content/uploads/discord/20253405/08/25/NJfx_dynamic_curve_control.hiplc

Archived post by sniperjake945

Here’s the pighead paint cop thing. I swapped all my textures for the brush strokes to ones that i made in cops. and then i’ve also commented all of the paint stroke splatting code. It’s not hyper optimized, this is again a dumb approach where i strictly stay in COPs for everything. It’s way easier and better to do some of this stuff in sops.
if i catch you using this without modification on a commercial project i will make fun of you for forever, and i will ban you from the server 🙂

@jan1376 @flight404 have fun fellas

Attachments in this post:
http://fx-td.com/houdiniandchill/wp-content/uploads/discord/20254905/02/25/image.png
http://fx-td.com/houdiniandchill/wp-content/uploads/discord/20254905/02/25/JR_cops_painting_v0001.hip