Hi,
command line solution works at 100%, if the scene is correctly setup, even with external plugins like X-Particles or Forester, or whatever.
Here are some things to check before exporting a c4doctane scene to .orbx:
- Open the scene in c4d, select all materials, then go to Live View menu Materials/Convert Materials, then Remove unused Materials commands, to remove any C4D material in the scene.
- Then go to Live View menu Materials/OctaneTexture Manager, and check that there are no missing texture files in the scene.
- if there are PSD textures in the scene, please convert and replace them to PNG or EXR.
- Please also check that all the textures are listed as ImageTexture, not Bitmap.
Please, always use an ImageTexture node before loading any kind of image into c4doctane:
https://docs.otoy.com/cinema4d/ImageTexture.htmlOctane is a Spectral render engine, so every texture must to be converted to the proper color space before been used.
- Please also check that there are not c4d Shaders in your scene, unless they are C4D Noise or Gradient nodes.
Please note that most of the c4d native shaders are baked on the fly, but this automatic option slows down the process (especially in complex scenes) because the textures are rendered and updated at every interaction, plus, not all the shader are completely supported. In particular, the
Layer shader is not support and you can have incorrect results, and instability, and c4d Shaders cannot be supported in Standalone.
The Layer shader can be replaced with OSL color_layers.osl node that you can find in LiveDB/OTOY/Procedural Textures/Utilities category:
From some versions we have started to add a new option for auto converting c4 shaders into OSL Octane nodes, that is far more stable and productive.
Currently it works for C4D the Noise and Gradient nodes, but more supported nodes are on the way for future versions.
So only keep the OSL option active, and disable the auto baking option.
- about X-Particles, make sure to calculate the XP-Cache before exporting.
- please save the c4d scene on your local hd, before using command line, it doesn't work with network paths like on Dropbox or similar.
Hope it helps,
ciao
Beppe