Example #1
0
 def ambient_color(self):
     string = "Ambient Color"
     colorlib.RenderColor(self.reflectivity_array, self.lambda_array,
                          string)
     self.reflective_rgb = colorlib.RGB_FromSpec(self.reflectivity_array,
                                                 self.lambda_array)
     return 1
Example #2
0
 def thermal_color(self):
     string = "Color at T = " + str(self.T_ml) + " K"
     colorlib.RenderColor(self.thermal_emission_array, self.lambda_array,
                          string)
     self.thermal_rgb = colorlib.RGB_FromSpec(self.thermal_emission_array,
                                              self.lambda_array)
     return 1