Checking out the new Camera Analysis now. Question for you @La_Flame. I’m really keen to reproduce the PFTrack Texture Extraction technique but in Flame.
So the Perspective Grid does what I want. Track something, set it to 2D, Invert, BOOM. You can paint on the texture of the perspective grid and un-invert downstream.
Question is, can you do this with the new Camera Analysis? I can make a Perspective Grid the child of the Flame 2022 Trackers Axis, and the Perspective Grid now moves on the same plane as the ground. Awesome. But when I go to hit the Invert button, nothing happens. Any idea how we can merge the 2 tools, or, how I can effectively paint on an extracted texture of a Perspective Grid or Geometry generated by Camera Analysis?
This sounds like a much smarter version of what I do, which is to position spheres in space feeding the matte output and track those with a downstream perspective grid (set to 4 point), paint, invert grid, etc.
It felt smart, but I’ve always suspected there was a smarter way.
Like most things it’s whatever works. I like the projection technique since it take guess work out of things. You know it will go back correctly and you have control over texel density by virtue of your camera position and resolution @kirk
Thanks for the notes @cnoellert. I’ve always thought about doing it that way, but for some reason always got tripped up…UNTIL NOW. Thank you for that write up. I was neglecting a step and then…Law and Order dun dun…I was caught out by the Projector Default Z set to 500. Doh. Thank you for that!
So, I did precisely what you mentioned. And, I just need to get my head wrapped around manually a camera around to view something. I’ve always struggled with the Flame 3D system to bailed early on but the new Camera Analysis has me optimistic as there is now a way of generating actually helpful geometry.
@randy, there’s another method to do what you’re after based on a technique @DannyYoon adapted for flame some time back. It’s pretty clever but not for the faint of heart…
Here’s a demo setup I put together if you’re interested.
@cnoellert Funny, but I’ve never use the UV Unwrap that much. To give credit where it’s due…I started with a rig that Lewis Sanders made:
From Logik Facebook:
Projection Map to UV Map Setup
Hey guys…there was a recent thread about UV unwrapping and Lewis Saunders reposted his awesome setup.
I improved it by increasing the UV texture resolution and adding a blur node to get rid of the artifacts in the original setup. Also, the action setup has examples of an image plane and the original Sphere (which is hidden). Just to show different scenarios of projecting onto an image plane or a 3d object. There’s also a Paint node in there as a starting place for you to fix the UV texture.
Why is this cool? Ever get stuck when you’re using a tracked 3d camera and Projection maps and then during the move, you start seeing nasty warps and or cropping? This setup might help! You can unwrap the projection texture and clone or paint the problem areas.
Thanks Lewis!
The key to the unwrap is you literally subtract the UV pass from a UV Gradient still. This is the “difference” vectors that will unwrap the footage via Pixel Spread vector mode. It’s simple math! That’s the genius of Lewis’ setup.
One type of shot this is good for is if the plane you’re fixing has smoke or moving shadows, but i guess you could just use the perspective grid trick for that.
Maybe if I have time, I will post a setup using the new 3d tracking in 2022, but you can just look at the UVUnwrap rig and it has an example of using Action 3D geo.
I use it in PFTrack all…the…time…and its amazing. And its so simple and fast. I’ve downloaded the setup @DannyYoon and @cnoellert. I’m following along and must be doing something silly as my Pixelspread is yielding close but not quite correct results. I’ll check it out in the morning and the “extract the problem area with an image” part has me a little stumped. All you really need to do, I think, its select a damn part of the frame, right? Like roto, or key, or projection and output the UV and matte with then Subtracts from the UV Gradient, right?
It’s interesting because I use unwrapping all the time in Nuke (scanline render wise that is) and almost never in Flame because it tends to be such a pain. Just throwing out a a camera and recording the image from the angle that makes the most sense and projecting that back on tends to have the most mileage for 3D solves but most of the time the mocha unwrap shot is the way. In Nuke the setup is so simple there’s no reason not to use it…
Another fun thing I’ve done with putting 3D tracking markers in space is pin downstream bicubics to them, copy to uvs, and then warp/straighten things without a lot of hassle.
Well, once. I did this once. And it was only after scouring the internet for @john-geehreng ‘s tutorial on distort node stabilization. He’d shown a version of it a while back at a user group and I hadn’t had the presence of mind to take notes. It seems like that functionality has since crept into other tools, though.
More to the point, the new 3D tracker is super cool. I’m excited about it!
thanks @La_Flame! Yes, there are other solves, but the Perspective Grid 2D/Invert workflow is sooo slick…for some reason I can’t figure out how to make it work in a Camera tracked scene…any wisdom? I must be doing something wrong.