曲线透视:将 3D 转换为 2D [英] Curvilinear perspective: Convert 3D to 2D
问题描述
我正在寻找在
(来源:ntua.gr)子>
(图片来自 http://www.ntua.gr/arch/几何/mbk/histor.htm )
谢谢!
大约一年后,解决方案真的很简单.对于具有坐标的点:
(x1,y1,z1)
然后,在半径为 R 的曲线图中变换该点:
dist=sqrt(x1^2 + y1^2 + z1^2)x= R*(1+x/dist)y= R*(1+y/dist)
我现在可以生成自己的图画(图片来自维基百科):-)
>
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.
(source: ntua.gr)
(image via http://www.ntua.gr/arch/geometry/mbk/histor.htm )
Thanks !
About one year later , the solution was really simple. For a point having the coordinates:
(x1,y1,z1)
Then, to transform this point in a curvilinear drawing of radius R:
dist=sqrt(x1^2 + y1^2 + z1^2)
x= R*(1+x/dist)
y= R*(1+y/dist)
I can now generate my own drawings (image via wikipedia) :-)
这篇关于曲线透视:将 3D 转换为 2D的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!