getting points AND labels to look right in oblique view
Posted: Tue Feb 15, 2011 9:30 pm
In a previous post, I wrote that when viewed at an oblique angle, Point3D series show flat rectangles not cubes, and Bubble3D series show flat circles, not spheres.
Sandra (site admin) suggested using an OpenGL canvas instead, and gave code on how to do that.
Wow, now my series points look stunning, terrific, just beautiful!!!!!
*BUT* now the text labels are messed up. When you view a conventional TChart at an oblique angle, the text labels are still facing you, the viewer: But when we rotate a TChart drawn with OpenGL to an oblique angle, the text labels now are drawn to "face" the original position of the viewer, and not the current point of view:
Worse yet: when viewed from the side, text becomes just straight lines, and text disappears ENTIRELY when we rotate around to view the plot from what was originally behind:
Is there a solution that will allow both the plotted points AND their labels to look correct as the user spins the plot around?
Thanks,
Kevin
Sandra (site admin) suggested using an OpenGL canvas instead, and gave code on how to do that.
Wow, now my series points look stunning, terrific, just beautiful!!!!!
*BUT* now the text labels are messed up. When you view a conventional TChart at an oblique angle, the text labels are still facing you, the viewer: But when we rotate a TChart drawn with OpenGL to an oblique angle, the text labels now are drawn to "face" the original position of the viewer, and not the current point of view:
Worse yet: when viewed from the side, text becomes just straight lines, and text disappears ENTIRELY when we rotate around to view the plot from what was originally behind:
Is there a solution that will allow both the plotted points AND their labels to look correct as the user spins the plot around?
Thanks,
Kevin