1 <?xml version="1.0"?>
\r
2 <!DOCTYPE MODE SYSTEM "xmode.dtd">
\r
4 jEdit edit mode for Renderman Interface Bytestream (*.rib) files
\r
5 version 1.0 - 9 nov 2003
\r
6 by Alessandro Falappa (alessandro@falappa.net)
\r
7 Initial keyword list taken from a syntax highlighting definition
\r
8 for TextPad text editor by Kharitonov Konstantin (aqua@sm.bmstu.ru)
\r
12 <PROPERTY NAME="lineComment" VALUE="#" />
\r
13 <PROPERTY NAME="indentNextLines" VALUE="Begin|WorldBegin|FrameBegin|TransformBegin|AttributeBegin|SolidBegin|ObjectBegin|MotionBegin" />
\r
14 <PROPERTY NAME="doubleBracketIndent" VALUE="false" />
\r
16 <RULES ESCAPE="\" IGNORE_CASE="FALSE" HIGHLIGHT_DIGITS="TRUE" DIGIT_RE="([\p{Digit}]+(e[\p{Digit}]*)?)">
\r
17 <EOL_SPAN AT_WHITESPACE_END="TRUE" TYPE="COMMENT1">#</EOL_SPAN>
\r
18 <EOL_SPAN TYPE="COMMENT2">#</EOL_SPAN>
\r
19 <SEQ TYPE="OPERATOR">-</SEQ>
\r
20 <SEQ TYPE="OPERATOR">+</SEQ>
\r
21 <SEQ TYPE="OPERATOR">[</SEQ>
\r
22 <SEQ TYPE="OPERATOR">]</SEQ>
\r
23 <SPAN TYPE="LITERAL1" NO_LINE_BREAK="TRUE" DELEGATE="LITERALS">
\r
28 <KEYWORD1>float</KEYWORD1>
\r
29 <KEYWORD1>string</KEYWORD1>
\r
30 <KEYWORD1>color</KEYWORD1>
\r
31 <KEYWORD1>point</KEYWORD1>
\r
32 <KEYWORD1>vector</KEYWORD1>
\r
33 <KEYWORD1>normal</KEYWORD1>
\r
34 <KEYWORD1>matrix</KEYWORD1>
\r
35 <KEYWORD1>void</KEYWORD1>
\r
36 <KEYWORD1>varying</KEYWORD1>
\r
37 <KEYWORD1>uniform</KEYWORD1>
\r
38 <KEYWORD1>output</KEYWORD1>
\r
39 <KEYWORD1>extern</KEYWORD1>
\r
41 <KEYWORD2>Begin</KEYWORD2>
\r
42 <KEYWORD2>End</KEYWORD2>
\r
43 <KEYWORD2>Declare</KEYWORD2>
\r
44 <KEYWORD2>RtContextHandle </KEYWORD2>
\r
45 <KEYWORD2>ContextHandle </KEYWORD2>
\r
46 <KEYWORD2>Context</KEYWORD2>
\r
47 <KEYWORD2>FrameBegin</KEYWORD2>
\r
48 <KEYWORD2>FrameEnd</KEYWORD2>
\r
49 <KEYWORD2>WorldBegin</KEYWORD2>
\r
50 <KEYWORD2>WorldEnd</KEYWORD2>
\r
51 <KEYWORD2>SolidBegin</KEYWORD2>
\r
52 <KEYWORD2>SolidEnd</KEYWORD2>
\r
53 <KEYWORD2>MotionBegin</KEYWORD2>
\r
54 <KEYWORD2>MotionEnd</KEYWORD2>
\r
55 <KEYWORD2>ObjectBegin</KEYWORD2>
\r
56 <KEYWORD2>ObjectEnd</KEYWORD2>
\r
57 <KEYWORD2>Format</KEYWORD2>
\r
58 <KEYWORD2>FrameAspectRatio</KEYWORD2>
\r
59 <KEYWORD2>ScreenWindow</KEYWORD2>
\r
60 <KEYWORD2>CropWindow</KEYWORD2>
\r
61 <KEYWORD2>Projection</KEYWORD2>
\r
62 <KEYWORD2>Clipping</KEYWORD2>
\r
63 <KEYWORD2>ClippingPlane</KEYWORD2>
\r
64 <KEYWORD2>DepthOfField</KEYWORD2>
\r
65 <KEYWORD2>Shutter</KEYWORD2>
\r
66 <KEYWORD2>PixelVariance</KEYWORD2>
\r
67 <KEYWORD2>PixelSamples</KEYWORD2>
\r
68 <KEYWORD2>PixelFilter</KEYWORD2>
\r
69 <KEYWORD2>Exposure</KEYWORD2>
\r
70 <KEYWORD2>Imager</KEYWORD2>
\r
71 <KEYWORD2>Quantize</KEYWORD2>
\r
72 <KEYWORD2>Display</KEYWORD2>
\r
73 <KEYWORD2>Hider</KEYWORD2>
\r
74 <KEYWORD2>ColorSamples</KEYWORD2>
\r
75 <KEYWORD2>RelativeDetail</KEYWORD2>
\r
76 <KEYWORD2>Option</KEYWORD2>
\r
77 <KEYWORD2>AttributeBegin</KEYWORD2>
\r
78 <KEYWORD2>AttributeEnd</KEYWORD2>
\r
79 <KEYWORD2>Color</KEYWORD2>
\r
80 <KEYWORD2>Opacity</KEYWORD2>
\r
81 <KEYWORD2>TextureCoordinates</KEYWORD2>
\r
82 <KEYWORD2>RtLightHandle</KEYWORD2>
\r
83 <KEYWORD2>LightSource</KEYWORD2>
\r
84 <KEYWORD2>AreaLightSource</KEYWORD2>
\r
85 <KEYWORD2>Illuminate</KEYWORD2>
\r
86 <KEYWORD2>Surface</KEYWORD2>
\r
87 <KEYWORD2>Displacement</KEYWORD2>
\r
88 <KEYWORD2>Atmosphere</KEYWORD2>
\r
89 <KEYWORD2>Interior</KEYWORD2>
\r
90 <KEYWORD2>Exterior</KEYWORD2>
\r
91 <KEYWORD2>ShadingRate</KEYWORD2>
\r
92 <KEYWORD2>ShadingInterpolation</KEYWORD2>
\r
93 <KEYWORD2>Matte</KEYWORD2>
\r
94 <KEYWORD2>Bound</KEYWORD2>
\r
95 <KEYWORD2>Detail</KEYWORD2>
\r
96 <KEYWORD2>DetailRange</KEYWORD2>
\r
97 <KEYWORD2>GeometricApproximation</KEYWORD2>
\r
98 <KEYWORD2>Orientation</KEYWORD2>
\r
99 <KEYWORD2>ReverseOrientation</KEYWORD2>
\r
100 <KEYWORD2>Sides</KEYWORD2>
\r
101 <KEYWORD2>Identity</KEYWORD2>
\r
102 <KEYWORD2>Transform</KEYWORD2>
\r
103 <KEYWORD2>ConcatTransform</KEYWORD2>
\r
104 <KEYWORD2>Perspective</KEYWORD2>
\r
105 <KEYWORD2>Translate</KEYWORD2>
\r
106 <KEYWORD2>Rotate</KEYWORD2>
\r
107 <KEYWORD2>Scale</KEYWORD2>
\r
108 <KEYWORD2>Skew</KEYWORD2>
\r
109 <KEYWORD2>CoordinateSystem</KEYWORD2>
\r
110 <KEYWORD2>CoordSysTransform</KEYWORD2>
\r
111 <KEYWORD2>TransformPoints</KEYWORD2>
\r
112 <KEYWORD2>TransformBegin</KEYWORD2>
\r
113 <KEYWORD2>TransformEnd</KEYWORD2>
\r
114 <KEYWORD2>Attribute</KEYWORD2>
\r
116 <KEYWORD3>Polygon</KEYWORD3>
\r
117 <KEYWORD3>GeneralPolygon</KEYWORD3>
\r
118 <KEYWORD3>PointsPolygons</KEYWORD3>
\r
119 <KEYWORD3>PointsGeneralPolygons</KEYWORD3>
\r
120 <KEYWORD3>Basis</KEYWORD3>
\r
121 <KEYWORD3>Patch</KEYWORD3>
\r
122 <KEYWORD3>PatchMesh</KEYWORD3>
\r
123 <KEYWORD3>NuPatch</KEYWORD3>
\r
124 <KEYWORD3>TrimCurve</KEYWORD3>
\r
125 <KEYWORD3>SubdivisionMesh</KEYWORD3>
\r
126 <KEYWORD3>Sphere</KEYWORD3>
\r
127 <KEYWORD3>Cone</KEYWORD3>
\r
128 <KEYWORD3>Cylinder</KEYWORD3>
\r
129 <KEYWORD3>Hyperboloid</KEYWORD3>
\r
130 <KEYWORD3>Paraboloid</KEYWORD3>
\r
131 <KEYWORD3>Disk</KEYWORD3>
\r
132 <KEYWORD3>Torus</KEYWORD3>
\r
133 <KEYWORD3>Points</KEYWORD3>
\r
134 <KEYWORD3>Curves</KEYWORD3>
\r
135 <KEYWORD3>Blobby</KEYWORD3>
\r
136 <KEYWORD3>Procedural</KEYWORD3>
\r
137 <KEYWORD3>DelayedReadArchive</KEYWORD3>
\r
138 <KEYWORD3>RunProgram</KEYWORD3>
\r
139 <KEYWORD3>DynamicLoad</KEYWORD3>
\r
140 <KEYWORD3>Geometry</KEYWORD3>
\r
141 <KEYWORD3>SolidBegin</KEYWORD3>
\r
142 <KEYWORD3>SolidEnd</KEYWORD3>
\r
143 <KEYWORD3>RtObjectHandle</KEYWORD3>
\r
144 <KEYWORD3>ObjectBegin</KEYWORD3>
\r
145 <KEYWORD3>ObjectEnd</KEYWORD3>
\r
146 <KEYWORD3>ObjectInstance</KEYWORD3>
\r
148 <KEYWORD4>MakeTexture</KEYWORD4>
\r
149 <KEYWORD4>MakeLatLongEnvironment</KEYWORD4>
\r
150 <KEYWORD4>MakeCubeFaceEnvironment</KEYWORD4>
\r
151 <KEYWORD4>MakeShadow</KEYWORD4>
\r
152 <KEYWORD4>ErrorHandler</KEYWORD4>
\r
153 <KEYWORD4>ArchiveRecord</KEYWORD4>
\r
154 <KEYWORD4>ReadArchive</KEYWORD4>
\r
155 <KEYWORD4>Deformation</KEYWORD4>
\r
156 <KEYWORD4>MakeBump</KEYWORD4>
\r
159 <RULES SET="LITERALS" ESCAPE="\" IGNORE_CASE="FALSE" DEFAULT="LITERAL1">
\r
161 <KEYWORD1>float</KEYWORD1>
\r
162 <KEYWORD1>string</KEYWORD1>
\r
163 <KEYWORD1>color</KEYWORD1>
\r
164 <KEYWORD1>point</KEYWORD1>
\r
165 <KEYWORD1>vector</KEYWORD1>
\r
166 <KEYWORD1>normal</KEYWORD1>
\r
167 <KEYWORD1>matrix</KEYWORD1>
\r
168 <KEYWORD1>void</KEYWORD1>
\r
169 <KEYWORD1>varying</KEYWORD1>
\r
170 <KEYWORD1>uniform</KEYWORD1>
\r
171 <KEYWORD1>output</KEYWORD1>
\r
172 <KEYWORD1>extern</KEYWORD1>
\r
174 <LITERAL2>P</LITERAL2>
\r
175 <LITERAL2>Pw</LITERAL2>
\r
176 <LITERAL2>Pz</LITERAL2>
\r
177 <LITERAL2>N</LITERAL2>
\r
178 <LITERAL2>Cs</LITERAL2>
\r
179 <LITERAL2>Os</LITERAL2>
\r
180 <LITERAL2>RI_NULL</LITERAL2>
\r
181 <LITERAL2>RI_INFINITY</LITERAL2>
\r
182 <LITERAL2>orthographic</LITERAL2>
\r
183 <LITERAL2>perspective</LITERAL2>
\r
184 <LITERAL2>bezier</LITERAL2>
\r
185 <LITERAL2>catmull-rom</LITERAL2>
\r
186 <LITERAL2>b-spline</LITERAL2>
\r
187 <LITERAL2>hermite</LITERAL2>
\r
188 <LITERAL2>power</LITERAL2>
\r
189 <LITERAL2>catmull-clark</LITERAL2>
\r
190 <LITERAL2>hole</LITERAL2>
\r
191 <LITERAL2>crease</LITERAL2>
\r
192 <LITERAL2>corner</LITERAL2>
\r
193 <LITERAL2>interpolateboundary</LITERAL2>
\r
194 <LITERAL2>object</LITERAL2>
\r
195 <LITERAL2>world</LITERAL2>
\r
196 <LITERAL2>camera</LITERAL2>
\r
197 <LITERAL2>screen</LITERAL2>
\r
198 <LITERAL2>raster</LITERAL2>
\r
199 <LITERAL2>NDC</LITERAL2>
\r
200 <LITERAL2>box</LITERAL2>
\r
201 <LITERAL2>triangle</LITERAL2>
\r
202 <LITERAL2>sinc</LITERAL2>
\r
203 <LITERAL2>gaussian</LITERAL2>
\r
204 <LITERAL2>constant</LITERAL2>
\r
205 <LITERAL2>smooth</LITERAL2>
\r
206 <LITERAL2>outside</LITERAL2>
\r
207 <LITERAL2>inside</LITERAL2>
\r
208 <LITERAL2>lh</LITERAL2>
\r
209 <LITERAL2>rh</LITERAL2>
\r
210 <LITERAL2>bicubic</LITERAL2>
\r
211 <LITERAL2>bilinear</LITERAL2>
\r
212 <LITERAL2>periodic</LITERAL2>
\r
213 <LITERAL2>nonperiodic</LITERAL2>
\r
214 <LITERAL2>hidden</LITERAL2>
\r
215 <LITERAL2>null</LITERAL2>
\r