Skip to content

Instantly share code, notes, and snippets.

@ardenpm ardenpm/rsws_importers_iview.md Secret
Last active Jan 24, 2019

Embed
What would you like to do?
Use RealityServer Importers in Iray Viewer

Using RealityServer Importers in Iray Viewer

Introduction

Iray Viewer is an extremely useful tool for testing scene data and experimenting with settings in an interactive fashion. However the default importers that ship with Iray Viewer have significant issues. The importers that are shipped with RealityServer are much better and in general should be used instead. This guide covers how to disable the importers provided with Iray Viewer and install those provided with RealityServer instead.

Setup

Follow these steps to setup the importers correctly.

Copy

Copy the following files from the specified location in your RealityServer directory, to the specified location in your Iray Viewer installation.

RealityServer Location Iray Viewer Location
nt-x86-64\bin\assimp-vc120-mt.dll Windows-x86-64\assimp-vc120-mt.dll
nt-x86-64\bin\assimp-vc120-mt.dll Windows-x86-64\nt-x86-64\assimp-vc120-mt.dll
plugins\assimp-nt-x86-64.dll Windows-x86-64\nt-x86-64\plugins\assimp-nt-x86-64.dll
plugins\obj_importer-nt-x86-64.dll Windows-x86-64\nt-x86-64\plugins\obj_importer-nt-x86-64.dll
mdl\assimp.mdl Windows-x86-64\data\mdl\assimp.mdl
mdl\obj.mdl Windows-x86-64\data\mdl\obj.mdl
mdl\white.png Windows-x86-64\data\mdl\white.png
mdl\black.png Windows-x86-64\data\mdl\black.png
mdl\migenius\gltf.mdl Windows-x86-64\data\mdl\migenius\gltf.mdl

Delete or Rename

To prevent Iray Viewer from loading the old importers you need to rename or delete the plugins associated with them. Delete or rename (if you want to potentially restore their use later) the following two files in your Iray Viewer installation.

Iray Viewer File
Windows-x86-64\nt-x86-64\plugins\assimp_impexp.dll
Windows-x86-64\nt-x86-64\plugins\obj.dll

NOTE this step is important. If you do not do this then Iray Viewer will load both plugins and because they are assoicated with some of the same extensions it will not be clear which is being used.

Confirm

After performing the above steps, when you to to open a file in Iray Viewer you should see a large number of formats available prefixed with Assimp importer as well as two for migenius Obj importer and migenius Mtl importer. You should now get much better results when importing files in formats such as OBJ, glTF 2.0 and FBX in Iray Viewer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.