null points in 3d surface

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Thomas Klingler
Advanced
Posts: 103
Joined: Tue Mar 02, 2004 5:00 am
Location: Bad Wurzach
Contact:

null points in 3d surface

Post by Thomas Klingler » Wed May 17, 2006 11:54 pm

I'm creating a 3d surface, adding surface points with AddXYZ(x,y,z), the documentation says null (y) surface points are supported.

How do I add them ?

There doesn't seem to be an AddNullXZ(x,z)

Suggestions ?

Later,
Paul

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Thu May 18, 2006 8:50 am

Hi Paul,

You should set cell's colour to clNone to set a Null value as shown in the All Features\Welcome!\Chart Styles\Extended\Surface\With holes example in TeeChart's features demo, available at its program group.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Thomas Klingler
Advanced
Posts: 103
Joined: Tue Mar 02, 2004 5:00 am
Location: Bad Wurzach
Contact:

Post by Thomas Klingler » Thu May 18, 2006 5:24 pm

Thanks for the info.

What you suggest works only if OpenGL is turned off.

I need OpenGL on for speed reasons.

Any other suggestions ?

Thomas Klingler
Advanced
Posts: 103
Joined: Tue Mar 02, 2004 5:00 am
Location: Bad Wurzach
Contact:

Post by Thomas Klingler » Mon May 22, 2006 9:49 pm

The answer to null points in a OpenGL surface is to set NumXValues and NumZValues first and then just don't AddXYZ the points that are null.

Later,
Paul

Post Reply