Writing your own BRDF_ModelThe following two files may be used as templates for
creating new BRDF models: Header file: User/user.h Source code: User/user.cpp The template source code and header files are heavily commented and should help programmers create classes inheriting the properties of BRDF_Model. It will assume that you want to create a model entitled User_BRDF_Model, which will inherit Parent_BRDF_Model, which, in turn, either is or inherits BRDF_Model. It is recommended that you search for all instances of the phrase TODO: and follow the instructions given. Before using the model, the calling program must include the following statements sometime before calling any Get_Model() function: #include "user.h" Register_Model(User_BRDF_Model); For More Information
SCATMECH Technical Information and Questions
Current SCATMECH version: 7.22 (April 2021) |