-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.txt
151 lines (142 loc) · 3.3 KB
/
config.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
# This file describes the arrangement of the scene - where the camera will be placed and where it will
# look at, as well as any light sources.
# Global settings can also be set here.
# Lines with the first character as a # are comments.
#
# Global settings
# ===============
#
# Only one global block is supported of the following format:
#
# Use Ambient to specify the amount of ambient light in the scene. 1.0 is the default if not specified.
# 1.2 gives reasonable results if no other lights are specified.
#
# ProcessFile sets the file from which the process configuration will be read. If it is not specified,
# process.txt is used as the default.
# Note that if the -p switch is used with gds2pov it will override the ProcessFile setting.
#
# Scale is used to scale the design. Scaling the design down can be useul for
# gdsoglviewer.
#
# GlobalStart
# Ambient: 1.0
# ProcessFile: process.txt
# Scale: 1.0
# GlobalEnd
#
#
# Positions
# =========
#
# Position blocks are used for the camera and the lights. You can define the position of the item with one
# of the following keywords:
#
# Centre
# TopLeft
# TopRight
# BottomLeft
# BottomRight
#
# These are defined with respect to the way you view your layout. TopLeft is the top left of your layout as
# you view it in your editor.
#
# The item will by default be placed at the height such that if it were the camera in the centre looking down
# on the layout it would be able to see the entire layout.
#
# Note also that the Centre, TopLeft etc. positions will be added to the start of the POV file as comments to
# make hand modifying easier.
#
# You can also specify a modifier for each dimension in the position. The position will be multiplied by this
# modifier. So, if you want something very close to the surface you could specify:
#
# ZMod: 0.1
#
# X and Y are the dimensions you use on the screen. Z goes into/out of your screen. Negative values are allowed!
#
# The default value is 1.0 for modifiers.
#
#
# Camera Position
# ===============
#
# Only one camera position is allowed!
# If none is specified, the camera will be placed in the Centre with all modifiers equal to 1.0.
#
# PositionStart
# Type: Camera
# Position: Centre
# XMod: 1.0
# YMod: 1.0
# ZMod: 1.0
# PositionEnd
#
#
# Look At Position
# ================
#
# This position defines where the camera will look. Only one Look At position is allowed!
# If none is specified, the camera will look at the Centre with the Z modifier equal to 0.0.
#
# PositionStart
# Type: LookAt
# Position: Centre
# XMod: 1.0
# YMod: 1.0
# ZMod: 0.0
# PositionEnd
#
#
# Light Positions
# ===============
#
# This type of position defines any additional lights. All lights are white. Any number of lights can be
# specified, including none.
#
# PositionStart
# Type: Light
# Position: TopLeft
# XMod: 1.0
# YMod: 1.0
# ZMod: 1.0
# PositionEnd
GlobalStart
Ambient: 1.2
ProcessFile: process.txt
Font: crystal.ttf
Scale: 0.05
GlobalEnd
PositionStart
Type: Camera
Position: Centre
XMod: 1.0
YMod: 1.0
ZMod: 1.0
PositionEnd
PositionStart
Type: LookAt
Position: Centre
XMod: 1.0
YMod: 1.0
ZMod: -0.5
PositionEnd
PositionStart
Type: Light
Position: TopLeft
XMod: 10
YMod: 10
ZMod: 0.1
PositionEnd
PositionStart
Type: Light
Position: Centre
XMod: 1
YMod: 1
ZMod: 1
PositionEnd
PositionStart
Type: Light
Position: TopLeft
XMod: 1
YMod: 1
ZMod: 1
PositionEnd