Hi Stevo,
Color and brightness are dependent on each other. When you change color - you change brightness and vice versa, although different colors of same brightness exist as well. A color is defined by amount (brightness) of basic color components (RGB in our case). On the other hand brightness can be roughly calculated as an average of basic colors amounts as follows:
L=(R+G+B)/3
where L is brightness; R - amount of red component; G - amount of green and B - amount of blue. As I said, this equation is very rough because it doesn't takes in account sensitivity of human eye to different wave lengths (i.e. colors), which is significantly higher in green area than in red and blue.
To your second question. Add IFIN1 command as follows:
Color and brightness are dependent on each other. When you change color - you change brightness and vice versa, although different colors of same brightness exist as well. A color is defined by amount (brightness) of basic color components (RGB in our case). On the other hand brightness can be roughly calculated as an average of basic colors amounts as follows:
L=(R+G+B)/3
where L is brightness; R - amount of red component; G - amount of green and B - amount of blue. As I said, this equation is very rough because it doesn't takes in account sensitivity of human eye to different wave lengths (i.e. colors), which is significantly higher in green area than in red and blue.
To your second question. Add IFIN1 command as follows:
db 'R','I','F','F'
dd bgl_data_end - $ - 4
db 'M','D','L','9'
db 'M','D','L','H'
dd visual_model_header_end - $ - 4
dd visual_model_header_end - $ - 4
dd 0
dd 0
dd 2
dd 0
dd 0
dd 156
db 'F','S','8','0'
dd 2304
visual_model_header_end label dword
db 'B','B','O','X'
dd bounding_box_riff_end - $ - 4
real4 -100.000, -100.000, -100.000
real4 100.000, 100.000, 100.000
bounding_box_riff_end label word
db 'E','X','T','E'
dd exterior_riff_end_0 - $ - 4
db 'B','G','L',' '
dd bgl_riff_end_DicksLight - $ - 4
IFIN1 bgl_riff_end_DicksLight, tod, 2, 4
BGL_LIGHT LIGHT_TAXI, 0.0, 0.0, 0.0, 0, 0.0, 0.0, 000FFFFFFh, 0.0, 0.0, 0.0
bgl_riff_end_DicksLight label word
exterior_riff_end_0 label word
bgl_data_end label word
Last edited: