l0bsterssg

node.js static responsive blog post generator
Log | Files | Refs | README

rib.js (1744B)


      1 /*
      2 Language: RenderMan RIB
      3 Author: Konstantin Evdokimenko <qewerty@gmail.com>
      4 Contributors: Shuen-Huei Guan <drake.guan@gmail.com>
      5 Website: https://renderman.pixar.com/resources/RenderMan_20/ribBinding.html
      6 Category: graphics
      7 */
      8 
      9 function rib(hljs) {
     10   return {
     11     name: 'RenderMan RIB',
     12     keywords:
     13       'ArchiveRecord AreaLightSource Atmosphere Attribute AttributeBegin AttributeEnd Basis ' +
     14       'Begin Blobby Bound Clipping ClippingPlane Color ColorSamples ConcatTransform Cone ' +
     15       'CoordinateSystem CoordSysTransform CropWindow Curves Cylinder DepthOfField Detail ' +
     16       'DetailRange Disk Displacement Display End ErrorHandler Exposure Exterior Format ' +
     17       'FrameAspectRatio FrameBegin FrameEnd GeneralPolygon GeometricApproximation Geometry ' +
     18       'Hider Hyperboloid Identity Illuminate Imager Interior LightSource ' +
     19       'MakeCubeFaceEnvironment MakeLatLongEnvironment MakeShadow MakeTexture Matte ' +
     20       'MotionBegin MotionEnd NuPatch ObjectBegin ObjectEnd ObjectInstance Opacity Option ' +
     21       'Orientation Paraboloid Patch PatchMesh Perspective PixelFilter PixelSamples ' +
     22       'PixelVariance Points PointsGeneralPolygons PointsPolygons Polygon Procedural Projection ' +
     23       'Quantize ReadArchive RelativeDetail ReverseOrientation Rotate Scale ScreenWindow ' +
     24       'ShadingInterpolation ShadingRate Shutter Sides Skew SolidBegin SolidEnd Sphere ' +
     25       'SubdivisionMesh Surface TextureCoordinates Torus Transform TransformBegin TransformEnd ' +
     26       'TransformPoints Translate TrimCurve WorldBegin WorldEnd',
     27     illegal: '</',
     28     contains: [
     29       hljs.HASH_COMMENT_MODE,
     30       hljs.C_NUMBER_MODE,
     31       hljs.APOS_STRING_MODE,
     32       hljs.QUOTE_STRING_MODE
     33     ]
     34   };
     35 }
     36 
     37 module.exports = rib;