Skip to main content

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 

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