Skip to main content

Missing VignetteCode at IRayTraceNormPolData

  • June 24, 2020
  • 1 reply
  • 65 views

Hello,

I was wondering why there is no vignetteCode at IRayTraceNormPolData, even if it can be found at all other functions as IRayTraceNormUnpolData, IRayTraceDirectUnpolData and IRayTraceDirectPolData. Is there a reason for this? As a workaround, one could use these alternative functions but which makes the coding much more cumbersome.

Thank you and best regards, 

Gregor 

Did this topic help you find an answer to your question?

1 reply

Ali H
Forum|alt.badge.img+1
  • Visible
  • 32 replies
  • June 24, 2020

Hi Gregor,

If you require a polarized ray trace that checks for vignetting and you have normalized coordinates, you can convert from normalized coordinates to direct coordinates using the GetDirectFieldCoordinates() method of the IBatchRayTrace interface. Note that the GetDirectFieldCoordinates() method returns direct coordinates at Surface 0.

You might want to check out the new Help File Section on the BatchRayTrace interfaces:

The Programming Tab > About the ZOS-API > Tracing Large Numbers of Rays (About the ZOS-API)

Best,

Ali


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