Layers question
All  1-5  6-8

Previous
Next
 From:  Michael Gibson
6223.6 In reply to 6223.5 
Hi Randy, the order of the styles list in MoI will be preserved in the materials list in the companion .mtl file that is generated alongside the .obj file.

Inside the .obj file, faces are gathered into smoothing group chunks and there isn't any style related ordering to the faces list, faces just reference materials and if you need an ordering to the material you would need to find it in the .mtl file to find its original order in MoI. However only styles that are actually being used will be emitted to the .mtl file so to replicate the MoI style index values exactly you would need to eliminate unused styles before doing the export.


> <...> polygon selection tags in the OBJ file?

As far as I know there isn't anything in OBJ files called a "selection tag", there is an "object name" and a "group name", do you mean one of those?

There is also an option in moi.ini to use the style name as the group name for the object, that probably won't help you deal with ordering but I just wanted to mention it in case it's useful:
http://moi3d.com/forum/index.php?webtag=MOI&msg=5790.2


Hope this helps!

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Randy (RANDYGESKE)
6223.7 In reply to 6223.6 
Looks like Cinema4D wasn't utilizing the .mtl file when importing. I imported it using the Riptide plug-in and it did utilize the .mtl file. Now materials and selection tags in C4D are both named the same as the original style in Moi. Perfect!

Thanks for your help, Michael!

-Randy
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
 From:  macray
6223.8 In reply to 6223.7 
Randy,

there is also a python script for importing .mtl files in case you don't want to use riptide.

you can find it here http://c4d-jack.de/site/en/downloads/cat_view/82-python-skripte.html
it's called mtl-import... :)

What you see is what you believe - so don't. (from an Amiga500 demo)
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All

 

 
 
Show messages: All  1-5  6-8