home *** CD-ROM | disk | FTP | other *** search
- # note that $modelPath is automagically set to be the complete path
- # name of whereever this .mdl file wrapper is located
- #
- source $modelPath/initialDefines.eve
- source $modelPath/initialProcs.eve
-
- # note that since "source" is a built-in tcl command, we needed to
- # give it the full path name of the previous file so it could load it.
- # In the next command, though, since "loadControlPanel" is a new eve
- # command, it is smart enough to append the value of $modelPath to any
- # file that doesn't start with "/"
- #
- loadControlPanel controls.nib
-
- startShape World
-
- startShape {0.928608 0.008852 -0.370956 0.000000 \
- 0.061411 0.982263 0.177169 0.000000 \
- 0.365945 -0.187301 0.911593 0.000000 \
- 0.000000 -0.010000 -1.900000 1.000000};
-
- Color {1 1 1}
- Surface ECDentedMetalEffect
- TransformBegin
- Scale 1.5 1 1
- Sphere .7 -.7 .7 360
- TransformEnd
-
- startShape sphereText
- EveProc {drawTextSphere $sphere(radius) $text(color) $text2(color) $sphere(color) \
- $sphere(xRotate) $sphere(yRotate) $sphere(zRotate) \
- $sphere(xTranslate) $sphere(yTranslate) $sphere(zTranslate) \
- $text(string) $text(string2) $text(fontName) $text(size)}
-
- EveProc {drawTextSphere $sphere(radius) $text(color) $text2(color) $sphere(color) \
- $sphere(xRotate) $sphere(yRotate) $sphere(zRotate) \
- [expr {-.45 + $sphere(xTranslate)}] $sphere(yTranslate) $sphere(zTranslate) \
- sad mood $text(fontName) $text(size)}
-
- EveProc {drawTextSphere $sphere(radius) $text(color) $text2(color) $sphere(color) \
- $sphere(xRotate) $sphere(yRotate) $sphere(zRotate) \
- [expr {.45 + $sphere(xTranslate)}] $sphere(yTranslate) $sphere(zTranslate) \
- {.1 .1 .1} color $text(fontName) [expr {.9 * $text(size)}]}
-
- EveProc {drawTextSphere [expr {.6 * $sphere(radius)}] $text(color) $text2(color) $sphere(color) \
- [expr {25 + $sphere(xRotate)}] $sphere(yRotate) $sphere(zRotate) \
- [expr {.25 + $sphere(xTranslate)}] [expr {.4 + $sphere(yTranslate)}] [expr {.8 * $sphere(zTranslate)}] \
- {1.0} jawXR $text(fontName) $text(size)}
-
- EveProc {drawTextSphere [expr {.6 * $sphere(radius)}] $text(color) $text2(color) $sphere(color) \
- [expr {35 + $sphere(xRotate)}] $sphere(yRotate) $sphere(zRotate) \
- [expr {-.25 + $sphere(xTranslate)}] [expr {.5 + $sphere(yTranslate)}] [expr {.7 * $sphere(zTranslate)}] \
- {0.0} jawYR $text(fontName) $text(size)}
-
- EveProc {drawTextSphereLever [expr {.7 * $sphere(radius)}] $text(color) $text2(color) $sphere(color) \
- [expr {-25 + $sphere(xRotate)}] $sphere(yRotate) $sphere(zRotate) \
- [expr {-.4 + $sphere(xTranslate)}] [expr {-.4 + $sphere(yTranslate)}] [expr {1.1 * $sphere(zTranslate)}] \
- {yow} saying $text(fontName) $text(size) .3}
-
- EveProc {drawTextSphereLever [expr {.7 * $sphere(radius)}] $text(color) $text2(color) $sphere(color) \
- [expr {-30 + $sphere(xRotate)}] $sphere(yRotate) $sphere(zRotate) \
- [expr {.3 + $sphere(xTranslate)}] [expr {-.45 + $sphere(yTranslate)}] [expr {1.1 * $sphere(zTranslate)}] \
- {.632} eyeZR $text(fontName) $text(size) .3}
- set xT .9
- set yT -.25
- set zT -.5
-
- EveProc {drawTextSphereLever [expr {.7 * $sphere(radius)}] $text(color) $text2(color) $sphere(color) \
- [expr {-30 + $sphere(xRotate)}] -70 30 \
- $xT $yT $zT \
- {.32} eyeYR $text(fontName) $text(size) .3}
-
- endShape
- endShape
- endShape
-
- camera "set cam(lowRezTesselation) 4"; # note: doing a "camera {lowRezTesselation 4}" would do the same...
- camera "set cam(tesselation) 8"; # note: doing a "camera {tesselation 8}" would do the same...
-