Projection Mapping

Thu Oct 24, 2019 8:51 pm

Magic doesn't currently have any built-in projection mapping capabilities but it is not too arduous to roll you're own, as long as you're not too adventurous. Moving content planes around in 3D space is one way but since you can place individual corners this is a bit tricky for non-perpendicular surfaces. In this example video, a bit if IFS shader code is used to move the corners into the correct position. Unfortunately, this code doesn't include any distance foreshortening but this can be achieved with a Power Warp before the Perspective Warping.

[media]


All just rectangular planes (though masking them would be trivial) but perhaps this type of shader would help. You can save different mapping setups in separate sub-scenes to easily apply various content.

Perspective_Warp.fs
(4.76 KiB) Downloaded 15 times
Sadler
 
Posts: 630
Joined: Sat Aug 02, 2014 7:10 pm
Location: London, UK

Return to General Discussion

© 2019 Color & Music, LLC • This web site is mobile-friendly