Search code examples
java3djzy3d

How to paint surfaces in jzy3D with plain colors


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?


Solution

  • 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.