Page 1 of 1

null points in 3d surface

Posted: Wed May 17, 2006 11:54 pm
by 8443014
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

Posted: Thu May 18, 2006 8:50 am
by narcis
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.

Posted: Thu May 18, 2006 5:24 pm
by 8443014
Thanks for the info.

What you suggest works only if OpenGL is turned off.

I need OpenGL on for speed reasons.

Any other suggestions ?

Posted: Mon May 22, 2006 9:49 pm
by 8443014
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