Skip to content

syanenko/povgems

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

POV-Ray gems rendering extension

SpectralRenderer extension to POV-Ray, written by Ive of LILYsoft has few excelent examples of gems rendering and set of mineral materials. This repository contains few additions, improving gems rendering techniques and gems geomety in DXF and SDL mesh formats.

I am also included in this repository CousinRicky’s Modifications to SpectralRender.

Preparing data

Few gems designs are present in gems directory. In addition, great source of gems geometry can be found here: http://www.facetdiagrams.org/database

To convert ASC format from this database to DXF GemCad (which is free now) or more modern tool - GemcutStudio can be used. Last also has OBJ export function.

Then, under Windows for DXF / OBJ to SDL convertion you can use PoseRay. If you prefere Unix, use dxf2pov, which also can be compiled under Windows.

Rendering

Edit 'Control center' section in GemsFactory.pov file: uncomment design you want to render and appropriate material.
Play with other setting in this section to adjust lighting, environment, etc.

To render preview image under Unix run GemsPreview.sh or

povray +W640 +H480 +A0.1 +AM2 +R3 +FN -iGemsFactory.pov -o./out/gem

and rendered image will wait for you in out directory. If you under Windows, use keys from this command line in editor's menu: 'Render->Edit settings/Render->Command line options'.

For final spectral rendering under Unix run GemsRender.sh or

povray +W320 +H240 +A0.1 +AM2 +R3 +FE +KI1 +KF36 +KFI38 +KFF73 -iGemsFactory.pov -o./out/gem
povray +W320 +H240 +FN -iGemsComposer.pov -o./out/gem.png

And, again, for Windows, use keys from this command lines in editor's menu:
'Render->Edit settings/Render->Command line options'.

Happy rendering !

image

Contact: LinkedIn

About

Povray gems rendering extention

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published