libigl v2.5.0
Loading...
Searching...
No Matches
material_colors.h
Go to the documentation of this file.
1// This file is part of libigl, a simple c++ geometry processing library.
2//
3// Copyright (C) 2013 Alec Jacobson <alecjacobson@gmail.com>
4//
5// This Source Code Form is subject to the terms of the Mozilla Public License
6// v. 2.0. If a copy of the MPL was not distributed with this file, You can
7// obtain one at http://mozilla.org/MPL/2.0/.
8#ifndef IGL_MATERIAL_COLORS_H
9#define IGL_MATERIAL_COLORS_H
10#include <Eigen/Core>
11
16namespace igl
17{
18 // Gold/Silver used in BBW/MONO/STBS/FAST
19 const float GOLD_AMBIENT[4] = { 51.0/255.0, 43.0/255.0,33.3/255.0,1.0f };
20 const float GOLD_DIFFUSE[4] = { 255.0/255.0,228.0/255.0,58.0/255.0,1.0f };
21 const float GOLD_SPECULAR[4] = { 255.0/255.0,235.0/255.0,80.0/255.0,1.0f };
22 const float SILVER_AMBIENT[4] = { 0.2f, 0.2f, 0.2f, 1.0f };
23 const float SILVER_DIFFUSE[4] = { 1.0f, 1.0f, 1.0f, 1.0f };
24 const float SILVER_SPECULAR[4] = { 1.0f, 1.0f, 1.0f, 1.0f };
25 // Blue/Cyan more similar to Jovan Popovic's blue than to Mario Botsch's blue
26 const float CYAN_AMBIENT[4] = { 59.0/255.0, 68.0/255.0,255.0/255.0,1.0f };
27 const float CYAN_DIFFUSE[4] = { 94.0/255.0,185.0/255.0,238.0/255.0,1.0f };
28 const float CYAN_SPECULAR[4] = { 163.0/255.0,221.0/255.0,255.0/255.0,1.0f };
29 const float DENIS_PURPLE_DIFFUSE[4] = { 80.0/255.0,64.0/255.0,255.0/255.0,1.0f };
30 const float LADISLAV_ORANGE_DIFFUSE[4] = {1.0f, 125.0f / 255.0f, 19.0f / 255.0f, 0.0f};
31 // FAST armadillos colors
32 const float FAST_GREEN_DIFFUSE[4] = { 113.0f/255.0f, 239.0f/255.0f, 46.0f/255.0f, 1.0f};
33 const float FAST_RED_DIFFUSE[4] = { 255.0f/255.0f, 65.0f/255.0f, 46.0f/255.0f, 1.0f};
34 const float FAST_BLUE_DIFFUSE[4] = { 106.0f/255.0f, 106.0f/255.0f, 255.0f/255.0f, 1.0f};
35 const float FAST_GRAY_DIFFUSE[4] = { 150.0f/255.0f, 150.0f/255.0f, 150.0f/255.0f, 1.0f};
36 // Basic colors
37 const float WHITE[4] = { 255.0/255.0,255.0/255.0,255.0/255.0,1.0f };
38 const float BLACK[4] = { 0.0/255.0,0.0/255.0,0.0/255.0,1.0f };
39 const float WHITE_AMBIENT[4] = { 255.0/255.0,255.0/255.0,255.0/255.0,1.0f };
40 const float WHITE_DIFFUSE[4] = { 255.0/255.0,255.0/255.0,255.0/255.0,1.0f };
41 const float WHITE_SPECULAR[4] = { 255.0/255.0,255.0/255.0,255.0/255.0,1.0f };
42 const float BBW_POINT_COLOR[4] = {239./255.,213./255.,46./255.,255.0/255.0};
43 const float BBW_LINE_COLOR[4] = {106./255.,106./255.,255./255.,255./255.};
44 const float MIDNIGHT_BLUE_DIFFUSE[4] = { 21.0f/255.0f, 27.0f/255.0f, 84.0f/255.0f, 1.0f};
45 // Winding number colors
46 const float EASTER_RED_DIFFUSE[4] = {0.603922,0.494118f,0.603922f,1.0f};
47 const float WN_OPEN_BOUNDARY_COLOR[4] = {154./255.,0./255.,0./255.,1.0f};
48 const float WN_NON_MANIFOLD_EDGE_COLOR[4] = {201./255., 51./255.,255./255.,1.0f};
49 const Eigen::Vector4f
50 MAYA_GREEN(128./255.,242./255.,0./255.,1.),
51 MAYA_YELLOW(255./255.,247./255.,50./255.,1.),
52 MAYA_RED(234./255.,63./255.,52./255.,1.),
53 MAYA_BLUE(0./255.,73./255.,252./255.,1.),
54 MAYA_PURPLE(180./255.,73./255.,200./255.,1.),
55 MAYA_VIOLET(31./255.,15./255.,66./255.,1.),
56 MAYA_GREY(0.5,0.5,0.5,1.0),
57 MAYA_CYAN(131./255.,219./255.,252./255.,1.),
58 MAYA_SEA_GREEN(70./255.,252./255.,167./255.,1.);
59}
60#endif
Definition AABB.h:17
const Eigen::Vector4f MAYA_RED(234./255., 63./255., 52./255., 1.)
const float WN_NON_MANIFOLD_EDGE_COLOR[4]
Definition material_colors.h:48
const float FAST_GRAY_DIFFUSE[4]
Definition material_colors.h:35
const Eigen::Vector4f MAYA_VIOLET(31./255., 15./255., 66./255., 1.)
const float GOLD_AMBIENT[4]
Definition material_colors.h:19
const float SILVER_DIFFUSE[4]
Definition material_colors.h:23
const float BBW_LINE_COLOR[4]
Definition material_colors.h:43
const float CYAN_SPECULAR[4]
Definition material_colors.h:28
const float SILVER_AMBIENT[4]
Definition material_colors.h:22
const float LADISLAV_ORANGE_DIFFUSE[4]
Definition material_colors.h:30
const float MIDNIGHT_BLUE_DIFFUSE[4]
Definition material_colors.h:44
const float DENIS_PURPLE_DIFFUSE[4]
Definition material_colors.h:29
const Eigen::Vector4f MAYA_CYAN(131./255., 219./255., 252./255., 1.)
const float FAST_GREEN_DIFFUSE[4]
Definition material_colors.h:32
const float CYAN_AMBIENT[4]
Definition material_colors.h:26
const float WHITE[4]
Definition material_colors.h:37
const float WHITE_AMBIENT[4]
Definition material_colors.h:39
const Eigen::Vector4f MAYA_YELLOW(255./255., 247./255., 50./255., 1.)
const Eigen::Vector4f MAYA_SEA_GREEN(70./255., 252./255., 167./255., 1.)
const float GOLD_SPECULAR[4]
Definition material_colors.h:21
const Eigen::Vector4f MAYA_BLUE(0./255., 73./255., 252./255., 1.)
const float FAST_BLUE_DIFFUSE[4]
Definition material_colors.h:34
const float GOLD_DIFFUSE[4]
Definition material_colors.h:20
const float BBW_POINT_COLOR[4]
Definition material_colors.h:42
const float WHITE_SPECULAR[4]
Definition material_colors.h:41
const float CYAN_DIFFUSE[4]
Definition material_colors.h:27
const float EASTER_RED_DIFFUSE[4]
Definition material_colors.h:46
const float BLACK[4]
Definition material_colors.h:38
const Eigen::Vector4f MAYA_GREY(0.5, 0.5, 0.5, 1.0)
const float SILVER_SPECULAR[4]
Definition material_colors.h:24
const float WN_OPEN_BOUNDARY_COLOR[4]
Definition material_colors.h:47
const float WHITE_DIFFUSE[4]
Definition material_colors.h:40
const Eigen::Vector4f MAYA_PURPLE(180./255., 73./255., 200./255., 1.)
const float FAST_RED_DIFFUSE[4]
Definition material_colors.h:33
const Eigen::Vector4f MAYA_GREEN(128./255., 242./255., 0./255., 1.)