我遵循"用颜色进行网格划分"例如https://developers.google.com/tango/apis/unity/unity-howto-mesh-color。我试图通过在ExportMeshToObj()函数中使用Camera.main.WorldToScreenPoint()函数将点云从统一世界转换为屏幕空间(像素cooridnates)。但结果很奇怪。
v -0.465 -0.945 -3.694288
v_screen 2788.19 2276.224
v -0.4450556 -0.945 -3.705
v_screen 2771.131 2271.808
v -0.465 -0.915 -3.695899
v_screen 2783.098 2251.124
v -0.4473471 -0.915 -3.705
v_screen 2768.094 2247.423
v -0.435 -0.915 -3.711097
v_screen 2757.701 2244.903
v -0.435 -0.945 -3.709994
v_screen 2762.624 2269.673
v -0.405 -0.915 -3.722251
v_screen 2732.89 2239.467
v -0.405 -0.945 -3.722044
v_screen 2737.645 2263.875
v -0.375 -0.915 -3.731192
v_screen 2708.515 2234.478
v -0.375 -0.945 -3.732981
v_screen 2713.082 2258.357
...
请帮帮我?