// Last edited on 2022-04-10 00:11:30 by stolfi // Global definition of textures for holder and light box. #declare tx_plastic = texture_plastic( < 1.000, 1.000, 0.995 > ) #if (debug_tx) // Textures for debugging: #declare tx_plate_x = texture_plastic( < 1.000, 0.200, 0.200 > ) #declare tx_plate_y = texture_plastic( < 0.000, 1.000, 0.000 > ) #declare tx_plate_z = texture_plastic( < 0.400, 0.400, 1.000 > ) #declare tx_cup = texture_matte( < 1.000, 0.000, 0.000 > ) // Texture for dimples on bot plate. #else // Actual textures: #declare tx_plate_x = texture{ tx_plastic } #declare tx_plate_y = texture{ tx_plastic } #declare tx_plate_z = texture{ tx_plastic } #declare tx_cup = texture{ tx_plastic } // Texture for dimples on bot plate. #end