home *** CD-ROM | disk | FTP | other *** search
- from JascApp import *
-
- def ScriptProperties():
- return {
- 'Author': 'Kris Zaklika',
- 'Copyright': 'Copyright (C) 2002-2003, Jasc Software Inc., All Rights Reserved.',
- 'Description': 'Transparent red bumpy bubbles',
- 'Host': 'Paint Shop Pro',
- 'Host Version': '8.00'
- }
-
- def Preset_BallsAndBubbles():
- return {
- 'Illumination': {
- 'MaxAmbience': 47,
- 'MinAmbience': 0,
- 'LightList': [{
- 'BubbleLight': App.Constants.Boolean.false,
- 'Color': (234,51,0),
- 'Direction': (-0.4846,-0.3043,0.9448),
- 'HighlightSize': 50
- },{
- 'BubbleLight': App.Constants.Boolean.true,
- 'Color': (222,63,0),
- 'Direction': (0.1816,0.1729,-0.6949),
- 'HighlightSize': 47
- }]
- },
- 'Mode': App.Constants.CountType.Multiple,
- 'Multiple': {
- 'AverageSize': 47,
- 'Coverage': 18,
- 'CreateMethod': App.Constants.BubbleCreateMethod.NonIntersecting,
- 'SizeVariation': 21
- },
- 'RandomSeed': 83341,
- 'RandomizePlacement': App.Constants.Boolean.false,
- 'Single': {
- 'MaxPossibleSize': App.Constants.Boolean.true
- },
- 'Surface': {
- 'Material': {
- 'Color': (198,24,234),
- 'Pattern': None,
- 'Gradient': None,
- 'Texture': None
- },
- 'BumpMap': {
- 'Active': App.Constants.Boolean.true,
- 'Depth': -80,
- 'FileName': 'Golf',
- 'Fit': App.Constants.Boolean.true,
- 'Size': 29,
- 'Smoothness': 86
- },
- 'EnvironmentMap': {
- 'Active': App.Constants.Boolean.false
- },
- 'Gloss': 4,
- 'Opacity': 37,
- 'Shininess': 73
- }
- }
-
- def Do(Environment):
- App.Do( Environment, 'BallsAndBubbles', Preset_BallsAndBubbles())
-
-