Lookup Attribute POP to move P based on Tex of template POP

define_room_POPs.tox (14.2 KB)

I have a texture based on an object’s UV map, which I project into 3D space based on my actual pixel positions. This allows for evenly spaced grid of pixels/quads over the surface of an elongated box based on resolution.

I’m presently not using the lookup attribute POP how I’d like; where my flat texture should be projected to the P value of the corresponding Texture values, or an interpolated P value based on nearest points of the template.

Instead I’m doing it using a 1:1 pixel matched shape and move P based on _PointI. I’ve tried many combinations of attributes in the lookup, but can’t get it to work. I am able to do it with GLSL POP by setting P[id]= i1P[id]; I just imagined I’d be able to make it happen based on a shared Tex value, or to interpolate the point in space between Tex values on the reference object. I’m thinking about it like a remap TOP, where you can just use a new UV map to push things around.

For projection mapping, I often set up scenes in both 2D & 3D. The 2D scenes are based on the UV map of the output geo I’m using. The rendered content would then get applied to the output geo of my actual room or object with a Constant MAT. POPs seem to allow for much more back and forth like this, so I’d like to wrap my head around best practices.