Table of Contents

IG.MaterialRenderer

Command line preparation tool

Platforms: Windows, MacOS

To use the IG Blender script to render materials in waveform, there are some steps and stumbling blocks to overcome.

The IG.MaterialRenderer command line tool helps to set up and create necessary settings and files.

Download the software from here:

Windows binary Archiv, Version 1.0.2

MacOS binary Archiv, Version 1.0.1

Just extract the zip to a folder of your choice and start the program with “MaterialRenderer.exe” (Windows) or “MaterialRenderer” (MacOS).

The program will guide you through the setup process up to the creation of the startup files.

Before you start, check the following requirements:

The default waveform geometry is optimized for showing an 15×15 cut-out, which corresponds to the texture with a patch size of 15×15.

History

Version 1.0.2

Version 1.0.1

Step by Step

The program will guide you step by step through the following points:

When the program is successfully finished, the rendering process can be started by launching a batch file on Windows or an shell script file on MacOS.

MacOS Windows differences

There are some differences:

  1. On Windows, the program can check if blender is installed. On MacOS, this check is not possible. Skip the installation task if Blender is installed on MacOS.
  2. On macOS, vim is always used to edit the index.json if selected. On Windows, the editor app or a program associated with .json is selected.
  3. Under MacOS, if selected as a step, the Blender installation is offered as either an Apple Silicon package or Intel package. For newer Apple computers with M1 chip or above, the Apple Silicon variant should always be selected. The Intel variant is supported on all, but especially older Apple machines with Intel processors.
  4. Under MacOS an shell script called “MaterialRenderer.sh” is created to start the rendering process. For the script to start successfully, it must be marked as an executable file using chmod +x.

Important files

Settings for the renderer can be adjusted later in the configuration.ini.

The index.json file contains all information about the materials. If necessary, the list should be edited. if, for example, only a subset of the materials is to be rendered.

The default texture for the waveform is always located in the “wave.geo” directory and can be swapped if necessary.

Restrictions

At the moment the command line tool only supports creating materials via IG.Creator (bridge server). However, support for the IG.MatServer can be made available in the near future.