Import - Materials tab The Materials options tab can be found at the bottom of the .Obj Import dialog. This tab controls how new Materials are created and is further broken down into "Options", "Channels", "Textures" and "Special" tabs. The individual options are detailed below... ![]() This sub-tab is the 'master control' that determines whether Materials are created and/or updated as well as whether Texture Tags are created. The top 3 options are mutually exclusive... Don't Load Materials -
Always Create New Materials -
Only Create Missing Materials -
...note that this sub-tab controls whether or not Materials are created or modified... how they get created/modifed is further controlled by the other sub-tabs.
![]() This sub-tab determines whether some specific Cinema 4D Material channel* is affected or not.
(*
The 'Reflection' channel option may or may not yet be 'hooked
up'. As of this writing, I'm still investigating it, but I wanted
to make a place-holder for it) ![]() Load Textures - This option is found in the header area at the top of this tab. It is the 'master control' that determines whether any texture files are loaded or not. If this option is disabled, none of the other options on the Texture sub-tab matter (in fact, those options will be 'ghosted'). The "Mix Mode" and "Sampling" options just allow you to preset those same Cinema 4D Material/Texture settings (the .mtl file doesn't have this information). The "Suggested Path" option allows you to provide a specific folder to look in for any texture files... Note that Riptide Pro doesn't actually load any texture files. It mearly tells Cinema 4D the name(s) of the texture files and Cinema 4D will look in the "Texture Paths" preferences setting (where you, the user, can set up to 10 different paths to look in) for those files. With the above in mind, this new "Suggested Path" option allows you to provide yet another (but specific to each Riptide Pro 'Preset') path to look in. When there is some path listed here, Riptide Pro will scan that specific folder and if it finds the texture file it's looking for there, it will tell C4D the full path+filename. If it doesn't find the file there, it just tells C4D the filename and C4D will look in the various "Texture Paths" that you have set up in C4D Preferences for the file(s).
![]() This set of options was only added for a very special-case situation and is typically never needed for .obj files that most users deal with*... The .mtl file format contains "material descriptions". These descriptions can contain information about the RGB colors to use for various channels, texture file names, bump map file names, transparency and specular information, etc. that Riptide Pro converts into basic Cinema 4D Materials. The .obj file in turn contains information the tells the plugin which material to use on which Polygons/Faces - some software allows for material information at the Vertex/Point level, but the .obj file format has no provision for this. Because of the above limitation (no vertex-level material/color info), some software can export .mtl files that have a "material per polygon". This can result in .mtl files with literally thousands, tens-of-thousands or even millions of defined materials(!). These materials would only contain RGB 'color' info, but Cinema 4D was not designed to handle so many materials - to the point where it might take hours (days?) to fully set up and track so many materials - leading to the user thinking that the program has crashed (which it might, but it's likely just "busy" processing it all).
Ok, with the above in mind, if you ever find yourself dealing with these humongous .mtl files, the best option would be to NOT load materials at all. The next-best option would be to use this "Special" tab to have the plugin merge "similar color" materials into fewer numbers of materials. The RGB sliders range from 1 -> 16, with 1 being the smallest delta (least reduction) and 16 being the largest delta (most reduction). So, for example, if you have one material with the RGB colors: 4|5|2 and another material with 5|5|2, the those would end up being merged, even with a '1' delta. If there was a third material 6|5|2, it would be merged with the second material** (with a 1 delta), but would only be merged with the first material if the Red delta was set to 2 or more.
|