How to generate the board and pieces?

MegaPOV

POV Sources

Board.pov Board POVRAY Source Code Board.pov
Black.pov Black POVRAY Source Code Black.pov
White.pov White POVRAY Source Code White.pov POV-Ray Unofficial 3.7 for Mac.