home *** CD-ROM | disk | FTP | other *** search
/ PC Extra 07 & 08 / pca1507.iso / Software / psp8 / Data1.cab / Preset_BallsAndBubbles_Crump < prev    next >
Encoding:
Text File  |  2003-04-22  |  2.3 KB  |  71 lines

  1. from JascApp import *
  2.  
  3. def ScriptProperties():
  4.     return {
  5.         'Author': 'Kris Zaklika',
  6.         'Copyright': 'Copyright (C) 2002-2003, Jasc Software Inc., All Rights Reserved.',
  7.         'Description': 'A ball of crumpled foil',
  8.         'Host': 'Paint Shop Pro',
  9.         'Host Version': '8.00'
  10.         }
  11.  
  12. def Preset_BallsAndBubbles():
  13.     return {
  14.         'Illumination': {
  15.             'MaxAmbience': 87, 
  16.             'MinAmbience': 0, 
  17.             'LightList': [{
  18.                 'BubbleLight': App.Constants.Boolean.false, 
  19.                 'Color': (128,128,128), 
  20.                 'Direction': (0.649054,0.760743,0), 
  21.                 'HighlightSize': 22
  22.                 },{
  23.                 'BubbleLight': App.Constants.Boolean.false, 
  24.                 'Color': (77,77,37), 
  25.                 'Direction': (-0.584278,-0.811554,0), 
  26.                 'HighlightSize': 33
  27.                 },{
  28.                 'BubbleLight': App.Constants.Boolean.false, 
  29.                 'Color': (75,67,83), 
  30.                 'Direction': (-0.580465,0.814285,-2.98023e-010), 
  31.                 'HighlightSize': 33
  32.                 }]
  33.             }, 
  34.         'Mode': App.Constants.CountType.Single, 
  35.         'Multiple': {
  36.             
  37.             }, 
  38.         'Single': {
  39.             'MaxPossibleSize': App.Constants.Boolean.true
  40.             }, 
  41.         'Surface': {
  42.             'Material': {
  43.                 'Color': (192,192,192), 
  44.                 'Pattern': None, 
  45.                 'Gradient': None, 
  46.                 'Texture': None
  47.                 }, 
  48.             'BumpMap': {
  49.                 'Active': App.Constants.Boolean.true, 
  50.                 'Depth': 35, 
  51.                 'FileName': 'Chrome', 
  52.                 'Fit': App.Constants.Boolean.true, 
  53.                 'Size': 25, 
  54.                 'Smoothness': 16
  55.                 }, 
  56.             'EnvironmentMap': {
  57.                 'Active': App.Constants.Boolean.true, 
  58.                 'FileName': 'Chrome', 
  59.                 'PatternOpacity': 100, 
  60.                 'EnvironmentType': App.Constants.BubbleMapType.Environment
  61.                 }, 
  62.             'Gloss': 33, 
  63.             'Opacity': 100, 
  64.             'Shininess': 50
  65.             }
  66.         }
  67.  
  68. def Do(Environment):
  69.     App.Do( Environment, 'BallsAndBubbles',         Preset_BallsAndBubbles())
  70.  
  71.