On Jul 6, 2015, at 5:53 PM, Shubham Chauhan <shubham13...@iiitd.ac.in> wrote:
> I need to extract the color attributes of the .g model file, convert them > into obj files (with other bunch of attributes as well, which I am getting > already) and render it on the geometry viewer. > This requires knowledge of the BRL-CAD mged and g-obj tools and command line > knowledge of the same. > I have looked into the manuals but have got no satisfactory results. > Please help me out on this one. There are a few ways to extract color, but I suggest exploring either MGED's wmater or get_comb command. There is documentation on the wmater command (run "brlman wmater") but not for the get_comb command because it’s considered a developer command. You can read the source to both in src/libged to see what exactly they are writing out. Cheers! Sean ------------------------------------------------------------------------------ Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/ _______________________________________________ BRL-CAD Developer mailing list brlcad-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/brlcad-devel