rib.js 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637
  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. function rib(hljs) {
  9. return {
  10. name: 'RenderMan RIB',
  11. keywords:
  12. 'ArchiveRecord AreaLightSource Atmosphere Attribute AttributeBegin AttributeEnd Basis '
  13. + 'Begin Blobby Bound Clipping ClippingPlane Color ColorSamples ConcatTransform Cone '
  14. + 'CoordinateSystem CoordSysTransform CropWindow Curves Cylinder DepthOfField Detail '
  15. + 'DetailRange Disk Displacement Display End ErrorHandler Exposure Exterior Format '
  16. + 'FrameAspectRatio FrameBegin FrameEnd GeneralPolygon GeometricApproximation Geometry '
  17. + 'Hider Hyperboloid Identity Illuminate Imager Interior LightSource '
  18. + 'MakeCubeFaceEnvironment MakeLatLongEnvironment MakeShadow MakeTexture Matte '
  19. + 'MotionBegin MotionEnd NuPatch ObjectBegin ObjectEnd ObjectInstance Opacity Option '
  20. + 'Orientation Paraboloid Patch PatchMesh Perspective PixelFilter PixelSamples '
  21. + 'PixelVariance Points PointsGeneralPolygons PointsPolygons Polygon Procedural Projection '
  22. + 'Quantize ReadArchive RelativeDetail ReverseOrientation Rotate Scale ScreenWindow '
  23. + 'ShadingInterpolation ShadingRate Shutter Sides Skew SolidBegin SolidEnd Sphere '
  24. + 'SubdivisionMesh Surface TextureCoordinates Torus Transform TransformBegin TransformEnd '
  25. + 'TransformPoints Translate TrimCurve WorldBegin WorldEnd',
  26. illegal: '</',
  27. contains: [
  28. hljs.HASH_COMMENT_MODE,
  29. hljs.C_NUMBER_MODE,
  30. hljs.APOS_STRING_MODE,
  31. hljs.QUOTE_STRING_MODE
  32. ]
  33. };
  34. }
  35. export { rib as default };