I have uploaded my g-pov.c file along with g-pov.1 file i.e. man file for g-pov on Github. Here is a link for that https://github.com/GurwinderSinghBains/BRL-CAD
Here is screen-shoots sphere in BRL-CAD http://ctrlv.in/418719 sphere in POV-ray http://ctrlv.in/418721 Torus in BRL-CAD http://ctrlv.in/418724 Torus in POV-ray http://ctrlv.in/418726 In POV-ray we have to set camera, its view point and light source location by our own. I think we have to give options to the user for setting camera and light during when s/he performing conversion using g-pov. For that I have given options to user as( -c, -l1, -l2, -l3) "Usage: %s [-xX lvl] [-a abs_tol] [-r rel_tol] [-n norm_tol] [-o out_file] [-c Camera_loc] [-l1 Look_at] [-l2 Light_loc] [-l3 Light_col] brlcad_db.g object(s)" example : $ g-pov -o sample.pov -c 10 0 0 -l1 0 0 0 -l2 0 10 0 -l3 white sample.g sample_object Also some work on Torus's translation, rotation is also required, so soon I will upload after correcting that. Please check this and give your views -- Smile On!! Gurwinder Singh Bains http://gurwindersinghbains93.wordpress.com ------------------------------------------------------------------------------ Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/ _______________________________________________ BRL-CAD Developer mailing list brlcad-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/brlcad-devel