This file is indexed.

/usr/share/dx/samples/scripts/Shade is in dxsamples 4.2.0-1.

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
// create an isosurface
data = Import("watermolecule");
isosurface = Isosurface(data,0.38);

// create a camera and display
camera = AutoCamera(isosurface);
Display(isosurface,camera);

// use the shade module to create faceted shading (equivalent to using
// FaceNormals
faceted = Shade(isosurface,how="faceted");
Display(faceted, camera);

// now use the shade module to increase the specular component and decrease
// the diffuse component
newiso = Shade(isosurface,specular=0.9, diffuse=0.1);
Display(newiso,camera);