File: light.pd

package info (click to toggle)
gem 0.81-7
  • links: PTS
  • area: main
  • in suites: potato
  • size: 4,856 kB
  • ctags: 3,032
  • sloc: cpp: 16,976; ansic: 3,450; sh: 1,901; lex: 1,098; makefile: 309
file content (13 lines) | stat: -rw-r--r-- 840 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
#N canvas;
#X text 50 348 The R G B is the color of the light.;
#X text 50 380 Keep in mind that the attributes have to be set before rendering the vertices \, so if you are trying for frame accurate rendering \, you will want to set the gemhead order to a low nuber so that all of the values of the light get set first.;
#X obj 148 185 light;
#X obj 148 49 gemhead;
#X text 152 12 light;
#X msg 163 87 R G B;
#X msg 179 127 x y z;
#X text 48 240 light produces a light which is local to the scene (unlike world_light which is at an infinite distance). Because light is local light \, there is more computation required. Use a world_light if you don't mind parallet light rays.;
#X text 49 304 The X Y Z is a point in space which is where the light will be located.;
#X connect 3 0 2 0;
#X connect 5 0 2 1;
#X connect 6 0 2 2;