getting points AND labels to look right in oblique view

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
KevinKillion
Newbie
Newbie
Posts: 11
Joined: Wed Jul 07, 2010 12:00 am

getting points AND labels to look right in oblique view

Post by KevinKillion » 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:
1 - usual chart oblique.jpg
1 - usual chart oblique.jpg (137.32 KiB) Viewed 2806 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 2812 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 2806 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

Yeray
Site Admin
Site Admin
Posts: 9612
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

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

Post by Yeray » Thu Feb 17, 2011 9:54 am

Hi Kevin,

This is the same that was discussed here.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply