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 shiny gold ball',
- 'Host': 'Paint Shop Pro',
- 'Host Version': '8.00'
- }
-
- def Preset_BallsAndBubbles():
- return {
- 'Illumination': {
- 'MaxAmbience': 100,
- 'MinAmbience': 0,
- 'LightList': [{
- 'BubbleLight': App.Constants.Boolean.false,
- 'Color': (89,64,55),
- 'Direction': (0.691526,0.722351,0),
- 'HighlightSize': 36
- },{
- 'BubbleLight': App.Constants.Boolean.false,
- 'Color': (175,117,154),
- 'Direction': (-0.738593,-0.626768,-0.248279),
- 'HighlightSize': 15
- },{
- 'BubbleLight': App.Constants.Boolean.false,
- 'Color': (106,92,105),
- 'Direction': (-0.406708,0.508672,0.758842),
- 'HighlightSize': 19
- },{
- 'BubbleLight': App.Constants.Boolean.false,
- 'Color': (81,69,83),
- 'Direction': (0.448348,-0.582788,0.677748),
- 'HighlightSize': 17
- },{
- 'BubbleLight': App.Constants.Boolean.false,
- 'Color': (140,140,140),
- 'Direction': (-0.0626497,0.0973503,-0.993276),
- 'HighlightSize': 0
- }]
- },
- 'Mode': App.Constants.CountType.Single,
- 'Multiple': {
-
- },
- 'Single': {
- 'MaxPossibleSize': App.Constants.Boolean.true
- },
- 'Surface': {
- 'Material': {
- 'Color': (147,136,41),
- 'Pattern': None,
- 'Gradient': None,
- 'Texture': None
- },
- 'BumpMap': {
- 'Active': App.Constants.Boolean.false
- },
- 'EnvironmentMap': {
- 'Active': App.Constants.Boolean.true,
- 'FileName': 'Gold',
- 'PatternOpacity': 25,
- 'EnvironmentType': App.Constants.BubbleMapType.Environment
- },
- 'Gloss': 44,
- 'Opacity': 100,
- 'Shininess': 46
- }
- }
-
- def Do(Environment):
- App.Do( Environment, 'BallsAndBubbles', Preset_BallsAndBubbles())
-
-