How to see a circle from each point of view - TPoint3DSeries

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
ChZiegelt
Newbie
Newbie
Posts: 39
Joined: Thu Aug 09, 2007 12:00 am
Contact:

How to see a circle from each point of view - TPoint3DSeries

Post by ChZiegelt » Mon Aug 11, 2008 4:15 pm

I like to see a full circle or a sphere from where ever I look to a 3D Point.

I am using a 3D chart and the rotate tool. The problem now is, if I look from the side, the Circle is like a plane. I only see a line.

Any idea how to get a result like in TeeOpenGL where a complete sphere is rendered ?

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

Post by Yeray » Tue Aug 12, 2008 7:51 am

Hi ChZiegelt,

Yes, you could achieve it using OpenGL. Pace a TTeeOpenGL into your form and then use the following code:

Code: Select all

TeeOpenGL1.TeePanel := Chart1;  //associate the component to your chart
TeeOpenGL1.Active := True;  //activate the component
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