Page 1 of 1
Group Materials on Import.
Posted: Mon Sep 27, 2010 3:19 am
by BillyRaygun
Is there a way to consolidate objects with the same material? For example, I have 250 plus objects with the same material. When I import the model into Octane, it seems as a material node is created for each object. So I end up with 250 duplicates of the same material.
I'm using Rhino 4. Perhaps Rhino 5 export options solve this issue? Anyway, it's a bit overwhelming and very difficult to manage so many materials/objects when they all have the same materia
Regards,
Billy Raygun
Re: Group Materials on Import.
Posted: Mon Sep 27, 2010 9:13 am
by Nostromo
/ Moved to the rhino plug-in forum /
Re: Group Materials on Import.
Posted: Mon Sep 27, 2010 1:34 pm
by SamPage
BillyRaygun wrote:Is there a way to consolidate objects with the same material?
I'm using Rhino 4. Perhaps Rhino 5 export options solve this issue?
Yes, currently the plug-in uses the default Rhino OBJ exporter, V5 solves these issues. The plan is to have the plug-in use its own obj exporter to give more flexibility and be able to work around such issues. I'm not sure when I will have that completed however.
Sam
Re: Group Materials on Import.
Posted: Mon Sep 27, 2010 7:29 pm
by BillyRaygun
Thanks Sam! That is good news. I'll switch to the Rhino 5 beta when I know I'll be rendering with Octane.
Re: Group Materials on Import.
Posted: Tue Sep 28, 2010 12:38 pm
by **STK**
Convert the nurb geometry with the same material into mesh. Then join all new mesh geometry into one object.Attach the material.Export with Octane
Have Fun!
Re: Group Materials on Import.
Posted: Thu Jun 23, 2011 12:32 pm
by tom_holly
I've uploaded a script to remove and sort the duplicate materials in MTL files when exporting OBJ files from Rhino 3D.
It works for Rhino 4. It may or may not work for other versions.
This is not fully tested, so use at your own risk.
You may post any bugs to me here:
http://www.refractivesoftware.com/forum ... =41&t=7044
http://rhino-3d-obj-mtl-fix.zzl.org/
Cheers, Tom