Match Settings with CineRender Surfaces

Load Cinema 4D Settings

Use this command to import the settings of a specific Cinema4D material from an external file; these settings will be loaded for the current surface in ArchiCAD.

From the Match Settings pop-up in Surface Settings, choose the Load C4D Settings command.

LoadC4Surface.png 

In the appearing dialog box, browse for a Cinema 4D file. This can be either a single material or an entire model in Cinema 4D format.

If you choose a model file, a chooser dialog box appears: select the Cinema4D Material you need.

LoadC4DMaterial.png 

Click OK to load the chosen material. Its settings override those of your current surface.

Note: The maximum number of parameters that can be used in a surface is 1024. (See Limit on Number of Surface Parameters, below).

Match CineRender Settings with Internal Engine

All surfaces are specific to the engine for which they are set up: Internal (including OpenGL) or CineRender. If you change a surface parameter for one engine (e.g. Internal), those modifications will not take effect for the same surface parameter if you switch to another engine (e.g. CineRender). Generally, CineRender contains a larger number of more sophisticated parameters than the Internal or OpenGL engines (which are very similar to each other).

Two commands are available to help synchronize the appearance of surface defined in CineRender with its appearance for the Internal (or OpenGL) engine. Note that due to the difference in parameters, the result might only be an approximation. Generally, the basic parameters of simple surfaces will be matched accurately.

From the Match Settings pop-up in Surface Settings:

Internal to Match with CineRender: This will apply the CineRender surface settings to its surface counterpart in Internal/OpenGL.

Note: Because the Internal/OpenGL engine uses relatively few parameters, the effect of this command may be minimal. In particular, the parameters of procedural surfaces (in CineRender) cannot be replicated in Internal/OpenGL.

CineRender to Match from Internal: This will apply the Internal/OpenGL surface settings to its surface counterpart in CineRender.

Limit on Number of Surface Parameters

Because of the many layers of shaders available for CineRender surfaces, you could, in theory, set an unlimited number of parameters for a given surface.

However, in ArchiCAD, the maximum number of parameters that can be used in a surface is 1024. (ArchiCAD uses the surface attribute in GDL objects, too, and the GDL programming language sets a limit of 1024 parameters.)

You may encounter this limit

when loading a surface from a Cinema 4D file (see Load Cinema 4D Settings, above)

when configuring your own custom surface

Appendix_Settings00137.jpg 

The solution is to limit the number of shaders used in the surface, and/or to use a more simple shader structure (limiting the number of embedded layers).