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="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" 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 max="-2" attributes="0"/>
156 <Component id="jLabel4" min="-2" max="-2" attributes="1"/>
157 <EmptySpace max="-2" attributes="0"/>
158 <Component id="jSpinnerTextureScale" pref="96" max="32767" attributes="1"/>
160 <Component id="jLabel3" alignment="0" min="-2" max="-2" attributes="0"/>
161 <Component id="jTextFieldTexture" alignment="1" pref="416" max="32767" attributes="0"/>
162 <Group type="102" alignment="0" attributes="0">
163 <Component id="jCheckBoxDetail" min="-2" max="-2" attributes="0"/>
164 <EmptySpace type="separate" max="-2" attributes="0"/>
165 <Component id="jCheckBoxVisBlocker" min="-2" max="-2" attributes="0"/>
166 <EmptySpace max="-2" attributes="0"/>
169 <EmptySpace max="-2" attributes="0"/>
173 <DimensionLayout dim="1">
174 <Group type="103" groupAlignment="0" attributes="0">
175 <Group type="102" alignment="0" attributes="0">
176 <Group type="103" groupAlignment="3" attributes="0">
177 <Component id="jSpinnerUnits" alignment="3" min="-2" max="-2" attributes="0"/>
178 <Component id="jLabel1" alignment="3" min="-2" max="-2" attributes="0"/>
179 <Component id="jLabel4" alignment="3" min="-2" max="-2" attributes="0"/>
180 <Component id="jSpinnerTextureScale" alignment="3" min="-2" max="-2" attributes="0"/>
182 <EmptySpace max="-2" attributes="0"/>
183 <Group type="103" groupAlignment="3" attributes="0">
184 <Component id="jLabel2" alignment="3" min="-2" max="-2" attributes="0"/>
185 <Component id="jSpinnerHeight" 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="jCheckBoxDetail" alignment="3" min="-2" max="-2" attributes="0"/>
190 <Component id="jCheckBoxVisBlocker" alignment="3" min="-2" max="-2" attributes="0"/>
192 <EmptySpace min="-2" pref="14" max="-2" attributes="0"/>
193 <Component id="jLabel3" min="-2" max="-2" attributes="0"/>
194 <EmptySpace max="-2" attributes="0"/>
195 <Component id="jTextFieldTexture" min="-2" max="-2" attributes="0"/>
196 <EmptySpace max="32767" attributes="0"/>
202 <Component class="javax.swing.JCheckBox" name="jCheckBoxDetail">
204 <Property name="selected" type="boolean" value="true"/>
205 <Property name="text" type="java.lang.String" value="make detail"/>
208 <Component class="javax.swing.JTextField" name="jTextFieldTexture">
210 <Property name="text" type="java.lang.String" value="terrain/terrain1"/>
213 <Component class="javax.swing.JLabel" name="jLabel3">
215 <Property name="text" type="java.lang.String" value="Cover terrain surface with texture:"/>
218 <Component class="javax.swing.JSpinner" name="jSpinnerUnits">
220 <Property name="model" type="javax.swing.SpinnerModel" editor="org.netbeans.modules.form.editors2.SpinnerModelEditor">
221 <SpinnerModel initial="256" maximum="2048" minimum="1" numberType="java.lang.Integer" stepSize="1" type="number"/>
225 <Component class="javax.swing.JSpinner" name="jSpinnerHeight">
227 <Property name="model" type="javax.swing.SpinnerModel" editor="org.netbeans.modules.form.editors2.SpinnerModelEditor">
228 <SpinnerModel initial="1024" maximum="16384" minimum="256" numberType="java.lang.Integer" stepSize="1" type="number"/>
232 <EventHandler event="stateChanged" listener="javax.swing.event.ChangeListener" parameters="javax.swing.event.ChangeEvent" handler="jSpinnerHeightStateChanged"/>
235 <Component class="javax.swing.JSpinner" name="jSpinnerTextureScale">
237 <Property name="model" type="javax.swing.SpinnerModel" editor="org.netbeans.modules.form.editors2.SpinnerModelEditor">
238 <SpinnerModel initial="0.5" maximum="16.0" minimum="0.25" numberType="java.lang.Double" stepSize="0.25" type="number"/>
242 <Component class="javax.swing.JLabel" name="jLabel4">
244 <Property name="text" type="java.lang.String" value="Texture scale:"/>
247 <Component class="javax.swing.JLabel" name="jLabel2">
249 <Property name="text" type="java.lang.String" value="Height for white:"/>
252 <Component class="javax.swing.JLabel" name="jLabel1">
254 <Property name="text" type="java.lang.String" value="Units per pixel:"/>
257 <Component class="javax.swing.JCheckBox" name="jCheckBoxVisBlocker">
259 <Property name="selected" type="boolean" value="true"/>
260 <Property name="text" type="java.lang.String" value="generate visblockers"/>
265 <Container class="javax.swing.JPanel" name="jPanelSky">
267 <Property name="border" type="javax.swing.border.Border" editor="org.netbeans.modules.form.editors2.BorderEditor">
268 <Border info="org.netbeans.modules.form.compat2.border.TitledBorderInfo">
269 <TitledBorder title="Sky configuration"/>
275 <DimensionLayout dim="0">
276 <Group type="103" groupAlignment="0" attributes="0">
277 <Group type="102" alignment="0" attributes="0">
278 <EmptySpace max="-2" attributes="0"/>
279 <Group type="103" groupAlignment="0" attributes="0">
280 <Component id="jTextFieldSkyTexture" alignment="0" pref="404" max="32767" attributes="0"/>
281 <Group type="102" alignment="0" attributes="0">
282 <Component id="jCheckBoxSky" min="-2" max="-2" attributes="0"/>
283 <EmptySpace min="18" pref="18" max="-2" attributes="0"/>
284 <Component id="jCheckBoxSkyFill" min="-2" max="-2" attributes="0"/>
286 <Group type="102" alignment="0" attributes="0">
287 <Component id="jLabel5" min="-2" max="-2" attributes="0"/>
288 <EmptySpace max="-2" attributes="0"/>
289 <Component id="jSpinnerSkyHeight" min="-2" pref="82" max="-2" attributes="0"/>
291 <Component id="jLabel6" alignment="0" min="-2" max="-2" attributes="0"/>
293 <EmptySpace max="-2" attributes="0"/>
297 <DimensionLayout dim="1">
298 <Group type="103" groupAlignment="0" attributes="0">
299 <Group type="102" alignment="0" attributes="0">
300 <Group type="103" groupAlignment="3" attributes="0">
301 <Component id="jCheckBoxSky" alignment="3" min="-2" max="-2" attributes="0"/>
302 <Component id="jCheckBoxSkyFill" alignment="3" min="-2" max="-2" attributes="0"/>
304 <EmptySpace max="-2" attributes="0"/>
305 <Group type="103" groupAlignment="3" attributes="0">
306 <Component id="jLabel5" alignment="3" min="-2" max="-2" attributes="0"/>
307 <Component id="jSpinnerSkyHeight" alignment="3" min="-2" max="-2" attributes="0"/>
309 <EmptySpace type="unrelated" max="-2" attributes="0"/>
310 <Component id="jLabel6" min="-2" max="-2" attributes="0"/>
311 <EmptySpace max="-2" attributes="0"/>
312 <Component id="jTextFieldSkyTexture" min="-2" max="-2" attributes="0"/>
313 <EmptySpace max="32767" attributes="0"/>
319 <Component class="javax.swing.JCheckBox" name="jCheckBoxSky">
321 <Property name="selected" type="boolean" value="true"/>
322 <Property name="text" type="java.lang.String" value="generate a skybox"/>
325 <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jCheckBoxSkyActionPerformed"/>
328 <Component class="javax.swing.JLabel" name="jLabel5">
330 <Property name="text" type="java.lang.String" value="Sky height:"/>
333 <Component class="javax.swing.JSpinner" name="jSpinnerSkyHeight">
335 <Property name="model" type="javax.swing.SpinnerModel" editor="org.netbeans.modules.form.editors2.SpinnerModelEditor">
336 <SpinnerModel initial="1152" minimum="256" numberType="java.lang.Integer" stepSize="1" type="number"/>
340 <EventHandler event="stateChanged" listener="javax.swing.event.ChangeListener" parameters="javax.swing.event.ChangeEvent" handler="jSpinnerSkyHeightStateChanged"/>
343 <Component class="javax.swing.JCheckBox" name="jCheckBoxSkyFill">
345 <Property name="selected" type="boolean" value="true"/>
346 <Property name="text" type="java.lang.String" value="fill alpha-gaps with sky"/>
349 <Component class="javax.swing.JLabel" name="jLabel6">
351 <Property name="text" type="java.lang.String" value="Sky texture:"/>
354 <Component class="javax.swing.JTextField" name="jTextFieldSkyTexture">
356 <Property name="text" type="java.lang.String" value="skies/sky1"/>