GRASS GIS 7 Programmer's Manual
7.9.dev(2021)-e5379bbd7
|
Nviz library – Change lighting settings. More...
Go to the source code of this file.
Functions | |
int | Nviz_set_light_position (nv_data *data, int num, double x, double y, double z, double w) |
Set light position. More... | |
int | Nviz_set_light_bright (nv_data *data, int num, double value) |
Set light brightness. More... | |
int | Nviz_set_light_color (nv_data *data, int num, int red, int green, int blue) |
Set light color. More... | |
int | Nviz_set_light_ambient (nv_data *data, int num, double value) |
Set light ambient. More... | |
int | Nviz_init_light (nv_data *data, int num) |
Init new light. More... | |
int | Nviz_new_light (nv_data *data) |
Define new light. More... | |
void | Nviz_draw_model (nv_data *data) |
Draw lighting model. More... | |
Nviz library – Change lighting settings.
Based on visualization/nviz/src/lights.c
(C) 2008, 2010 by the GRASS Development Team This program is free software under the GNU General Public License (>=v2). Read the file COPYING that comes with GRASS for details.
Definition in file lights.c.
void Nviz_draw_model | ( | nv_data * | data | ) |
int Nviz_init_light | ( | nv_data * | data, |
int | num | ||
) |
int Nviz_new_light | ( | nv_data * | data | ) |
int Nviz_set_light_ambient | ( | nv_data * | data, |
int | num, | ||
double | value | ||
) |
int Nviz_set_light_bright | ( | nv_data * | data, |
int | num, | ||
double | value | ||
) |
int Nviz_set_light_color | ( | nv_data * | data, |
int | num, | ||
int | red, | ||
int | green, | ||
int | blue | ||
) |