开发者

Perspective Rotation about Y axis

开发者 https://www.devze.com 2022-12-29 22:31 出处:网络
I have a 2D image and I want to create a anaglyph image for this single 2D image. To do this I need to create Left and Right views. I will considar my 2D image as Left view and I want to create Right

I have a 2D image and I want to create a anaglyph image for this single 2D image. To do this I need to create Left and Right views. I will considar my 2D image as Left view and I want to create Right View now.

I came to know that the perspective rotation (about Y axis) and perspective skews will give the right image.

I know that the perspective projection is related to 3D.

Basically I am new to 3D programming.

Can you plz explain how to do perspective rotation abuout Y-axis. And how can I apply this to 开发者_如何学Pythonmy 2D image.I am using C++.

Thank you verymuch

N.A.Reddy.


You can't create an anaglyph from a 2D image. You need either two 2D images that were taken slightly apart from each other or you need a 3D image. You can try and generate 3D information from a 2D image but that's almost impossible and an active area of research.

0

精彩评论

暂无评论...
验证码 换一张
取 消