示例#1
0
 private void initializeLights(Scene scene)
 {
     //light
     FixedLight test_light4 = new FixedLight(8, new Vector3(20, 20, 30), Color.Red);
     scene.AddLight(test_light4);
     FixedLight test_light2 = new FixedLight(14, new Vector3(20, 10, 30), Color.Blue);
     scene.AddLight(test_light2);
     FixedLight test_light3 = new FixedLight(14, new Vector3(10, 20, 30), Color.Green);
     scene.AddLight(test_light3);
 }
示例#2
0
 private void initializeLights(Scene scene)
 {
     //light
     FixedLight test_light4 = new FixedLight(14, new Vector3(14, 14, 0), new Color(200,122,50));
     FixedLight test_light5 = new FixedLight(10, new Vector3(10, 21, 0), Color.Yellow);
     FixedLight test_light6 = new FixedLight(10, new Vector3(21, 10, 0), Color.Blue);
     scene.AddLight(test_light4);
     //scene.AddLight(test_light5);
     //scene.AddLight(test_light6);
 }