曲线的角度来看:转换3D到2D [英] Curvilinear perspective: Convert 3D to 2D
本文介绍了曲线的角度来看:转换3D到2D的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在寻找数学EX pression转换三维坐标(X0,Y0,Z0)
到2D (X1 ,Y1)
在曲线的角度 <$ C $ç>研究其中,X1和Y1的值是观点角度{-90°.. + 90°}的原点。
I'm looking for the mathematical expression converting a 3D coordinate (x0,y0,z0)
to a 2D (x1,y1)
coordinate in a curvilinear perspective of radius R
where the values of x1 and y1 are the angles of views {-90° .. +90°} of the original point.
(通过 http://www.ntua.gr/arch/geometry图像/mbk/histor.htm )
谢谢!
推荐答案
大约一年后,该解决方案是非常简单的。 对于一个具有点的坐标:
About one year later , the solution was really simple. For a point having the coordinates:
(x1,y1,z1)
那么,如何将这些点半径的曲线图中的研究
dist=sqrt(x1^2 + y1^2 + z1^2)
x= R*(1+x/dist)
y= R*(1+y/dist)
我现在可以生成自己的图纸(图片来源:Wikipedia): - )
I can now generate my own drawings (image via wikipedia) :-)
这篇关于曲线的角度来看:转换3D到2D的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文