AB4D Forum
Axis Indicators are not in line with actual axes - Printable Version

+- AB4D Forum (https://forum.ab4d.com)
+-- Forum: Products Forums (https://forum.ab4d.com/forumdisplay.php?fid=4)
+--- Forum: Ab3d.PowerToys (https://forum.ab4d.com/forumdisplay.php?fid=9)
+--- Thread: Axis Indicators are not in line with actual axes (/showthread.php?tid=4118)



Axis Indicators are not in line with actual axes - tim.rutter - 08-28-2018

I am making use of the axis indicators in a view using a perspective camera.  What I have noticed with this is that the axis indicators are not in line with the actual axes, they are almost correct but not precisely in line.  In some circumstances this can be quite severe and looks strange. Its an issue in the powertoys sample also.  I have attached a screen shot from the Slice 3D model with plane example.


RE: Axis Indicators are not in line with actual axes - abenedik - 08-28-2018

Everything is all right. This is caused by the perspective projection. 

The followinig image is showing a BoxVisual3D where all the sides are parallel but when rendered with perspective camera, the lines on the screen are no longer parallel.

[attachment=102]

If you want to have all the lines parallel as in defined with 3D data, then use the OrthographicCamera (set CameraType to OrthographicCamera):

[attachment=103]


RE: Axis Indicators are not in line with actual axes - tim.rutter - 08-28-2018

of course, it is correct.  

Thanks,

Tim