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 brushed metal ball',
- 'Host': 'Paint Shop Pro',
- 'Host Version': '8.00'
- }
-
- def Preset_BallsAndBubbles():
- return {
- 'Illumination': {
- 'MaxAmbience': 14,
- 'MinAmbience': 14,
- 'LightList': [{
- 'BubbleLight': App.Constants.Boolean.false,
- 'Color': (116,108,36),
- 'Direction': (0.238112,-0.305918,0.129378),
- 'HighlightSize': 65
- },{
- 'BubbleLight': App.Constants.Boolean.false,
- 'Color': (166,192,232),
- 'Direction': (-0.419428,0.95277,-0.516877),
- 'HighlightSize': 27
- },{
- 'BubbleLight': App.Constants.Boolean.true,
- 'Color': (181,225,207),
- 'Direction': (-0.487622,-0.809479,-0.32706),
- 'HighlightSize': 33
- }]
- },
- 'Mode': App.Constants.CountType.Single,
- 'Multiple': {
-
- },
- 'Single': {
- 'MaxPossibleSize': App.Constants.Boolean.true
- },
- 'Surface': {
- 'Material': {
- 'Color': (92,70,121),
- 'Pattern': None,
- 'Gradient': None,
- 'Texture': None
- },
- 'BumpMap': {
- 'Active': App.Constants.Boolean.true,
- 'Depth': 4,
- 'FileName': 'Brushed metal',
- 'Fit': App.Constants.Boolean.true,
- 'Size': 80,
- 'Smoothness': 0
- },
- 'EnvironmentMap': {
- 'Active': App.Constants.Boolean.false
- },
- 'Gloss': 23,
- 'Opacity': 100,
- 'Shininess': 90
- }
- }
-
- def Do(Environment):
- App.Do( Environment, 'BallsAndBubbles', Preset_BallsAndBubbles())
-
-