This file is indexed.

/usr/share/dx/samples/scripts/AmbientLight is in dxsamples 4.4.0-3.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
// Import the data
electrondensity = Import("watermolecule");

// Partition the data
electrondensity = Partition(electrondensity);

// Create an isosurface at a value of 0.3
isosurface = Isosurface(electrondensity,0.3);

// Create a camera appropriate for the isosurface
camera = AutoCamera(isosurface);

// The light will come from the direction [1 1 1]
lightdirection= [1 1 1];

// The light will be red
lightcolor = [1 0 0];

// Create the distant light
distantlight = Light(lightdirection, lightcolor);

// The ambient light color will be green
ambientcolor = [0.0 0.2 0.0];

// Create the ambient light
ambientlight = AmbientLight(ambientcolor);

// Collect the isosurface, the ambient light and the distant light
collected = Collect(isosurface, ambientlight, distantlight);

// Display the collection, using the camera
Display(collected,camera);