Drawing circles in Screen spce
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 05/08/2012 at 03:11, xxxxxxxx wrote:
I want to draw some circles in the editor, in screen space.
I already have the coordinates of the center and the radius.
However, if I use DrawCircle2D, it draws the circles fine but, if I turn Enhanced OpenGL display on, the objects in the editor are displayed oddly.
I already tried to use the bd.SW function to convert my screen coordinates to world coordinates and use DrawCircle instead. But it is not working.
So, I have two questions:Is it impossible to use 2D drawing commands without ruining the editor display when Enhanced OpenGL is on?
How can I draw in world coordinates and have a result like it was screen coordinates?
Thank you very much in advance for any reply.
Rui Batista
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 05/08/2012 at 09:20, xxxxxxxx wrote:
Ok, I found out that if I set the Matrix to Camera at the end of all my drawings with bd.SetMatrix_Camera(), it all works fine.
Except for the fact that when Enhanced OpenGL is on, the lines are drawn behind the objects
Any fix for that?Rui Batista
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 12/08/2012 at 13:54, xxxxxxxx wrote:
I'd be interested to find a solution to this.
I'd often like yo have a simple cross hair in the centre of the screen for reference (like the render safe area)