Page 1 of 1

getting points AND labels to look right in oblique view

Posted: Tue Feb 15, 2011 9:30 pm
by 16556545
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:
1 - usual chart oblique.jpg
1 - usual chart oblique.jpg (137.32 KiB) Viewed 2791 times
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:
2 - hello3d.JPG
2 - hello3d.JPG (49.68 KiB) Viewed 2797 times
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:
3 - hello3d behind.JPG
3 - hello3d behind.JPG (73.59 KiB) Viewed 2791 times
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

Re: getting points AND labels to look right in oblique view

Posted: Thu Feb 17, 2011 9:54 am
by yeray
Hi Kevin,

This is the same that was discussed here.