Sapphire Lens Flare - Copy Tracked Axis

I’ve got an axis tracked and I’m trying to paste the data into sapphire’s lens flare, but sapphire seems to believe 0.0 is the bottom left corner and not the center.

Anything I’m missing or do I just have to do “axis.position.x+(half the resolution)” to get it into place?

Yes. You also have to do “axis.position.y+(half the resolution).”

1 Like

On a more serious note, you can actually express the resolution using data contained in the “lensDistort” channels of the surface, so you can use the same expression for various sized images without manually entering the data.

2 Likes

I did not know that. very cool!