1 <?xml version="1.0" encoding="UTF-8" ?>
3 <Form version="1.5" maxVersion="1.6" type="org.netbeans.modules.form.forminfo.JFrameFormInfo">
5 <Property name="defaultCloseOperation" type="int" value="3"/>
6 <Property name="title" type="java.lang.String" value="ImgToMap"/>
9 <SyntheticProperty name="formSizePolicy" type="int" value="1"/>
10 </SyntheticProperties>
12 <AuxValue name="FormSettings_autoResourcing" type="java.lang.Integer" value="0"/>
13 <AuxValue name="FormSettings_autoSetComponentName" type="java.lang.Boolean" value="false"/>
14 <AuxValue name="FormSettings_generateMnemonicsCode" type="java.lang.Boolean" value="false"/>
15 <AuxValue name="FormSettings_i18nAutoMode" type="java.lang.Boolean" value="false"/>
16 <AuxValue name="FormSettings_layoutCodeTarget" type="java.lang.Integer" value="1"/>
17 <AuxValue name="FormSettings_listenerGenerationStyle" type="java.lang.Integer" value="0"/>
18 <AuxValue name="FormSettings_variablesLocal" type="java.lang.Boolean" value="false"/>
19 <AuxValue name="FormSettings_variablesModifier" type="java.lang.Integer" value="2"/>
23 <DimensionLayout dim="0">
24 <Group type="103" groupAlignment="0" attributes="0">
25 <Group type="102" attributes="0">
26 <Group type="103" groupAlignment="0" attributes="0">
27 <Group type="103" alignment="1" groupAlignment="1" attributes="0">
28 <Group type="102" alignment="0" attributes="0">
29 <EmptySpace max="-2" attributes="0"/>
30 <Component id="jPanelSky" max="32767" attributes="0"/>
32 <Group type="102" alignment="0" attributes="0">
33 <EmptySpace max="-2" attributes="0"/>
34 <Component id="jPanel2" max="32767" attributes="0"/>
36 <Group type="102" alignment="0" attributes="0">
37 <EmptySpace max="-2" attributes="0"/>
38 <Component id="jPanel1" max="32767" attributes="0"/>
41 <Group type="102" alignment="0" attributes="0">
42 <EmptySpace max="-2" attributes="0"/>
43 <Component id="jButtonOK" min="-2" max="-2" attributes="0"/>
46 <EmptySpace max="-2" attributes="0"/>
50 <DimensionLayout dim="1">
51 <Group type="103" groupAlignment="0" attributes="0">
52 <Group type="102" alignment="0" attributes="0">
53 <EmptySpace max="-2" attributes="0"/>
54 <Component id="jPanel1" min="-2" max="-2" attributes="0"/>
55 <EmptySpace max="-2" attributes="0"/>
56 <Component id="jPanel2" min="-2" max="-2" attributes="0"/>
57 <EmptySpace max="-2" attributes="0"/>
58 <Component id="jPanelSky" min="-2" pref="157" max="-2" attributes="0"/>
59 <EmptySpace type="unrelated" max="-2" attributes="0"/>
60 <Component id="jButtonOK" min="-2" max="-2" attributes="0"/>
61 <EmptySpace max="32767" attributes="0"/>
67 <Container class="javax.swing.JPanel" name="jPanel1">
69 <Property name="border" type="javax.swing.border.Border" editor="org.netbeans.modules.form.editors2.BorderEditor">
70 <Border info="org.netbeans.modules.form.compat2.border.TitledBorderInfo">
71 <TitledBorder title="Files"/>
77 <DimensionLayout dim="0">
78 <Group type="103" groupAlignment="0" attributes="0">
79 <Group type="102" attributes="0">
80 <EmptySpace min="-2" max="-2" attributes="0"/>
81 <Group type="103" groupAlignment="1" attributes="0">
82 <Component id="jTextFieldOutput" alignment="0" pref="278" max="32767" attributes="2"/>
83 <Component id="jTextFieldInput" alignment="0" pref="278" max="32767" attributes="2"/>
85 <EmptySpace min="-2" max="-2" attributes="0"/>
86 <Group type="103" groupAlignment="0" attributes="0">
87 <Component id="jButtonInput" alignment="1" pref="120" max="32767" attributes="2"/>
88 <Component id="jButtonOutput" alignment="1" max="32767" attributes="2"/>
90 <EmptySpace min="-2" max="-2" attributes="0"/>
94 <DimensionLayout dim="1">
95 <Group type="103" groupAlignment="0" attributes="0">
96 <Group type="102" attributes="0">
97 <EmptySpace max="-2" attributes="0"/>
98 <Group type="103" groupAlignment="3" attributes="0">
99 <Component id="jButtonInput" alignment="3" min="-2" max="-2" attributes="0"/>
100 <Component id="jTextFieldInput" alignment="3" min="-2" pref="27" max="-2" attributes="0"/>
102 <EmptySpace max="-2" attributes="0"/>
103 <Group type="103" groupAlignment="3" attributes="0">
104 <Component id="jButtonOutput" alignment="3" min="-2" max="-2" attributes="0"/>
105 <Component id="jTextFieldOutput" alignment="3" min="-2" pref="26" max="-2" attributes="0"/>
107 <EmptySpace max="32767" attributes="0"/>
113 <Component class="javax.swing.JTextField" name="jTextFieldInput">
115 <Component class="javax.swing.JButton" name="jButtonInput">
117 <Property name="text" type="java.lang.String" value="Select input file"/>
120 <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jButtonInputActionPerformed"/>
123 <Component class="javax.swing.JTextField" name="jTextFieldOutput">
125 <Component class="javax.swing.JButton" name="jButtonOutput">
127 <Property name="text" type="java.lang.String" value="Select output file"/>
130 <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jButtonOutputActionPerformed"/>
135 <Component class="javax.swing.JButton" name="jButtonOK">
137 <Property name="text" type="java.lang.String" value="Start conversion!"/>
140 <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jButtonOKActionPerformed"/>
143 <Container class="javax.swing.JPanel" name="jPanel2">
145 <Property name="border" type="javax.swing.border.Border" editor="org.netbeans.modules.form.editors2.BorderEditor">
146 <Border info="org.netbeans.modules.form.compat2.border.TitledBorderInfo">
147 <TitledBorder title="Terrain configuration"/>
153 <DimensionLayout dim="0">
154 <Group type="103" groupAlignment="0" attributes="0">
155 <Group type="102" attributes="0">
156 <EmptySpace max="-2" attributes="0"/>
157 <Group type="103" groupAlignment="0" attributes="0">
158 <Group type="102" alignment="0" attributes="0">
159 <Group type="103" groupAlignment="1" attributes="0">
160 <Component id="jLabel1" min="-2" max="-2" attributes="0"/>
161 <Component id="jLabel2" alignment="1" min="-2" max="-2" attributes="0"/>
163 <EmptySpace max="-2" attributes="0"/>
164 <Group type="103" groupAlignment="0" max="-2" attributes="0">
165 <Component id="jSpinnerHeight" min="0" pref="0" max="32767" attributes="1"/>
166 <Component id="jSpinnerUnits" alignment="0" max="32767" attributes="1"/>
168 <EmptySpace type="separate" max="-2" attributes="0"/>
169 <Group type="103" groupAlignment="0" attributes="0">
170 <Group type="102" attributes="0">
171 <Component id="jLabel4" min="-2" max="-2" attributes="1"/>
172 <EmptySpace max="-2" attributes="0"/>
173 <Component id="jSpinnerTextureScale" max="32767" attributes="1"/>
175 <Component id="jCheckBoxDetail" min="-2" max="-2" attributes="0"/>
178 <Component id="jLabel3" alignment="0" min="-2" max="-2" attributes="0"/>
179 <Component id="jTextFieldTexture" alignment="1" pref="404" max="32767" attributes="0"/>
181 <EmptySpace max="-2" attributes="0"/>
185 <DimensionLayout dim="1">
186 <Group type="103" groupAlignment="0" attributes="0">
187 <Group type="102" alignment="0" attributes="0">
188 <Group type="103" groupAlignment="3" attributes="0">
189 <Component id="jSpinnerUnits" alignment="3" min="-2" max="-2" attributes="0"/>
190 <Component id="jLabel1" alignment="3" min="-2" max="-2" attributes="0"/>
191 <Component id="jLabel4" alignment="3" min="-2" max="-2" attributes="0"/>
192 <Component id="jSpinnerTextureScale" alignment="3" min="-2" max="-2" attributes="0"/>
194 <EmptySpace max="-2" attributes="0"/>
195 <Group type="103" groupAlignment="3" attributes="0">
196 <Component id="jLabel2" alignment="3" min="-2" max="-2" attributes="0"/>
197 <Component id="jSpinnerHeight" alignment="3" min="-2" max="-2" attributes="0"/>
198 <Component id="jCheckBoxDetail" alignment="3" min="-2" max="-2" attributes="0"/>
200 <EmptySpace type="separate" max="-2" attributes="0"/>
201 <Component id="jLabel3" min="-2" max="-2" attributes="0"/>
202 <EmptySpace max="-2" attributes="0"/>
203 <Component id="jTextFieldTexture" min="-2" max="-2" attributes="0"/>
204 <EmptySpace max="32767" attributes="0"/>
210 <Component class="javax.swing.JCheckBox" name="jCheckBoxDetail">
212 <Property name="selected" type="boolean" value="true"/>
213 <Property name="text" type="java.lang.String" value="make detail"/>
216 <Component class="javax.swing.JTextField" name="jTextFieldTexture">
218 <Property name="text" type="java.lang.String" value="terrain/terrain1"/>
221 <Component class="javax.swing.JLabel" name="jLabel3">
223 <Property name="text" type="java.lang.String" value="Cover terrain surface with texture:"/>
226 <Component class="javax.swing.JSpinner" name="jSpinnerUnits">
228 <Property name="model" type="javax.swing.SpinnerModel" editor="org.netbeans.modules.form.editors2.SpinnerModelEditor">
229 <SpinnerModel initial="256" maximum="2048" minimum="1" numberType="java.lang.Integer" stepSize="1" type="number"/>
233 <Component class="javax.swing.JSpinner" name="jSpinnerHeight">
235 <Property name="model" type="javax.swing.SpinnerModel" editor="org.netbeans.modules.form.editors2.SpinnerModelEditor">
236 <SpinnerModel initial="1024" maximum="16384" minimum="256" numberType="java.lang.Integer" stepSize="1" type="number"/>
240 <Component class="javax.swing.JSpinner" name="jSpinnerTextureScale">
242 <Property name="model" type="javax.swing.SpinnerModel" editor="org.netbeans.modules.form.editors2.SpinnerModelEditor">
243 <SpinnerModel initial="0.5" maximum="16.0" minimum="0.25" numberType="java.lang.Double" stepSize="0.25" type="number"/>
247 <Component class="javax.swing.JLabel" name="jLabel4">
249 <Property name="text" type="java.lang.String" value="Texture scale:"/>
252 <Component class="javax.swing.JLabel" name="jLabel2">
254 <Property name="text" type="java.lang.String" value="Height for white:"/>
257 <Component class="javax.swing.JLabel" name="jLabel1">
259 <Property name="text" type="java.lang.String" value="Units per pixel:"/>
264 <Container class="javax.swing.JPanel" name="jPanelSky">
266 <Property name="border" type="javax.swing.border.Border" editor="org.netbeans.modules.form.editors2.BorderEditor">
267 <Border info="org.netbeans.modules.form.compat2.border.TitledBorderInfo">
268 <TitledBorder title="Sky configuration"/>
274 <DimensionLayout dim="0">
275 <Group type="103" groupAlignment="0" attributes="0">
276 <Group type="102" alignment="0" attributes="0">
277 <EmptySpace max="-2" attributes="0"/>
278 <Group type="103" groupAlignment="0" attributes="0">
279 <Component id="jTextFieldSkyTexture" alignment="0" pref="404" max="32767" attributes="0"/>
280 <Group type="102" alignment="0" attributes="0">
281 <Component id="jCheckBoxSky" min="-2" max="-2" attributes="0"/>
282 <EmptySpace min="18" pref="18" max="-2" attributes="0"/>
283 <Component id="jCheckBoxSkyFill" min="-2" max="-2" attributes="0"/>
285 <Group type="102" alignment="0" attributes="0">
286 <Component id="jLabel5" min="-2" max="-2" attributes="0"/>
287 <EmptySpace max="-2" attributes="0"/>
288 <Component id="jSpinnerSkyHeight" min="-2" max="-2" attributes="0"/>
290 <Component id="jLabel6" alignment="0" min="-2" max="-2" attributes="0"/>
292 <EmptySpace max="-2" attributes="0"/>
296 <DimensionLayout dim="1">
297 <Group type="103" groupAlignment="0" attributes="0">
298 <Group type="102" alignment="0" attributes="0">
299 <Group type="103" groupAlignment="3" attributes="0">
300 <Component id="jCheckBoxSky" alignment="3" min="-2" max="-2" attributes="0"/>
301 <Component id="jCheckBoxSkyFill" alignment="3" min="-2" max="-2" attributes="0"/>
303 <EmptySpace max="-2" attributes="0"/>
304 <Group type="103" groupAlignment="3" attributes="0">
305 <Component id="jLabel5" alignment="3" min="-2" max="-2" attributes="0"/>
306 <Component id="jSpinnerSkyHeight" alignment="3" min="-2" max="-2" attributes="0"/>
308 <EmptySpace type="unrelated" max="-2" attributes="0"/>
309 <Component id="jLabel6" min="-2" max="-2" attributes="0"/>
310 <EmptySpace max="-2" attributes="0"/>
311 <Component id="jTextFieldSkyTexture" min="-2" max="-2" attributes="0"/>
312 <EmptySpace max="32767" attributes="0"/>
318 <Component class="javax.swing.JCheckBox" name="jCheckBoxSky">
320 <Property name="selected" type="boolean" value="true"/>
321 <Property name="text" type="java.lang.String" value="generate a skybox"/>
324 <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jCheckBoxSkyActionPerformed"/>
327 <Component class="javax.swing.JLabel" name="jLabel5">
329 <Property name="text" type="java.lang.String" value="Sky height:"/>
332 <Component class="javax.swing.JSpinner" name="jSpinnerSkyHeight">
334 <Property name="model" type="javax.swing.SpinnerModel" editor="org.netbeans.modules.form.editors2.SpinnerModelEditor">
335 <SpinnerModel initial="1152" minimum="256" numberType="java.lang.Integer" stepSize="1" type="number"/>
339 <Component class="javax.swing.JCheckBox" name="jCheckBoxSkyFill">
341 <Property name="selected" type="boolean" value="true"/>
342 <Property name="text" type="java.lang.String" value="fill alpha-gaps with sky"/>
345 <Component class="javax.swing.JLabel" name="jLabel6">
347 <Property name="text" type="java.lang.String" value="Sky texture:"/>
350 <Component class="javax.swing.JTextField" name="jTextFieldSkyTexture">
352 <Property name="text" type="java.lang.String" value="skies/sky1"/>