home *** CD-ROM | disk | FTP | other *** search
/ PC Extra 07 & 08 / pca1507.iso / Software / psp8 / Data1.cab / Preset_BallsAndBubbles_Red_B < prev    next >
Encoding:
Text File  |  2003-04-22  |  2.2 KB  |  68 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': 'Transparent red bumpy bubbles',
  8.         'Host': 'Paint Shop Pro',
  9.         'Host Version': '8.00'
  10.         }
  11.  
  12. def Preset_BallsAndBubbles():
  13.     return {
  14.         'Illumination': {
  15.             'MaxAmbience': 47, 
  16.             'MinAmbience': 0, 
  17.             'LightList': [{
  18.                 'BubbleLight': App.Constants.Boolean.false, 
  19.                 'Color': (234,51,0), 
  20.                 'Direction': (-0.4846,-0.3043,0.9448), 
  21.                 'HighlightSize': 50
  22.                 },{
  23.                 'BubbleLight': App.Constants.Boolean.true, 
  24.                 'Color': (222,63,0), 
  25.                 'Direction': (0.1816,0.1729,-0.6949), 
  26.                 'HighlightSize': 47
  27.                 }]
  28.             }, 
  29.         'Mode': App.Constants.CountType.Multiple, 
  30.         'Multiple': {
  31.             'AverageSize': 47, 
  32.             'Coverage': 18, 
  33.             'CreateMethod': App.Constants.BubbleCreateMethod.NonIntersecting, 
  34.             'SizeVariation': 21
  35.             }, 
  36.         'RandomSeed': 83341, 
  37.         'RandomizePlacement': App.Constants.Boolean.false, 
  38.         'Single': {
  39.             'MaxPossibleSize': App.Constants.Boolean.true
  40.             }, 
  41.         'Surface': {
  42.             'Material': {
  43.                 'Color': (198,24,234), 
  44.                 'Pattern': None, 
  45.                 'Gradient': None, 
  46.                 'Texture': None
  47.                 }, 
  48.             'BumpMap': {
  49.                 'Active': App.Constants.Boolean.true, 
  50.                 'Depth': -80, 
  51.                 'FileName': 'Golf', 
  52.                 'Fit': App.Constants.Boolean.true, 
  53.                 'Size': 29, 
  54.                 'Smoothness': 86
  55.                 }, 
  56.             'EnvironmentMap': {
  57.                 'Active': App.Constants.Boolean.false
  58.                 }, 
  59.             'Gloss': 4, 
  60.             'Opacity': 37, 
  61.             'Shininess': 73
  62.             }
  63.         }
  64.  
  65. def Do(Environment):
  66.     App.Do( Environment, 'BallsAndBubbles',         Preset_BallsAndBubbles())
  67.  
  68.