home *** CD-ROM | disk | FTP | other *** search
/ PC Extra 07 & 08 / pca1507.iso / Software / psp8 / Data1.cab / Preset_MagnifyingLens_Blue_F < prev    next >
Encoding:
Text File  |  2003-04-22  |  1.6 KB  |  53 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 blue glass filter. Original idea: Angela M. Cable.',
  8.         'Host': 'Paint Shop Pro',
  9.         'Host Version': '8.00'
  10.         }
  11.  
  12. def Preset_MagnifyingLens():
  13.     return {
  14.         'Darkness': 3, 
  15.         'Defocus': 0, 
  16.         'Frame': {
  17.             'FrameColor': (0,0,0), 
  18.             'Material': App.Constants.LensFrameMaterial.Gold, 
  19.             'Style': App.Constants.LensFrameShape.Circular, 
  20.             'Thickness': 6
  21.             }, 
  22.         'Illumination': {
  23.             'LightList': [{
  24.                 'LightColor': (128,128,128), 
  25.                 'LightDirection': (0.772561,0.634941,0), 
  26.                 'HighlightSize': 23
  27.                 }], 
  28.             'MaxAmbience': 61, 
  29.             'MinAmbience': 61
  30.             }, 
  31.         'LensSurface': {
  32.             'EnvironmentMap': {
  33.                 'Active': App.Constants.Boolean.false
  34.                 }, 
  35.             'Gloss': 19, 
  36.             'Magnification': 0, 
  37.             'LensMaterial': {
  38.                 'Color': (9,11,239), 
  39.                 'Pattern': None, 
  40.                 'Gradient': None, 
  41.                 'Texture': None
  42.                 }, 
  43.             'LensOpacity': 78, 
  44.             'Refraction': 0, 
  45.             'ShapeType': App.Constants.LensShape.Spherical, 
  46.             'Shininess': 19
  47.             }
  48.         }
  49.  
  50. def Do(Environment):
  51.     App.Do( Environment, 'MagnifyingLens',         Preset_MagnifyingLens())
  52.  
  53.