home *** CD-ROM | disk | FTP | other *** search
/ PC Extra 07 & 08 / pca1507.iso / Software / psp8 / Data1.cab / Preset_BallsAndBubbles_Brush < 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': 'A brushed metal ball',
  8.         'Host': 'Paint Shop Pro',
  9.         'Host Version': '8.00'
  10.         }
  11.  
  12. def Preset_BallsAndBubbles():
  13.     return {
  14.         'Illumination': {
  15.             'MaxAmbience': 14, 
  16.             'MinAmbience': 14, 
  17.             'LightList': [{
  18.                 'BubbleLight': App.Constants.Boolean.false, 
  19.                 'Color': (116,108,36), 
  20.                 'Direction': (0.238112,-0.305918,0.129378), 
  21.                 'HighlightSize': 65
  22.                 },{
  23.                 'BubbleLight': App.Constants.Boolean.false, 
  24.                 'Color': (166,192,232), 
  25.                 'Direction': (-0.419428,0.95277,-0.516877), 
  26.                 'HighlightSize': 27
  27.                 },{
  28.                 'BubbleLight': App.Constants.Boolean.true, 
  29.                 'Color': (181,225,207), 
  30.                 'Direction': (-0.487622,-0.809479,-0.32706), 
  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': (92,70,121), 
  44.                 'Pattern': None, 
  45.                 'Gradient': None, 
  46.                 'Texture': None
  47.                 }, 
  48.             'BumpMap': {
  49.                 'Active': App.Constants.Boolean.true, 
  50.                 'Depth': 4, 
  51.                 'FileName': 'Brushed metal', 
  52.                 'Fit': App.Constants.Boolean.true, 
  53.                 'Size': 80, 
  54.                 'Smoothness': 0
  55.                 }, 
  56.             'EnvironmentMap': {
  57.                 'Active': App.Constants.Boolean.false
  58.                 }, 
  59.             'Gloss': 23, 
  60.             'Opacity': 100, 
  61.             'Shininess': 90
  62.             }
  63.         }
  64.  
  65. def Do(Environment):
  66.     App.Do( Environment, 'BallsAndBubbles',         Preset_BallsAndBubbles())
  67.  
  68.