Archived post by sniperjake945

i had some time this morning so i cooked up a way to do this by just writing a small little rasterizer in vex 🙂

im sure there’s a better way to do it

yeah i see what you’re sayin 😦 im unsure how to change the voxel size without just making a new volume….

Attachments in this post:
http://fx-td.com/houdiniandchill/wp-content/uploads/discord/20254801/08/25/comp.mp4
http://fx-td.com/houdiniandchill/wp-content/uploads/discord/20254801/08/25/jr_tiny_rasterizer.hiplc

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