Custom Plugin Interface

Create an interface for loading custom plugins. With this C++ interface, you can define interface commands for resizing, as well as mouse/keyboard input and other user interface elements. Write code to stream VRED rendered content to another client, such as a smartphone. Execute Python commands. We've provided this zipped folder containing everything needed to create your own plugin, along with a README explaining how to compile and install it.

To check whether a plugin was loaded, go to Edit > Preferences > General Settings > Plugins, then scroll through the list to locate the plugin.

README for the Custom Plugin Interface

This is also available in the zipped folder containing everything needed to create your own plugin.

This explains how to compile and install the custom plugin interface. To compile the UserPluginDemo example do the following:

Using Visual Studio 2017 (or higher)

  1. Open a Visual Studio 2017 (or higher) Developer command prompt.
  2. Change the current directory to ...\VREDUserPlugin-xx.x\example.
  3. Run nmake.

Using mingw64

  1. Change the current directory to ...\VREDUserPlugin-xx.x\example.
  2. Open Windows cmd and execute g++.exe -static-libgcc -static-libstdc++ -shared vrUserPluginDemo.cpp -I../include -o vrUserPluginDemo.dll.

There are two ways to install the plugin.

  1. Either:

    • Set the VRED_USER_PLUGINS_PATH environment variable to the path of the plugin, e.g., ...\VREDUserPlugin-xx.x\bin"

    • Copy vrUserPluginDemo.dll to C:\Program Files\Autodesk\VREDPro-<internalVersion>\lib\plugins\WIN64\UserPlugins

  2. Execute VRED.