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': 'A ball of crumpled foil',
- 'Host': 'Paint Shop Pro',
- 'Host Version': '8.00'
- }
-
- def Preset_BallsAndBubbles():
- return {
- 'Illumination': {
- 'MaxAmbience': 87,
- 'MinAmbience': 0,
- 'LightList': [{
- 'BubbleLight': App.Constants.Boolean.false,
- 'Color': (128,128,128),
- 'Direction': (0.649054,0.760743,0),
- 'HighlightSize': 22
- },{
- 'BubbleLight': App.Constants.Boolean.false,
- 'Color': (77,77,37),
- 'Direction': (-0.584278,-0.811554,0),
- 'HighlightSize': 33
- },{
- 'BubbleLight': App.Constants.Boolean.false,
- 'Color': (75,67,83),
- 'Direction': (-0.580465,0.814285,-2.98023e-010),
- 'HighlightSize': 33
- }]
- },
- 'Mode': App.Constants.CountType.Single,
- 'Multiple': {
-
- },
- 'Single': {
- 'MaxPossibleSize': App.Constants.Boolean.true
- },
- 'Surface': {
- 'Material': {
- 'Color': (192,192,192),
- 'Pattern': None,
- 'Gradient': None,
- 'Texture': None
- },
- 'BumpMap': {
- 'Active': App.Constants.Boolean.true,
- 'Depth': 35,
- 'FileName': 'Chrome',
- 'Fit': App.Constants.Boolean.true,
- 'Size': 25,
- 'Smoothness': 16
- },
- 'EnvironmentMap': {
- 'Active': App.Constants.Boolean.true,
- 'FileName': 'Chrome',
- 'PatternOpacity': 100,
- 'EnvironmentType': App.Constants.BubbleMapType.Environment
- },
- 'Gloss': 33,
- 'Opacity': 100,
- 'Shininess': 50
- }
- }
-
- def Do(Environment):
- App.Do( Environment, 'BallsAndBubbles', Preset_BallsAndBubbles())
-
-