home *** CD-ROM | disk | FTP | other *** search
/ PC Extra 07 & 08 / pca1507.iso / Software / psp8 / Data1.cab / Preset_BallsAndBubbles_Gold_ < prev    next >
Encoding:
Text File  |  2003-04-22  |  2.5 KB  |  76 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 shiny gold ball',
  8.         'Host': 'Paint Shop Pro',
  9.         'Host Version': '8.00'
  10.         }
  11.  
  12. def Preset_BallsAndBubbles():
  13.     return {
  14.         'Illumination': {
  15.             'MaxAmbience': 100, 
  16.             'MinAmbience': 0, 
  17.             'LightList': [{
  18.                 'BubbleLight': App.Constants.Boolean.false, 
  19.                 'Color': (89,64,55), 
  20.                 'Direction': (0.691526,0.722351,0), 
  21.                 'HighlightSize': 36
  22.                 },{
  23.                 'BubbleLight': App.Constants.Boolean.false, 
  24.                 'Color': (175,117,154), 
  25.                 'Direction': (-0.738593,-0.626768,-0.248279), 
  26.                 'HighlightSize': 15
  27.                 },{
  28.                 'BubbleLight': App.Constants.Boolean.false, 
  29.                 'Color': (106,92,105), 
  30.                 'Direction': (-0.406708,0.508672,0.758842), 
  31.                 'HighlightSize': 19
  32.                 },{
  33.                 'BubbleLight': App.Constants.Boolean.false, 
  34.                 'Color': (81,69,83), 
  35.                 'Direction': (0.448348,-0.582788,0.677748), 
  36.                 'HighlightSize': 17
  37.                 },{
  38.                 'BubbleLight': App.Constants.Boolean.false, 
  39.                 'Color': (140,140,140), 
  40.                 'Direction': (-0.0626497,0.0973503,-0.993276), 
  41.                 'HighlightSize': 0
  42.                 }]
  43.             }, 
  44.         'Mode': App.Constants.CountType.Single, 
  45.         'Multiple': {
  46.             
  47.             }, 
  48.         'Single': {
  49.             'MaxPossibleSize': App.Constants.Boolean.true
  50.             }, 
  51.         'Surface': {
  52.             'Material': {
  53.                 'Color': (147,136,41), 
  54.                 'Pattern': None, 
  55.                 'Gradient': None, 
  56.                 'Texture': None
  57.                 }, 
  58.             'BumpMap': {
  59.                 'Active': App.Constants.Boolean.false
  60.                 }, 
  61.             'EnvironmentMap': {
  62.                 'Active': App.Constants.Boolean.true, 
  63.                 'FileName': 'Gold', 
  64.                 'PatternOpacity': 25, 
  65.                 'EnvironmentType': App.Constants.BubbleMapType.Environment
  66.                 }, 
  67.             'Gloss': 44, 
  68.             'Opacity': 100, 
  69.             'Shininess': 46
  70.             }
  71.         }
  72.  
  73. def Do(Environment):
  74.     App.Do( Environment, 'BallsAndBubbles',         Preset_BallsAndBubbles())
  75.  
  76.