Here is a basic framework for creating simple anamorphic pictures.
Creating a 3D illusion on a paper or tablet, smarthpone…
Just put your objects into it and run the script to get a render. More details below and in included python script.
Created with Blender 2.80 beta
The 3D view:
The rendered picture:
The 3D effect:
House in test pictures from Stalk at BlendSwap
Copy of script header for details:
A template for creating simple anamorphic pictures
Create easily an anamorphic picture for any blender object !
Simulating the perspective of a flat paper placed on a table in front of viewer
Using cycles render
A4 paper size, black for tablet/smartphone display
How To Use
Create your objects, import or copy/paste them into the scene
Place them on the paper page plane
They must fit into the perspective camera view, and the paper surface, wiewed from the camera.
Add lights, change the world settings…
Save as blend file
You can change many settings but don’t touch:
- Any camera, object, material or texture named Anamorphosis*
- Render resolution X/Y
Run the script (Alt+p)
The final picture is saved with the name of the current blend file, in the same directory
Print the picture, or transfer it to a tablet
Place it on a table in front of you, sitting on a chair
Look at it with only one eye. You might need to move a bit forward or backward to find the right perspective effect.
As the rendered page is distorded, the objects shouldn’t fit too close to the paper or camera sides
The paper material is an emission shader, if you want to capture a shadow, you need to add a plane just above it
The perspective effect can be improved by cutting out the top white part of paper, around the picture