3

Recommendations for Building Cinema 4D R21 C++ Plugins

Changes introduced with Cinema 4D R21 make it necessary to recompile C++ plugins.


The MSVC settings of the R21 SDK enable support for Advanced Vector Extensions (AVX) by default. Clients, that do not support this instruction set, cannot load the created plugin binaries.

The AVX settings are defined in the frameworks\settings\Base.props file. To disable AVX support, simply remove the line

<EnableEnhancedInstructionSet>AdvancedVectorExtensions</EnableEnhancedInstructionSet>


On macOS, it is advised to enable the legacy build system when using Xcode 10.1+. The legacy build system is enabled under “File” / “Project Settings” / “Section Shared Project Settings/Build System” / “Legacy Build System”.

Sebastian Bach

Sebastian Bach

SDK Support Specialist I have a degree in media production and specialized in 3D graphics and programming. In the last years I worked on several commercial plugins for Cinema 4D and 3ds max including render engines, asset management and modeling tools.

3 Comments

  1. I tested with a trial version and the ProRender is not available on systems which do not have the AVX processor feature. Will we see change in behavior with the next R21 Update so that ProRender will work on non AVX enabled processors ?

  2. Hi Kurt, no changes in behavior are expected for future revision of Cinema with regard to AVX support.

    • Hi Riccardo,

      well, I can’t understand why this AVX option has been enabled by default in the SDK.

      More logical would be the reverse – allow third parties to enable this AVX option only when really needed but do not enable it by default.

      Nearly all third party renderer run into this AVX trap – nobody needs AVX but if no AVX enabled CPU is available the whole AddIn does not work.

      At least I would expect from Maxon an explaination why this has been done.
      What benefits do we with AVX related to ProRenderer usage.

      I would also recommend to Maxon that the system requirements should be changed.
      When I rememeber right, no AVX enabled CPU has been an requirement but without AVX
      the complete C4D package can’t be used (ProRender does not work).

Leave a Reply

Your email address will not be published. Required fields are marked *