// Copyright (c) 2010-2022, Lawrence Livermore National Security, LLC. Produced // at the Lawrence Livermore National Laboratory. All Rights reserved. See files // LICENSE and NOTICE for details. LLNL-CODE-443271. // // This file is part of the GLVis visualization tool and library. For more // information and source code availability see https://glvis.org. // // GLVis is free software; you can redistribute it and/or modify it under the // terms of the BSD-3 license. We welcome feedback and contributions, see file // CONTRIBUTING.md for details. #include "material.hpp" #include Material materials[5] = { { { 0.8, 0.8, 0.8, 1.0 }, { 0.8, 0.8, 0.8, 1.0 }, { 1.0, 1.0, 1.0, 1.0 }, 100 }, { { 0.3, 0.3, 0.3, 1.0 }, { 0.7, 0.7, 0.7, 1.0 }, { 0.8, 0.8, 0.8, 1.0 }, 20 }, { { 0.3, 0.3, 0.3, 1.0 }, { 1.0, 1.0, 1.0, 1.0 }, { 0.0, 0.0, 0.0, 1.0 }, 0 }, { { 0.24725, 0.1995, 0.0745, 1.0 }, { 0.75164, 0.60648, 0.22648, 1.0 }, { 0.628281, 0.555802, 0.366065, 1.0 }, 51.2 }, { { 0.0, 0.0, 0.0, 1.0 }, { 0.8, 0.8, 0.8, 1.0 }, { 0.1, 0.1, 0.1, 1.0 }, 1.0 } }; Light lights[] = { { { 1.0, 1.0, 1.0, 0.0 }, { 0.9, 0.9, 0.9, 1.0 }, { 0.8, 0.8, 0.8, 1.0 } }, { { 0.5, 0.5, 1.0, 0.0 }, { 0.5, 0.5, 0.5, 1.0 }, { 1.0, 1.0, 1.0, 1.0 } }, { { 0.0, 0.0, 1.0, 0.0 }, { 0.5, 0.5, 0.5, 1.0 }, { 0.0, 0.0, 0.0, 1.0 } }, { { 0.0, 0.0, 1.0, 0.0 }, { 0.7, 0.7, 0.7, 1.0 }, { 0.6, 0.6, 0.6, 1.0 } } }; std::array amb_setting[] = { { 0.3, 0.3, 0.3, 1.0 }, { 0.5, 0.5, 0.5, 1.0 }, { 0.5, 0.5, 0.5, 1.0 }, { 0.5, 0.5, 0.5, 1.0 }, { 0.5, 0.5, 0.5, 1.0 } }; Light lights_4[] = { { { 1.0, 0.0, 1.0, 0.0 }, { 0.4, 0.0, 0.0, 1.0 }, { 0.3, 0.3, 0.3, 1.0 } }, { { 1.0, 1.0, 1.0, 0.0 }, { 0.0, 0.4, 0.0, 1.0 }, { 0.3, 0.3, 0.3, 1.0 } }, { { 0.0, 1.0, 1.0, 0.0 }, { 0.0, 0.0, 0.4, 1.0 }, { 0.3, 0.3, 0.3, 1.0 } } };