2006-11-02 09:21:43 +03:00
|
|
|
## Here is an example for POV-Ray.
|
2014-05-17 00:21:34 +04:00
|
|
|
|
2006-11-02 09:21:43 +03:00
|
|
|
syntax "pov" "\.(pov|POV|povray|POVRAY)$"
|
2016-05-25 23:13:50 +03:00
|
|
|
comment "//"
|
2014-05-17 00:21:34 +04:00
|
|
|
|
2006-11-02 09:21:43 +03:00
|
|
|
color brightcyan "^[[:space:]]*#[[:space:]]*(declare)"
|
|
|
|
color brightyellow "\<(sphere|cylinder|translate|matrix|rotate|scale)\>"
|
|
|
|
color brightyellow "\<(orthographic|location|up|right|direction|clipped_by)\>"
|
|
|
|
color brightyellow "\<(fog_type|fog_offset|fog_alt|rgb|distance|transform)\>"
|
|
|
|
color brightred "^\<(texture)\>"
|
|
|
|
color brightred "\<(light_source|background)\>"
|
|
|
|
color brightred "\<(fog|object|camera)\>"
|
|
|
|
color green "(\{|\}|\(|\)|\;|\]|\[|`|\\|\$|<|>|!|=|&|\|)"
|
|
|
|
color brightmagenta "\<(union|group|subgroup)\>"
|
2014-05-17 00:21:34 +04:00
|
|
|
|
|
|
|
# Comments.
|
2006-11-02 09:21:43 +03:00
|
|
|
color brightblue "//.*"
|
|
|
|
color brightblue start="/\*" end="\*/"
|