home *** CD-ROM | disk | FTP | other *** search
/ Maximum 3D 3 / m3d-p3.iso / 3DS_MAX / 3DSMAX.2_0 / SCRIPTS / TUT1.MS < prev    next >
Text File  |  1997-10-19  |  1KB  |  58 lines

  1. --+++++++++++++++++++++  TUTORIAL 1 --++++++++++++++++++++++++
  2. --Created By: Ravi Karra [ravi.karra@ktx.com]
  3. --This script does the samething as Tutorial1 in Release1 Tutorials
  4. --Please look the tutorial topic as to know what I am doing here
  5.  
  6. resetMaxFile #noPrompt
  7.  
  8. --box + noiseModifier
  9. box length:200 width:200 height:10 pos:[0,-20,0]\
  10.     lengthsegs:25 widthsegs:25 wirecolor:[50,250,245]
  11.  
  12. addModifier $box01 (noiseModifier fractal:true \
  13.                                     seed:9 \
  14.                                     scale:100.0 \
  15.                                     strength:[0,0,60])
  16. --text + diffuse color
  17. t = text size:50 pos:[0,0,10] font:"Arial"
  18. t.text = "MAX"     
  19. rotate t 90 [1,0,0]
  20. addModifier t (extrude amount:(-50))
  21. textMat = standardMaterial diffuse:[178, 102, 178] 
  22. t.mat = textMat
  23.  
  24. --snow
  25. sn = snow     pos:[0, 0, 100] \
  26.             viewportcount:100 \
  27.             rendercount:100 \
  28.             flakesize:2.0 \
  29.             speed:10.0 \
  30.             variation:2.0 \
  31.             tumble:0.0 \
  32.             tumblerate:1.0 \
  33.             display:0 \
  34.             start:(-65)\
  35.             life:(65) \
  36.             constant:true \
  37.             emitterwidth:200 \
  38.             emitterheight:200 
  39.          
  40. sn.hideEmitter = true
  41. --animation
  42. animate on
  43. (
  44.     at time 30
  45.     (
  46.         move t [0,-30,50]
  47.         textMat.diffuse = [130,120,0]
  48.     )
  49.     at time 80
  50.     (    
  51.         move t [0, -40, -10]
  52.         textMat.diffuse = [10,230,120]
  53.     )
  54. )
  55.  
  56. max zoomext sel all
  57. max time play
  58.