0

I have some surfaces and I want to paint one in red, another un blue...

Tutorial of jzy3D only shows how to paint as a rainbow with ColorMaps:

Any help?

Martin Pernollet
  • 2,285
  • 1
  • 28
  • 39
Roman Rdgz
  • 12,836
  • 41
  • 131
  • 207

2 Answers2

0

I see two ways to do that: 1) You can implement a Colormap that returns your choosen color and to provide it to the surface builder. 2) You can build the surface and then access the polygon points and edit their color object.

Martin Pernollet
  • 2,285
  • 1
  • 28
  • 39
0

My problem was I was using the same set of Polygons for each Shape object. Using differents Polygons and Shapes, it's possible to give a different color to each surface.

Roman Rdgz
  • 12,836
  • 41
  • 131
  • 207