Saturday 16 February 2013

Converting a painting into a 3D scene

The image above is a 3D scene modeled using a frame of Piero della Francesca how a base. The source can be found here.


Why reconstruct a scene from a painting?

I don't know if all think this way, but I always imagined how would be inside a frame I was seeing.

Now I had the opportunity to do it using Blender and few hours of work.

Beyond this, a "commercial" application of this technology is to convert every frame in a 3D scene for visualization in the new media that supports it.

Or other situation that appear in the future.

An interesting thing in this case was the distribution of the buildings. When you see a 2D painting you don't have a good idea of the space.

The bigger difficulty was the edition of the texture near the observer, because when you creat a 3D stereo pair scene, you need the two views of the eyes (left-right). So, when you move a little the camera, you will see some parts that the paint didn't cover.

Even being a manual work, to find the viewpoint was relatively easy, thanks to "Lock Camera to Views" of Blender. With it you can manipulate the position of the camera directly by the 3D viewport.

Is it possible to create anaglyphic images inside Blender, but I like to use  Imagemagick to do it:

$ composite -stereo +0+0 Right.png Left.png Anaglyph.png

Well, the history was this. I hope you enjoyed.

See you in the next. A big hug!


3 comments:

  1. Did you use the BLAM add-on (http://www.stuffmatic.com/2012/01/introducing-blam/) to calibrate the camera?)

    ReplyDelete
    Replies
    1. Hi tauricity!

      Nope, I made the track manually.

      I tryied to us BLAM but it had errors (I think for my fault).

      A big hug!

      Delete
  2. Thanks to modern technology for allowing to convert paintings into 3D photos. It's great to see existing images turned into ones with higher quality. It's great to have a peek at how this is done. Thank you!

    Francesca Slone

    ReplyDelete

BlogItalia - La directory italiana dei blog Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 International License.