# UD extended fresnel

• Student

Im trying to define an extended fresnel as DLL file.

I wonder how do I define the refractive surface? How to write the DLL script so OS will understand my intention?

I was thinking about defining the substrate surface as sag1 (with us_stand.c), create new variable- sagf, on which Ill define the fresnel surface, and afterwards to define: sag2=sag1+sagf.

Will this attitude work?

P.S Ive attached an image showing my dll idea

### 0 replies

Be the first to reply!