Please note: SciChart team will only answer questions from customers with active support subscriptions. Expired support questions will be ignored. If your support status shows incorrectly, contact us and we will be glad to help.

0

0

Hello,

I need to draw a three-dimensional surface with a special coloring according to the fourth dimension. I tried to do this using the texture. But I did not find examples of how to do it. This code only works if you specify the size of the texture 1024×1.

One of the options allows you to apply a texture to the surface, you can see a screenshot below.

.

The way this works is there is a BrushColorPalette applied to the SurfaceMeshRenderableSeries3D.ColorPalette property. This accepts type Brush so you can use a Visual Brush and place an image in there.

If you want finer grained control over the texture applied you can always inherit MeshColorPalette and provide your own implementation. For instance, the code for BrushColorPalette is like this: