home *** CD-ROM | disk | FTP | other *** search
/ PC Extra 07 & 08 / pca1507.iso / Software / psp8 / Data1.cab / Preset_BallsAndBubbles_Golf_ < prev    next >
Encoding:
Text File  |  2003-04-22  |  2.1 KB  |  66 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': 'The PSP8 golf 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': 22, 
  17.             'LightList': [{
  18.                 'BubbleLight': App.Constants.Boolean.false, 
  19.                 'Color': (192,192,192), 
  20.                 'Direction': (-0.838507,0.54489,0), 
  21.                 'HighlightSize': 0
  22.                 },{
  23.                 'BubbleLight': App.Constants.Boolean.false, 
  24.                 'Color': (128,128,128), 
  25.                 'Direction': (0.758393,0.651797,0), 
  26.                 'HighlightSize': 0
  27.                 }]
  28.             }, 
  29.         'Mode': App.Constants.CountType.Single, 
  30.         'Multiple': {
  31.             
  32.             }, 
  33.         'Single': {
  34.             'MaxPossibleSize': App.Constants.Boolean.false
  35.             }, 
  36.         'Surface': {
  37.             'Material': {
  38.                 'Color': (155,171,173), 
  39.                 'Pattern': None, 
  40.                 'Gradient': None, 
  41.                 'Texture': None
  42.                 }, 
  43.             'BumpMap': {
  44.                 'Active': App.Constants.Boolean.true, 
  45.                 'Depth': 17, 
  46.                 'FileName': 'Golf', 
  47.                 'Fit': App.Constants.Boolean.false, 
  48.                 'Size': 75, 
  49.                 'Smoothness': 0
  50.                 }, 
  51.             'EnvironmentMap': {
  52.                 'Active': App.Constants.Boolean.true, 
  53.                 'FileName': 'Jasc PSP8 Power', 
  54.                 'PatternOpacity': 100, 
  55.                 'EnvironmentType': App.Constants.BubbleMapType.Environment
  56.                 }, 
  57.             'Gloss': 0, 
  58.             'Opacity': 100, 
  59.             'Shininess': 35
  60.             }
  61.         }
  62.  
  63. def Do(Environment):
  64.     App.Do( Environment, 'BallsAndBubbles',         Preset_BallsAndBubbles())
  65.  
  66.