Page 1 of 1

Custom drawing in OpenGL

Posted: Mon Jan 14, 2013 4:48 pm
by 9339158
I currently have a 3D point series chart which has a custom bit of drawing on it under a AfterDraw event. This custom drawing is not part of the 3D and is static as the chart is rotated in 3D.

I want to update the chart to use OpenGL. I have initiated the OpenGl and it works fine except for the custom drawing which is now part of the 3D chart and rotates as the chart is rotated. The Z value of the custom drawing is set to 0. The actual drawing code does not use a ā€˜Zā€™ axis.

How do I make the custom drawing not to be part of the 3D surface while using OpenGL ?

I am using TChart 8 VCL.

Thanks
Frank

Re: Custom drawing in OpenGL

Posted: Tue Jan 15, 2013 2:01 pm
by 9339158
I have found a solution to the problem. Using 'DisableRotation' before doing the drawing fixes it.
Frank