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="2"/>
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 <EmptySpace max="-2" attributes="0"/>
27 <Group type="103" groupAlignment="0" attributes="0">
28 <Component id="jPanel1" alignment="0" max="32767" attributes="0"/>
29 <Component id="jPanel2" alignment="0" max="32767" attributes="0"/>
30 <Component id="jPanelSky" alignment="0" max="32767" attributes="0"/>
31 <Component id="jButtonOK" alignment="0" min="-2" max="-2" attributes="0"/>
33 <EmptySpace max="-2" attributes="0"/>
37 <DimensionLayout dim="1">
38 <Group type="103" groupAlignment="0" attributes="0">
39 <Group type="102" alignment="0" attributes="0">
40 <EmptySpace max="-2" attributes="0"/>
41 <Component id="jPanel1" min="-2" max="-2" attributes="0"/>
42 <EmptySpace max="-2" attributes="0"/>
43 <Component id="jPanel2" min="-2" max="-2" attributes="0"/>
44 <EmptySpace max="-2" attributes="0"/>
45 <Component id="jPanelSky" min="-2" max="-2" attributes="0"/>
46 <EmptySpace type="unrelated" max="-2" attributes="0"/>
47 <Component id="jButtonOK" min="-2" max="-2" attributes="0"/>
48 <EmptySpace max="32767" attributes="0"/>
54 <Container class="javax.swing.JPanel" name="jPanel1">
56 <Property name="border" type="javax.swing.border.Border" editor="org.netbeans.modules.form.editors2.BorderEditor">
57 <Border info="org.netbeans.modules.form.compat2.border.TitledBorderInfo">
58 <TitledBorder title="Files"/>
64 <DimensionLayout dim="0">
65 <Group type="103" groupAlignment="0" attributes="0">
66 <Group type="102" alignment="1" attributes="0">
67 <EmptySpace max="-2" attributes="0"/>
68 <Group type="103" groupAlignment="1" attributes="0">
69 <Component id="jTextFieldOutput" alignment="0" pref="299" max="32767" attributes="2"/>
70 <Component id="jTextFieldInput" alignment="0" pref="299" max="32767" attributes="2"/>
72 <EmptySpace min="-2" max="-2" attributes="0"/>
73 <Group type="103" groupAlignment="0" max="-2" attributes="0">
74 <Component id="jButtonInput" alignment="1" pref="142" max="32767" attributes="1"/>
75 <Component id="jButtonOutput" alignment="1" min="-2" pref="142" max="-2" attributes="1"/>
77 <EmptySpace max="-2" attributes="0"/>
81 <DimensionLayout dim="1">
82 <Group type="103" groupAlignment="0" attributes="0">
83 <Group type="102" alignment="0" attributes="0">
84 <Group type="103" groupAlignment="3" attributes="0">
85 <Component id="jButtonInput" alignment="3" min="-2" max="-2" attributes="0"/>
86 <Component id="jTextFieldInput" alignment="3" min="-2" pref="27" max="-2" attributes="0"/>
88 <EmptySpace max="-2" attributes="0"/>
89 <Group type="103" groupAlignment="3" attributes="0">
90 <Component id="jButtonOutput" alignment="3" min="-2" max="-2" attributes="0"/>
91 <Component id="jTextFieldOutput" alignment="3" min="-2" pref="26" max="-2" attributes="0"/>
93 <EmptySpace max="32767" attributes="0"/>
99 <Component class="javax.swing.JTextField" name="jTextFieldInput">
101 <Component class="javax.swing.JButton" name="jButtonInput">
103 <Property name="text" type="java.lang.String" value="Select input file"/>
106 <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jButtonInputActionPerformed"/>
109 <Component class="javax.swing.JTextField" name="jTextFieldOutput">
111 <Component class="javax.swing.JButton" name="jButtonOutput">
113 <Property name="text" type="java.lang.String" value="Select output file"/>
116 <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jButtonOutputActionPerformed"/>
121 <Component class="javax.swing.JButton" name="jButtonOK">
123 <Property name="text" type="java.lang.String" value="Start conversion!"/>
126 <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jButtonOKActionPerformed"/>
129 <Container class="javax.swing.JPanel" name="jPanel2">
131 <Property name="border" type="javax.swing.border.Border" editor="org.netbeans.modules.form.editors2.BorderEditor">
132 <Border info="org.netbeans.modules.form.compat2.border.TitledBorderInfo">
133 <TitledBorder title="Terrain configuration"/>
139 <DimensionLayout dim="0">
140 <Group type="103" groupAlignment="0" attributes="0">
141 <Group type="102" alignment="0" attributes="0">
142 <EmptySpace min="-2" max="-2" attributes="0"/>
143 <Group type="103" groupAlignment="0" attributes="0">
144 <Group type="102" alignment="0" attributes="0">
145 <Component id="jTextFieldTexture" pref="447" max="32767" attributes="1"/>
146 <EmptySpace max="-2" attributes="0"/>
148 <Group type="102" alignment="0" max="-2" attributes="0">
149 <Group type="103" groupAlignment="0" attributes="0">
150 <Component id="jLabel3" alignment="0" min="-2" max="-2" attributes="0"/>
151 <Group type="102" alignment="0" attributes="0">
152 <Component id="jCheckBoxDetail" min="-2" max="-2" attributes="0"/>
153 <EmptySpace type="separate" max="-2" attributes="0"/>
154 <Component id="jCheckBoxVisBlocker" min="-2" max="-2" attributes="0"/>
156 <Group type="102" alignment="0" attributes="0">
157 <Group type="103" groupAlignment="1" attributes="0">
158 <Component id="jLabel1" min="-2" max="-2" attributes="0"/>
159 <Component id="jLabel2" alignment="1" min="-2" max="-2" attributes="0"/>
161 <EmptySpace max="-2" attributes="0"/>
162 <Group type="103" groupAlignment="0" max="-2" attributes="0">
163 <Component id="jSpinnerHeight" min="0" pref="0" max="32767" attributes="1"/>
164 <Component id="jSpinnerUnits" alignment="0" max="32767" attributes="1"/>
166 <EmptySpace max="-2" attributes="0"/>
167 <Component id="jLabel4" min="-2" max="-2" attributes="1"/>
168 <EmptySpace max="-2" attributes="0"/>
169 <Component id="jSpinnerTextureScale" min="-2" pref="89" max="-2" attributes="1"/>
172 <EmptySpace min="-2" pref="0" max="-2" attributes="0"/>
178 <DimensionLayout dim="1">
179 <Group type="103" groupAlignment="0" attributes="0">
180 <Group type="102" alignment="0" attributes="0">
181 <Group type="103" groupAlignment="3" attributes="0">
182 <Component id="jSpinnerUnits" alignment="3" min="-2" max="-2" attributes="0"/>
183 <Component id="jLabel1" alignment="3" min="-2" max="-2" attributes="0"/>
184 <Component id="jLabel4" alignment="3" min="-2" max="-2" attributes="0"/>
185 <Component id="jSpinnerTextureScale" alignment="3" min="-2" max="-2" attributes="0"/>
187 <EmptySpace max="-2" attributes="0"/>
188 <Group type="103" groupAlignment="3" attributes="0">
189 <Component id="jLabel2" alignment="3" min="-2" max="-2" attributes="0"/>
190 <Component id="jSpinnerHeight" alignment="3" min="-2" max="-2" attributes="0"/>
192 <EmptySpace max="-2" attributes="0"/>
193 <Group type="103" groupAlignment="3" attributes="0">
194 <Component id="jCheckBoxDetail" alignment="3" min="-2" max="-2" attributes="0"/>
195 <Component id="jCheckBoxVisBlocker" alignment="3" min="-2" max="-2" attributes="0"/>
197 <EmptySpace min="-2" pref="14" max="-2" attributes="0"/>
198 <Component id="jLabel3" min="-2" max="-2" attributes="0"/>
199 <EmptySpace max="-2" attributes="0"/>
200 <Component id="jTextFieldTexture" min="-2" max="-2" attributes="0"/>
201 <EmptySpace max="32767" attributes="0"/>
207 <Component class="javax.swing.JCheckBox" name="jCheckBoxDetail">
209 <Property name="selected" type="boolean" value="true"/>
210 <Property name="text" type="java.lang.String" value="make detail"/>
213 <Component class="javax.swing.JTextField" name="jTextFieldTexture">
215 <Property name="text" type="java.lang.String" value="terrain/terrain1"/>
218 <Component class="javax.swing.JLabel" name="jLabel3">
220 <Property name="text" type="java.lang.String" value="Cover terrain surface with texture:"/>
223 <Component class="javax.swing.JSpinner" name="jSpinnerUnits">
225 <Property name="model" type="javax.swing.SpinnerModel" editor="org.netbeans.modules.form.editors2.SpinnerModelEditor">
226 <SpinnerModel initial="256" maximum="2048" minimum="1" numberType="java.lang.Integer" stepSize="1" type="number"/>
230 <Component class="javax.swing.JSpinner" name="jSpinnerHeight">
232 <Property name="model" type="javax.swing.SpinnerModel" editor="org.netbeans.modules.form.editors2.SpinnerModelEditor">
233 <SpinnerModel initial="2048" maximum="16384" minimum="256" numberType="java.lang.Integer" stepSize="1" type="number"/>
237 <EventHandler event="stateChanged" listener="javax.swing.event.ChangeListener" parameters="javax.swing.event.ChangeEvent" handler="jSpinnerHeightStateChanged"/>
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="1.0" 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:"/>
262 <Component class="javax.swing.JCheckBox" name="jCheckBoxVisBlocker">
264 <Property name="selected" type="boolean" value="true"/>
265 <Property name="text" type="java.lang.String" value="generate visblockers"/>
270 <Container class="javax.swing.JPanel" name="jPanelSky">
272 <Property name="border" type="javax.swing.border.Border" editor="org.netbeans.modules.form.editors2.BorderEditor">
273 <Border info="org.netbeans.modules.form.compat2.border.TitledBorderInfo">
274 <TitledBorder title="Sky configuration"/>
280 <DimensionLayout dim="0">
281 <Group type="103" groupAlignment="0" attributes="0">
282 <Group type="102" alignment="0" attributes="0">
283 <EmptySpace max="-2" attributes="0"/>
284 <Group type="103" groupAlignment="0" attributes="0">
285 <Component id="jTextFieldSkyTexture" alignment="0" pref="447" max="32767" attributes="0"/>
286 <Group type="102" alignment="0" attributes="0">
287 <Component id="jCheckBoxSky" min="-2" max="-2" attributes="0"/>
288 <EmptySpace min="18" pref="18" max="-2" attributes="0"/>
289 <Component id="jCheckBoxSkyFill" min="-2" max="-2" attributes="0"/>
291 <Group type="102" alignment="0" attributes="0">
292 <Component id="jLabel5" min="-2" max="-2" attributes="0"/>
293 <EmptySpace max="-2" attributes="0"/>
294 <Component id="jSpinnerSkyHeight" min="-2" pref="82" max="-2" attributes="0"/>
296 <Component id="jLabel6" alignment="0" min="-2" max="-2" attributes="0"/>
298 <EmptySpace max="-2" attributes="0"/>
302 <DimensionLayout dim="1">
303 <Group type="103" groupAlignment="0" attributes="0">
304 <Group type="102" alignment="0" attributes="0">
305 <Group type="103" groupAlignment="3" attributes="0">
306 <Component id="jCheckBoxSky" alignment="3" min="-2" max="-2" attributes="0"/>
307 <Component id="jCheckBoxSkyFill" alignment="3" min="-2" max="-2" attributes="0"/>
309 <EmptySpace max="-2" attributes="0"/>
310 <Group type="103" groupAlignment="3" attributes="0">
311 <Component id="jLabel5" alignment="3" min="-2" max="-2" attributes="0"/>
312 <Component id="jSpinnerSkyHeight" alignment="3" min="-2" max="-2" attributes="0"/>
314 <EmptySpace type="unrelated" max="-2" attributes="0"/>
315 <Component id="jLabel6" min="-2" max="-2" attributes="0"/>
316 <EmptySpace max="-2" attributes="0"/>
317 <Component id="jTextFieldSkyTexture" min="-2" max="-2" attributes="0"/>
318 <EmptySpace max="32767" attributes="0"/>
324 <Component class="javax.swing.JCheckBox" name="jCheckBoxSky">
326 <Property name="selected" type="boolean" value="true"/>
327 <Property name="text" type="java.lang.String" value="generate a skybox"/>
330 <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jCheckBoxSkyActionPerformed"/>
333 <Component class="javax.swing.JLabel" name="jLabel5">
335 <Property name="text" type="java.lang.String" value="Sky height:"/>
338 <Component class="javax.swing.JSpinner" name="jSpinnerSkyHeight">
340 <Property name="model" type="javax.swing.SpinnerModel" editor="org.netbeans.modules.form.editors2.SpinnerModelEditor">
341 <SpinnerModel initial="2048" minimum="256" numberType="java.lang.Integer" stepSize="1" type="number"/>
345 <EventHandler event="stateChanged" listener="javax.swing.event.ChangeListener" parameters="javax.swing.event.ChangeEvent" handler="jSpinnerSkyHeightStateChanged"/>
348 <Component class="javax.swing.JCheckBox" name="jCheckBoxSkyFill">
350 <Property name="selected" type="boolean" value="true"/>
351 <Property name="text" type="java.lang.String" value="fill alpha-gaps with sky"/>
354 <Component class="javax.swing.JLabel" name="jLabel6">
356 <Property name="text" type="java.lang.String" value="Sky texture:"/>
359 <Component class="javax.swing.JTextField" name="jTextFieldSkyTexture">
361 <Property name="text" type="java.lang.String" value="skies/sky1"/>