Data Fields
AtCameraOutput Struct Reference

Camera ray creation outputs. More...

#include <ai_cameras.h>

Data Fields

AtVector origin
 ray origin in camera space (required)
 
AtVector dir
 ray direction in camera space (required)
 
AtVector dOdx
 
AtVector dOdy
 derivative of the ray origin with respect to the pixel coordinates (optional - defaults to 0)
 
AtVector dDdx
 
AtVector dDdy
 derivative of the ray direction with respect to the pixel coordinates (optional - defaults to 0)
 
AtRGB weight
 weight of this ray (used for vignetting) (optional - defaults to AI_RGB_WHITE)
 

Detailed Description

Camera ray creation outputs.

If the d*d* derivatives are left to their default value of zero, an accurate numerical estimate will be automatically computed for them to prevent catastrophic degradation of texture IO performance. Note that this estimate might not be as good as analytically computed derivatives but will often be good enough.


The documentation for this struct was generated from the following file:

© 2009-2018 Solid Angle SL · all rights reserved · www.solidangle.com