HOUDINI COP aligning two different resolution.

   2164   1   1
User Avatar
Member
19 posts
Joined: 3月 2020
オフライン
Hi everyone!

i have a base image of 1000x1000pixel image. and i am compositing 500x500px image "over" it using "over" composite node.

i come from FUSION, and when i do this, usually 500x500px image will sit on top of 1000x1000px image centered.

however with HOUDINI COP, the image is aligned to BOTTOM LEFT corner. i am assuming its using UV to place the LEFT BOTTOM CORNER to UV 0,0?

however this makes it quite difficult to center the TOP image to the middle of background image.

i could do some math to calculate the offset, but thought there might be easier way of doing this.

i have attached the current HOUDINI behaviour.

any help will be apprecaited!

Attachments:
Screenshot_33.jpg (63.7 KB)

User Avatar
Member
19 posts
Joined: 3月 2020
オフライン
figured out a solution, kind of brute math solution, would be awesome to know if there are other ways to approach this.

for my current solution, basically get the resolution of the bigger image, subtract the resolution of the smaller image, divide the result by 2, you get the offset you need from LEFT and BOTTOM corner

attached the image for solution.

again, i am finding HOUDINI's way of overlaying two different resolution image odd, not something i am used to coming from FUSION.

if there is better way of approaching this, i would greatly appreciate it!

thanks!

Attachments:
Screenshot_34.jpg (102.8 KB)

  • Quick Links