PageRenderTime 103ms CodeModel.GetById 28ms app.highlight 42ms RepoModel.GetById 19ms app.codeStats 0ms

/jEdit/tags/jedit-4-2-pre14/modes/rib.xml

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