
Surfaces can be refractive, reflective, diffractive and gradient index. In Sequential Mode, a surface defines the boundaries between optical materials.OpticStudio can be customized with User-Defined DLLs. This article will provide a step-by-step guide on how to compile a DLL. Any program can be used to compile the C/C++ code, but one of the most readily available is Visual Studio. OpticStudio Professional and Premium allow users to link their own optical components through a C or C++ program. Please note that this article does not show how to write a new DLL.Īuthored By Alexandra Culler, Michael Humphreys, Sandrine Auriol Introduction

It will also discuss other compilers that are available. It will also briefly go over what User-Defined DLLs are. This tutorial was built with Visual Studio Community 2017 version 15.9 but these steps will work with previous versions of the program as well.

This article will show how to compile a User-Defined DLL in Visual Studio.
