Skip to main content

How to add another material to Gradient 9

  • November 15, 2022
  • 1 reply
  • 160 views

yuan.chen
Zemax Staff
Forum|alt.badge.img+3
Did this topic help you find an answer to your question?

yuan.chen
Zemax Staff
Forum|alt.badge.img+3
  • Zemax Staff
  • November 15, 2022

The GRADIENT_9.DAT is located in the folder <glass> which is set in project preference.
It can be opened by any text editor. Once it's opened, we can add a new material.
?name=image.png
The first line in the file is the name of the material, which can be any name (without special characters (javascript:void(0);) such as spaces or quotes) less than 20 characters long. 
The next 5 lines are the values for B, C, K0, K1, and K2. There are no blank lines allowed between blocks.
Here is how these parameters are used:
?name=image.png
Once the parameters are edited, we can save the GRADIENT_9.DAT file and set it in lens data editor.
?name=image.png


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings