I have created a primitive command and am trying to draw a transient of the results, however the preview tends to hide below the actual elements due to the elevation it is drawing at.
One idea I had is to calculate the view vector using the view (origin + extents) and the view rotation to calculate a depth very close to where the beginning of the view starts..
Example: [View:http://imgur.com/a/ioQ1A:940:0]
However, sometimes the transient refuses to display at all as if it is outside of the view extents... Is there any other approach to doing this?
Sorry if I have not explained it well, it is difficult to explain :)