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 <EmptySpace max="-2" attributes="0"/>
27 <Group type="103" groupAlignment="0" attributes="0">
28 <Component id="jPanelSky" alignment="0" max="32767" attributes="0"/>
29 <Component id="jPanel2" alignment="0" max="32767" attributes="0"/>
30 <Component id="jPanel1" 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" pref="157" 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" attributes="0">
67 <EmptySpace min="-2" max="-2" attributes="0"/>
68 <Group type="103" groupAlignment="1" attributes="0">
69 <Component id="jTextFieldOutput" alignment="0" pref="278" max="32767" attributes="2"/>
70 <Component id="jTextFieldInput" alignment="0" pref="278" max="32767" attributes="2"/>
72 <EmptySpace min="-2" max="-2" attributes="0"/>
73 <Group type="103" groupAlignment="0" attributes="0">
74 <Component id="jButtonInput" alignment="1" pref="120" max="32767" attributes="2"/>
75 <Component id="jButtonOutput" alignment="1" max="32767" attributes="2"/>
77 <EmptySpace min="-2" max="-2" attributes="0"/>
81 <DimensionLayout dim="1">
82 <Group type="103" groupAlignment="0" attributes="0">
83 <Group type="102" attributes="0">
84 <EmptySpace max="-2" attributes="0"/>
85 <Group type="103" groupAlignment="3" attributes="0">
86 <Component id="jButtonInput" alignment="3" min="-2" max="-2" attributes="0"/>
87 <Component id="jTextFieldInput" alignment="3" min="-2" pref="27" max="-2" attributes="0"/>
89 <EmptySpace max="-2" attributes="0"/>
90 <Group type="103" groupAlignment="3" attributes="0">
91 <Component id="jButtonOutput" alignment="3" min="-2" max="-2" attributes="0"/>
92 <Component id="jTextFieldOutput" alignment="3" min="-2" pref="26" max="-2" attributes="0"/>
94 <EmptySpace max="32767" attributes="0"/>
100 <Component class="javax.swing.JTextField" name="jTextFieldInput">
102 <Component class="javax.swing.JButton" name="jButtonInput">
104 <Property name="text" type="java.lang.String" value="Select input file"/>
107 <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jButtonInputActionPerformed"/>
110 <Component class="javax.swing.JTextField" name="jTextFieldOutput">
112 <Component class="javax.swing.JButton" name="jButtonOutput">
114 <Property name="text" type="java.lang.String" value="Select output file"/>
117 <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jButtonOutputActionPerformed"/>
122 <Component class="javax.swing.JButton" name="jButtonOK">
124 <Property name="text" type="java.lang.String" value="Start conversion!"/>
127 <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jButtonOKActionPerformed"/>
130 <Container class="javax.swing.JPanel" name="jPanel2">
132 <Property name="border" type="javax.swing.border.Border" editor="org.netbeans.modules.form.editors2.BorderEditor">
133 <Border info="org.netbeans.modules.form.compat2.border.TitledBorderInfo">
134 <TitledBorder title="Terrain configuration"/>
140 <DimensionLayout dim="0">
141 <Group type="103" groupAlignment="0" attributes="0">
142 <Group type="102" attributes="0">
143 <EmptySpace max="-2" attributes="0"/>
144 <Group type="103" groupAlignment="0" attributes="0">
145 <Group type="102" alignment="0" attributes="0">
146 <Group type="103" groupAlignment="1" attributes="0">
147 <Component id="jLabel1" min="-2" max="-2" attributes="0"/>
148 <Component id="jLabel2" alignment="1" min="-2" max="-2" attributes="0"/>
150 <EmptySpace max="-2" attributes="0"/>
151 <Group type="103" groupAlignment="0" max="-2" attributes="0">
152 <Component id="jSpinnerHeight" min="0" pref="0" max="32767" attributes="1"/>
153 <Component id="jSpinnerUnits" alignment="0" max="32767" attributes="1"/>
155 <EmptySpace type="separate" max="-2" attributes="0"/>
156 <Group type="103" groupAlignment="0" attributes="0">
157 <Group type="102" attributes="0">
158 <Component id="jLabel4" min="-2" max="-2" attributes="1"/>
159 <EmptySpace max="-2" attributes="0"/>
160 <Component id="jSpinnerTextureScale" max="32767" attributes="1"/>
162 <Component id="jCheckBoxDetail" min="-2" max="-2" attributes="0"/>
165 <Component id="jLabel3" alignment="0" min="-2" max="-2" attributes="0"/>
166 <Component id="jTextFieldTexture" alignment="1" pref="404" max="32767" attributes="0"/>
168 <EmptySpace max="-2" attributes="0"/>
172 <DimensionLayout dim="1">
173 <Group type="103" groupAlignment="0" attributes="0">
174 <Group type="102" alignment="0" attributes="0">
175 <Group type="103" groupAlignment="3" attributes="0">
176 <Component id="jSpinnerUnits" alignment="3" min="-2" max="-2" attributes="0"/>
177 <Component id="jLabel1" alignment="3" min="-2" max="-2" attributes="0"/>
178 <Component id="jLabel4" alignment="3" min="-2" max="-2" attributes="0"/>
179 <Component id="jSpinnerTextureScale" alignment="3" min="-2" max="-2" attributes="0"/>
181 <EmptySpace max="-2" attributes="0"/>
182 <Group type="103" groupAlignment="3" attributes="0">
183 <Component id="jLabel2" alignment="3" min="-2" max="-2" attributes="0"/>
184 <Component id="jSpinnerHeight" alignment="3" min="-2" max="-2" attributes="0"/>
185 <Component id="jCheckBoxDetail" alignment="3" min="-2" max="-2" attributes="0"/>
187 <EmptySpace type="separate" max="-2" attributes="0"/>
188 <Component id="jLabel3" min="-2" max="-2" attributes="0"/>
189 <EmptySpace max="-2" attributes="0"/>
190 <Component id="jTextFieldTexture" min="-2" max="-2" attributes="0"/>
191 <EmptySpace max="32767" attributes="0"/>
197 <Component class="javax.swing.JCheckBox" name="jCheckBoxDetail">
199 <Property name="selected" type="boolean" value="true"/>
200 <Property name="text" type="java.lang.String" value="make detail"/>
203 <Component class="javax.swing.JTextField" name="jTextFieldTexture">
205 <Property name="text" type="java.lang.String" value="terrain/terrain1"/>
208 <Component class="javax.swing.JLabel" name="jLabel3">
210 <Property name="text" type="java.lang.String" value="Cover terrain surface with texture:"/>
213 <Component class="javax.swing.JSpinner" name="jSpinnerUnits">
215 <Property name="model" type="javax.swing.SpinnerModel" editor="org.netbeans.modules.form.editors2.SpinnerModelEditor">
216 <SpinnerModel initial="256" maximum="2048" minimum="1" numberType="java.lang.Integer" stepSize="1" type="number"/>
220 <Component class="javax.swing.JSpinner" name="jSpinnerHeight">
222 <Property name="model" type="javax.swing.SpinnerModel" editor="org.netbeans.modules.form.editors2.SpinnerModelEditor">
223 <SpinnerModel initial="1024" maximum="16384" minimum="256" numberType="java.lang.Integer" stepSize="1" type="number"/>
227 <EventHandler event="stateChanged" listener="javax.swing.event.ChangeListener" parameters="javax.swing.event.ChangeEvent" handler="jSpinnerHeightStateChanged"/>
230 <Component class="javax.swing.JSpinner" name="jSpinnerTextureScale">
232 <Property name="model" type="javax.swing.SpinnerModel" editor="org.netbeans.modules.form.editors2.SpinnerModelEditor">
233 <SpinnerModel initial="0.5" maximum="16.0" minimum="0.25" numberType="java.lang.Double" stepSize="0.25" type="number"/>
237 <Component class="javax.swing.JLabel" name="jLabel4">
239 <Property name="text" type="java.lang.String" value="Texture scale:"/>
242 <Component class="javax.swing.JLabel" name="jLabel2">
244 <Property name="text" type="java.lang.String" value="Height for white:"/>
247 <Component class="javax.swing.JLabel" name="jLabel1">
249 <Property name="text" type="java.lang.String" value="Units per pixel:"/>
254 <Container class="javax.swing.JPanel" name="jPanelSky">
256 <Property name="border" type="javax.swing.border.Border" editor="org.netbeans.modules.form.editors2.BorderEditor">
257 <Border info="org.netbeans.modules.form.compat2.border.TitledBorderInfo">
258 <TitledBorder title="Sky configuration"/>
264 <DimensionLayout dim="0">
265 <Group type="103" groupAlignment="0" attributes="0">
266 <Group type="102" alignment="0" attributes="0">
267 <EmptySpace max="-2" attributes="0"/>
268 <Group type="103" groupAlignment="0" attributes="0">
269 <Component id="jTextFieldSkyTexture" alignment="0" pref="404" max="32767" attributes="0"/>
270 <Group type="102" alignment="0" attributes="0">
271 <Component id="jCheckBoxSky" min="-2" max="-2" attributes="0"/>
272 <EmptySpace min="18" pref="18" max="-2" attributes="0"/>
273 <Component id="jCheckBoxSkyFill" min="-2" max="-2" attributes="0"/>
275 <Group type="102" alignment="0" attributes="0">
276 <Component id="jLabel5" min="-2" max="-2" attributes="0"/>
277 <EmptySpace max="-2" attributes="0"/>
278 <Component id="jSpinnerSkyHeight" min="-2" pref="82" max="-2" attributes="0"/>
280 <Component id="jLabel6" alignment="0" min="-2" max="-2" attributes="0"/>
282 <EmptySpace max="-2" attributes="0"/>
286 <DimensionLayout dim="1">
287 <Group type="103" groupAlignment="0" attributes="0">
288 <Group type="102" alignment="0" attributes="0">
289 <Group type="103" groupAlignment="3" attributes="0">
290 <Component id="jCheckBoxSky" alignment="3" min="-2" max="-2" attributes="0"/>
291 <Component id="jCheckBoxSkyFill" alignment="3" min="-2" max="-2" attributes="0"/>
293 <EmptySpace max="-2" attributes="0"/>
294 <Group type="103" groupAlignment="3" attributes="0">
295 <Component id="jLabel5" alignment="3" min="-2" max="-2" attributes="0"/>
296 <Component id="jSpinnerSkyHeight" alignment="3" min="-2" max="-2" attributes="0"/>
298 <EmptySpace type="unrelated" max="-2" attributes="0"/>
299 <Component id="jLabel6" min="-2" max="-2" attributes="0"/>
300 <EmptySpace max="-2" attributes="0"/>
301 <Component id="jTextFieldSkyTexture" min="-2" max="-2" attributes="0"/>
302 <EmptySpace max="32767" attributes="0"/>
308 <Component class="javax.swing.JCheckBox" name="jCheckBoxSky">
310 <Property name="selected" type="boolean" value="true"/>
311 <Property name="text" type="java.lang.String" value="generate a skybox"/>
314 <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jCheckBoxSkyActionPerformed"/>
317 <Component class="javax.swing.JLabel" name="jLabel5">
319 <Property name="text" type="java.lang.String" value="Sky height:"/>
322 <Component class="javax.swing.JSpinner" name="jSpinnerSkyHeight">
324 <Property name="model" type="javax.swing.SpinnerModel" editor="org.netbeans.modules.form.editors2.SpinnerModelEditor">
325 <SpinnerModel initial="1152" minimum="256" numberType="java.lang.Integer" stepSize="1" type="number"/>
329 <EventHandler event="stateChanged" listener="javax.swing.event.ChangeListener" parameters="javax.swing.event.ChangeEvent" handler="jSpinnerSkyHeightStateChanged"/>
332 <Component class="javax.swing.JCheckBox" name="jCheckBoxSkyFill">
334 <Property name="selected" type="boolean" value="true"/>
335 <Property name="text" type="java.lang.String" value="fill alpha-gaps with sky"/>
338 <Component class="javax.swing.JLabel" name="jLabel6">
340 <Property name="text" type="java.lang.String" value="Sky texture:"/>
343 <Component class="javax.swing.JTextField" name="jTextFieldSkyTexture">
345 <Property name="text" type="java.lang.String" value="skies/sky1"/>