How to merge the 3d transformed image?
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/12457047/how-to-merge-the-perspective-image3d-transform">How to merge the perspective image(3D Transform)?</a>  </p>
</blockquote>



<p>How to merge the 3D transformed image with the background image? I am using the below code.</p>

<pre><code>UIGraphicsBeginImageContext(backgroundImageView.frame.size);
[backgroundImageView.layer  renderInContext:UIGraphicsGetCurrentContext()]; //bacgroundImageView here
overlappedImage = UIGraphicsGetImageFromCurrentImageContext();
UIGraphicsEndImageContext();
</code></pre>

<p>Its working fine, but I change the 3D transform to that image(cat image<img src="http://i.stack.imgur.com/Ep26k.png" alt="enter image description here">) Its not working. Please see the attached image. 1st image is transformed image, 2nd image is merged image(this is the issue).Please help me. I have wasted more time for this issue. I hope any one help me. Thanks in advance.   </p>
