Just started with the MR standalone and looking for a wordfile for Ultra Edit.
Would be neat to have color highlighting of .mi files just like for .mel files.
Does anyone know if someone posted it somewhere on the net?
Thanks
Audun
Just started with the MR standalone and looking for a wordfile for Ultra Edit.
Would be neat to have color highlighting of .mi files just like for .mel files.
Does anyone know if someone posted it somewhere on the net?
Thanks
Audun
nevermind, sorted it I think:
/L12"Mental Ray MI format" Line Comment = # String Chars = " Escape Char = \ File Extensions = MI
/Delimiters = !%^&*()+=|\/{}[]:;"'<>, .?`
/Function String 1 = "proc [a-zA-Z]()"
/Indent Strings = "{"
/Unindent Strings = "}"
/C1"Data Types"
float
int
matrix
string
vector
/C2"Boolean Constants"
false
no
off on
true
yes
/C3"Flow Control"
break
case continue
default do
else
for
if in
switch
while
end
/C4"Other keywords"
alias
catch
global
proc
return
source
/C5"Operators"
!
%
&
*
+
-
,
v
m
p
// /
:
<
=
?
^
|
/C6"Variables"
** $
/C7"Commands"
`
approximate
camera color
data direction
group
instance
knot
light link
material min motion
object options
points
shader shadow surface
texture
vectors version vertices volume
/C8"Flags"
** -a -b -c -d -e -f -g -h -i -j -k -l -m -n -o -p -q -r -s -t -u -v -w -x -y -z
** -A -B -C -D -E -F -G -H -I -J -K -L -M -N -O -P -Q -R -S -T -U -V -W -X -Y -Z
/C4"Quotes"
"