Archived post by mattiasmalmer

just brute force grabbing eaach matrix component

not sure why i need to do the minus sign in Y tho… guess some kind of handedness oddity

This one updates much more consistently compared to the vex one and feels really fast.

oops. the UV space was a little wonky there…

add this line

Attachments in this post:
http://fx-td.com/houdiniandchill/wp-content/uploads/discord/20244812/28/24/image.png

Archived post by mattiasmalmer

here is a simple vex camera projection if you do feel the need to be overcomplicated. 🙂

this is useful if your pos data comes from a rendering or something.

Attachments in this post:
http://fx-td.com/houdiniandchill/wp-content/uploads/discord/20241612/27/24/houdini_0NwyzI106U.mp4
http://fx-td.com/houdiniandchill/wp-content/uploads/discord/20241612/27/24/CAMERA_PROJECTION_COPS.hipnc

Archived post by mattiasmalmer

rect should be set to something like how big a part of the stamp ends up within one pixel of the outputted image.

that is a bit of a pita to calculate.

regarding the color picker. if i do an inspect in the viewport the unbelievable bastard has the correct values right there… FRUSTRAPOINTED

can i get those values? no, course not, they are just there to taunt me.

nukes Grade node for Cops

Attachments in this post:
http://fx-td.com/houdiniandchill/wp-content/uploads/discord/20242012/02/24/image.png
http://fx-td.com/houdiniandchill/wp-content/uploads/discord/20242012/02/24/cop_Malmer.dev.Grade.1.0.hdalc

Archived post by mattiasmalmer

Made us a very basic COPS 2D fluid solver. For funsies i made it uv island aware so it can flow over the 3d thing.
github.com/3Dmattias/Houdini_Escapades/blob/56b96a34d856d56c8d344e2cba7e24c18290222e/hip/COPS_FLUID.hiplc

related question. when i make an invoke block in cops is there a way to do that more like an actual solver so that i only have to update one iteration per frame (instead of running all previous framse up to the frame Im on)

Attachments in this post:
http://fx-td.com/houdiniandchill/wp-content/uploads/discord/20241811/28/24/image.png