Hello,
I am using direct context 3D to draw marking rectangle on view, my requirement is marking rectangle should be on top. On 2D view I could get it on top by using projecting point on view plane but in case of 3D my rectangle in sometimes not visible or it goes below 3D geometry.
I want to create a plane on top of entire 3D geometry how I can get point to create plane which will be top most point in current 3D view (even if view is rotated I want recalculate point and show rectangle on Top)
I have view direction so to create plane I need origin point which will be near to screen or crop box how can I get this point??
Thanks