Page 1 of 1

Problem with some points triSurface

Posted: Thu Jul 13, 2006 1:07 pm
by 9641771
I have a chart and 3 triSurface series. After adding points to these series some part of them is not filled, so that series is not fully drawn(in my example these points are the first points in each serie).
Image
That's why I need to add them again(after that action series are drawn properly). Is this a feature of a bug? If first, could you tell me rules that I take into account while drawing triSurface series.
Thank you.

Posted: Thu Jul 13, 2006 2:40 pm
by narcis
Hi bairog,

You have to be careful with the structure of all series styles derived from Custom3D (Trisurface included). Those series work like a matrix where the cells are defined by X (rows) and Z (columns) values and each cell value is determined by Y values. You have to design your series as being able to be populate by a for nested loop as:

Code: Select all

         for (int x=0; x<10; ++x)
            for (int z=0; z<10; ++z)
               if (x % 2 == 0)
                  surface1.Add(x,x*z,z);
If X and Z values are not equidistant then you should use:

Code: Select all

         surface1.IrregularGrid=true;
Regarding you issue, could you please send us a simple example we can run "as-is" to reproduce the problem here?

You can post your files at news://www.steema.net/steema.public.attachments newsgroup.

Thanks in advance.

Posted: Mon Jul 31, 2006 11:13 am
by narcis
Hi bairog,

Thank you very much for the example. We could reproduce the problem here and added it (TF02011649) to our defect list to be fixed for future releases.