You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
379 lines
24 KiB
379 lines
24 KiB
<?xml version="1.1" encoding="UTF-8" ?>
|
|
|
|
<Form version="1.4" maxVersion="1.7" type="org.netbeans.modules.form.forminfo.JPanelFormInfo">
|
|
<AuxValues>
|
|
<AuxValue name="FormSettings_autoResourcing" type="java.lang.Integer" value="1"/>
|
|
<AuxValue name="FormSettings_autoSetComponentName" type="java.lang.Boolean" value="false"/>
|
|
<AuxValue name="FormSettings_generateFQN" type="java.lang.Boolean" value="true"/>
|
|
<AuxValue name="FormSettings_generateMnemonicsCode" type="java.lang.Boolean" value="true"/>
|
|
<AuxValue name="FormSettings_i18nAutoMode" type="java.lang.Boolean" value="true"/>
|
|
<AuxValue name="FormSettings_layoutCodeTarget" type="java.lang.Integer" value="1"/>
|
|
<AuxValue name="FormSettings_listenerGenerationStyle" type="java.lang.Integer" value="0"/>
|
|
<AuxValue name="FormSettings_variablesLocal" type="java.lang.Boolean" value="false"/>
|
|
<AuxValue name="FormSettings_variablesModifier" type="java.lang.Integer" value="2"/>
|
|
</AuxValues>
|
|
|
|
<Layout>
|
|
<DimensionLayout dim="0">
|
|
<Group type="103" groupAlignment="0" attributes="0">
|
|
<Component id="jToolBar1" alignment="1" pref="664" max="32767" attributes="0"/>
|
|
<Component id="jScrollPane1" alignment="1" pref="664" max="32767" attributes="0"/>
|
|
</Group>
|
|
</DimensionLayout>
|
|
<DimensionLayout dim="1">
|
|
<Group type="103" groupAlignment="0" attributes="0">
|
|
<Group type="102" alignment="0" attributes="0">
|
|
<Component id="jToolBar1" min="-2" pref="25" max="-2" attributes="0"/>
|
|
<EmptySpace max="-2" attributes="0"/>
|
|
<Component id="jScrollPane1" min="-2" pref="194" max="-2" attributes="0"/>
|
|
</Group>
|
|
</Group>
|
|
</DimensionLayout>
|
|
</Layout>
|
|
<SubComponents>
|
|
<Container class="javax.swing.JScrollPane" name="jScrollPane1">
|
|
|
|
<Layout class="org.netbeans.modules.form.compat2.layouts.support.JScrollPaneSupportLayout"/>
|
|
<SubComponents>
|
|
<Container class="javax.swing.JPanel" name="jPanel1">
|
|
|
|
<Layout>
|
|
<DimensionLayout dim="0">
|
|
<Group type="103" groupAlignment="0" attributes="0">
|
|
<Group type="102" attributes="0">
|
|
<EmptySpace max="-2" attributes="0"/>
|
|
<Group type="103" groupAlignment="1" attributes="0">
|
|
<Component id="jLabel16" alignment="1" min="-2" max="-2" attributes="0"/>
|
|
<Component id="jLabel15" alignment="1" min="-2" max="-2" attributes="0"/>
|
|
<Component id="jLabel14" alignment="1" min="-2" max="-2" attributes="0"/>
|
|
<Component id="jLabel13" alignment="1" min="-2" max="-2" attributes="0"/>
|
|
<Component id="jLabel12" alignment="1" min="-2" max="-2" attributes="0"/>
|
|
<Component id="jLabel11" alignment="1" min="-2" max="-2" attributes="0"/>
|
|
<Component id="jLabel10" alignment="1" min="-2" max="-2" attributes="0"/>
|
|
<Component id="jLabel9" alignment="1" min="-2" max="-2" attributes="0"/>
|
|
<Component id="jLabel8" alignment="1" min="-2" max="-2" attributes="0"/>
|
|
<Component id="jLabel7" alignment="1" min="-2" max="-2" attributes="0"/>
|
|
<Component id="jLabel6" alignment="1" min="-2" max="-2" attributes="0"/>
|
|
<Component id="jLabel5" alignment="1" min="-2" max="-2" attributes="0"/>
|
|
<Component id="jLabel4" alignment="1" min="-2" max="-2" attributes="0"/>
|
|
<Component id="jLabel3" alignment="1" min="-2" max="-2" attributes="0"/>
|
|
<Component id="jLabel2" min="-2" max="-2" attributes="0"/>
|
|
<Component id="jLabel1" min="-2" max="-2" attributes="0"/>
|
|
</Group>
|
|
<EmptySpace type="unrelated" max="-2" attributes="0"/>
|
|
<Group type="103" groupAlignment="0" max="-2" attributes="0">
|
|
<Component id="minUnconnectedRegionSizeField" max="32767" attributes="1"/>
|
|
<Component id="contourMaxDeviationField" max="32767" attributes="1"/>
|
|
<Component id="contourSampleDistanceField" max="32767" attributes="1"/>
|
|
<Component id="maxVertsPerPolyField" max="32767" attributes="1"/>
|
|
<Component id="edgeMaxDeviationField" max="32767" attributes="1"/>
|
|
<Component id="maxEdgeLengthField" max="32767" attributes="1"/>
|
|
<Component id="smoothingThresholdField" max="32767" attributes="1"/>
|
|
<Component id="maxTraversableSlopeField" max="32767" attributes="1"/>
|
|
<Component id="maxTraversableStepField" max="32767" attributes="1"/>
|
|
<Component id="minTraversableHeightField" max="32767" attributes="1"/>
|
|
<Component id="cellSizeField" alignment="0" pref="58" max="32767" attributes="1"/>
|
|
<Component id="cellHeightField" alignment="0" max="32767" attributes="0"/>
|
|
<Component id="clipLedgesBox" min="-2" max="-2" attributes="0"/>
|
|
<Component id="traversableAreaBorderSizeField" alignment="0" max="32767" attributes="1"/>
|
|
<Component id="useConservativeExpansionBox" min="-2" max="-2" attributes="0"/>
|
|
<Component id="mergeRegionSizeField" alignment="0" max="32767" attributes="1"/>
|
|
</Group>
|
|
<EmptySpace pref="594" max="32767" attributes="0"/>
|
|
</Group>
|
|
</Group>
|
|
</DimensionLayout>
|
|
<DimensionLayout dim="1">
|
|
<Group type="103" groupAlignment="0" attributes="0">
|
|
<Group type="102" alignment="0" attributes="0">
|
|
<EmptySpace min="-2" pref="31" max="-2" attributes="0"/>
|
|
<Group type="103" groupAlignment="3" attributes="0">
|
|
<Component id="cellSizeField" alignment="3" min="-2" max="-2" attributes="0"/>
|
|
<Component id="jLabel1" alignment="3" min="-2" max="-2" attributes="0"/>
|
|
</Group>
|
|
<EmptySpace max="-2" attributes="0"/>
|
|
<Group type="103" groupAlignment="3" attributes="0">
|
|
<Component id="jLabel2" alignment="3" min="-2" max="-2" attributes="0"/>
|
|
<Component id="cellHeightField" alignment="3" min="-2" max="-2" attributes="0"/>
|
|
</Group>
|
|
<EmptySpace max="-2" attributes="0"/>
|
|
<Group type="103" groupAlignment="3" attributes="0">
|
|
<Component id="jLabel3" alignment="3" min="-2" max="-2" attributes="0"/>
|
|
<Component id="minTraversableHeightField" alignment="3" min="-2" max="-2" attributes="0"/>
|
|
</Group>
|
|
<EmptySpace max="-2" attributes="0"/>
|
|
<Group type="103" groupAlignment="3" attributes="0">
|
|
<Component id="jLabel4" alignment="3" min="-2" max="-2" attributes="0"/>
|
|
<Component id="maxTraversableStepField" alignment="3" min="-2" max="-2" attributes="0"/>
|
|
</Group>
|
|
<EmptySpace max="-2" attributes="0"/>
|
|
<Group type="103" groupAlignment="3" attributes="0">
|
|
<Component id="jLabel5" alignment="3" min="-2" max="-2" attributes="0"/>
|
|
<Component id="maxTraversableSlopeField" alignment="3" min="-2" max="-2" attributes="0"/>
|
|
</Group>
|
|
<EmptySpace max="-2" attributes="0"/>
|
|
<Group type="103" groupAlignment="0" attributes="0">
|
|
<Component id="jLabel6" min="-2" max="-2" attributes="0"/>
|
|
<Component id="clipLedgesBox" min="-2" max="-2" attributes="0"/>
|
|
</Group>
|
|
<EmptySpace max="-2" attributes="0"/>
|
|
<Group type="103" groupAlignment="3" attributes="0">
|
|
<Component id="jLabel7" alignment="3" min="-2" max="-2" attributes="0"/>
|
|
<Component id="traversableAreaBorderSizeField" alignment="3" min="-2" max="-2" attributes="0"/>
|
|
</Group>
|
|
<EmptySpace max="-2" attributes="0"/>
|
|
<Group type="103" groupAlignment="3" attributes="0">
|
|
<Component id="jLabel8" alignment="3" min="-2" max="-2" attributes="0"/>
|
|
<Component id="smoothingThresholdField" alignment="3" min="-2" max="-2" attributes="0"/>
|
|
</Group>
|
|
<EmptySpace max="-2" attributes="0"/>
|
|
<Group type="103" groupAlignment="0" attributes="0">
|
|
<Component id="jLabel9" min="-2" max="-2" attributes="0"/>
|
|
<Component id="useConservativeExpansionBox" min="-2" max="-2" attributes="0"/>
|
|
</Group>
|
|
<EmptySpace max="-2" attributes="0"/>
|
|
<Group type="103" groupAlignment="3" attributes="0">
|
|
<Component id="jLabel10" alignment="3" min="-2" max="-2" attributes="0"/>
|
|
<Component id="mergeRegionSizeField" alignment="3" min="-2" max="-2" attributes="0"/>
|
|
</Group>
|
|
<EmptySpace max="-2" attributes="0"/>
|
|
<Group type="103" groupAlignment="3" attributes="0">
|
|
<Component id="jLabel11" alignment="3" min="-2" max="-2" attributes="0"/>
|
|
<Component id="maxEdgeLengthField" alignment="3" min="-2" max="-2" attributes="0"/>
|
|
</Group>
|
|
<EmptySpace max="-2" attributes="0"/>
|
|
<Group type="103" groupAlignment="3" attributes="0">
|
|
<Component id="jLabel12" alignment="3" min="-2" max="-2" attributes="0"/>
|
|
<Component id="edgeMaxDeviationField" alignment="3" min="-2" max="-2" attributes="0"/>
|
|
</Group>
|
|
<EmptySpace max="-2" attributes="0"/>
|
|
<Group type="103" groupAlignment="3" attributes="0">
|
|
<Component id="jLabel13" alignment="3" min="-2" max="-2" attributes="0"/>
|
|
<Component id="maxVertsPerPolyField" alignment="3" min="-2" max="-2" attributes="0"/>
|
|
</Group>
|
|
<EmptySpace max="-2" attributes="0"/>
|
|
<Group type="103" groupAlignment="3" attributes="0">
|
|
<Component id="jLabel14" alignment="3" min="-2" max="-2" attributes="0"/>
|
|
<Component id="contourSampleDistanceField" alignment="3" min="-2" max="-2" attributes="0"/>
|
|
</Group>
|
|
<EmptySpace max="-2" attributes="0"/>
|
|
<Group type="103" groupAlignment="3" attributes="0">
|
|
<Component id="jLabel15" alignment="3" min="-2" max="-2" attributes="0"/>
|
|
<Component id="contourMaxDeviationField" alignment="3" min="-2" max="-2" attributes="0"/>
|
|
</Group>
|
|
<EmptySpace max="-2" attributes="0"/>
|
|
<Group type="103" groupAlignment="3" attributes="0">
|
|
<Component id="jLabel16" alignment="3" min="-2" max="-2" attributes="0"/>
|
|
<Component id="minUnconnectedRegionSizeField" alignment="3" min="-2" max="-2" attributes="0"/>
|
|
</Group>
|
|
<EmptySpace pref="57" max="32767" attributes="0"/>
|
|
</Group>
|
|
</Group>
|
|
</DimensionLayout>
|
|
</Layout>
|
|
<SubComponents>
|
|
<Component class="javax.swing.JLabel" name="jLabel1">
|
|
<Properties>
|
|
<Property name="text" type="java.lang.String" value="Cell Size"/>
|
|
<Property name="toolTipText" type="java.lang.String" value="The width and depth resolution used when sampling the source mesh"/>
|
|
</Properties>
|
|
</Component>
|
|
<Component class="javax.swing.JTextField" name="cellSizeField">
|
|
<Properties>
|
|
<Property name="text" type="java.lang.String" value="1"/>
|
|
</Properties>
|
|
<Events>
|
|
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="cellSizeFieldActionPerformed"/>
|
|
</Events>
|
|
</Component>
|
|
<Component class="javax.swing.JLabel" name="jLabel2">
|
|
<Properties>
|
|
<Property name="text" type="java.lang.String" value="Cell Height"/>
|
|
<Property name="toolTipText" type="java.lang.String" value="The height resolution used when sampling the source mesh"/>
|
|
</Properties>
|
|
</Component>
|
|
<Component class="javax.swing.JTextField" name="cellHeightField">
|
|
<Properties>
|
|
<Property name="text" type="java.lang.String" value="1.5"/>
|
|
</Properties>
|
|
</Component>
|
|
<Component class="javax.swing.JLabel" name="jLabel3">
|
|
<Properties>
|
|
<Property name="text" type="java.lang.String" value="Min Traversable Height"/>
|
|
<Property name="toolTipText" type="java.lang.String" value="Represents the minimum floor to ceiling height that will still allow the floor area to be considered walkable"/>
|
|
</Properties>
|
|
</Component>
|
|
<Component class="javax.swing.JTextField" name="minTraversableHeightField">
|
|
<Properties>
|
|
<Property name="text" type="java.lang.String" value="7.5"/>
|
|
</Properties>
|
|
</Component>
|
|
<Component class="javax.swing.JLabel" name="jLabel4">
|
|
<Properties>
|
|
<Property name="text" type="java.lang.String" value="Max Traversable Step"/>
|
|
<Property name="toolTipText" type="java.lang.String" value="Represents the maximum ledge height that is considered to still be walkable"/>
|
|
</Properties>
|
|
</Component>
|
|
<Component class="javax.swing.JTextField" name="maxTraversableStepField">
|
|
<Properties>
|
|
<Property name="text" type="java.lang.String" value="1"/>
|
|
</Properties>
|
|
</Component>
|
|
<Component class="javax.swing.JLabel" name="jLabel5">
|
|
<Properties>
|
|
<Property name="text" type="java.lang.String" value="Max Traversable Slope"/>
|
|
<Property name="toolTipText" type="java.lang.String" value="The maximum slope that is considered walkable. (Degrees)"/>
|
|
</Properties>
|
|
</Component>
|
|
<Component class="javax.swing.JTextField" name="maxTraversableSlopeField">
|
|
<Properties>
|
|
<Property name="text" type="java.lang.String" value="48"/>
|
|
</Properties>
|
|
</Component>
|
|
<Component class="javax.swing.JLabel" name="jLabel6">
|
|
<Properties>
|
|
<Property name="text" type="java.lang.String" value="Clip Ledges"/>
|
|
<Property name="toolTipText" type="java.lang.String" value="Indicates whether ledges should be marked as unwalkable"/>
|
|
</Properties>
|
|
</Component>
|
|
<Component class="javax.swing.JCheckBox" name="clipLedgesBox">
|
|
</Component>
|
|
<Component class="javax.swing.JLabel" name="jLabel7">
|
|
<Properties>
|
|
<Property name="text" type="java.lang.String" value="Traversable Area Border Size"/>
|
|
<Property name="toolTipText" type="java.lang.String" value="Represents the closest any part of the navmesh can get to an obstruction in the source mesh"/>
|
|
</Properties>
|
|
</Component>
|
|
<Component class="javax.swing.JTextField" name="traversableAreaBorderSizeField">
|
|
<Properties>
|
|
<Property name="text" type="java.lang.String" value="1.2"/>
|
|
</Properties>
|
|
<Events>
|
|
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="traversableAreaBorderSizeFieldActionPerformed"/>
|
|
</Events>
|
|
</Component>
|
|
<Component class="javax.swing.JLabel" name="jLabel8">
|
|
<Properties>
|
|
<Property name="text" type="java.lang.String" value="Smoothing Threshold"/>
|
|
<Property name="toolTipText" type="java.lang.String" value="The amount of smoothing to be performed when generating the distance field"/>
|
|
</Properties>
|
|
</Component>
|
|
<Component class="javax.swing.JTextField" name="smoothingThresholdField">
|
|
<Properties>
|
|
<Property name="text" type="java.lang.String" value="2"/>
|
|
</Properties>
|
|
</Component>
|
|
<Component class="javax.swing.JLabel" name="jLabel9">
|
|
<Properties>
|
|
<Property name="text" type="java.lang.String" value="Use Conservative Expansion"/>
|
|
<Property name="toolTipText" type="java.lang.String" value="Applies extra algorithms to regions to help prevent poorly formed regions from forming. Enabling this feature significantly increased processing cost."/>
|
|
</Properties>
|
|
</Component>
|
|
<Component class="javax.swing.JCheckBox" name="useConservativeExpansionBox">
|
|
<Properties>
|
|
<Property name="selected" type="boolean" value="true"/>
|
|
</Properties>
|
|
</Component>
|
|
<Component class="javax.swing.JLabel" name="jLabel10">
|
|
<Properties>
|
|
<Property name="text" type="java.lang.String" value="Merge Region Size"/>
|
|
<Property name="toolTipText" type="java.lang.String" value="Any regions smaller than this size will, if possible, be merged with larger regions. (Voxels)"/>
|
|
</Properties>
|
|
</Component>
|
|
<Component class="javax.swing.JTextField" name="mergeRegionSizeField">
|
|
<Properties>
|
|
<Property name="text" type="java.lang.String" value="10"/>
|
|
</Properties>
|
|
</Component>
|
|
<Component class="javax.swing.JLabel" name="jLabel11">
|
|
<Properties>
|
|
<Property name="text" type="java.lang.String" value="Max Edge Length"/>
|
|
<Property name="toolTipText" type="java.lang.String" value="The maximum length of polygon edges that represent the border of the navmesh"/>
|
|
</Properties>
|
|
</Component>
|
|
<Component class="javax.swing.JTextField" name="maxEdgeLengthField">
|
|
<Properties>
|
|
<Property name="text" type="java.lang.String" value="0"/>
|
|
</Properties>
|
|
</Component>
|
|
<Component class="javax.swing.JLabel" name="jLabel12">
|
|
<Properties>
|
|
<Property name="text" type="java.lang.String" value="Edge Max Deviation"/>
|
|
<Property name="toolTipText" type="java.lang.String" value="The maximum distance the edge of the navmesh may deviate from the source geometry. Setting this lower will result in the navmesh edges following the geometry contour more accurately at the expense of an increased triangle count."/>
|
|
</Properties>
|
|
</Component>
|
|
<Component class="javax.swing.JTextField" name="edgeMaxDeviationField">
|
|
<Properties>
|
|
<Property name="text" type="java.lang.String" value="2.4"/>
|
|
</Properties>
|
|
</Component>
|
|
<Component class="javax.swing.JLabel" name="jLabel13">
|
|
<Properties>
|
|
<Property name="text" type="java.lang.String" value="Max Verts Per Poly"/>
|
|
<Property name="toolTipText" type="java.lang.String" value="The maximum number of vertices per polygon for polygons generated during the voxel to polygon conversion stage. Higher values reduce performance, but can also result in better formed triangles in the navmesh. A value of around 6 is generally adequate with diminishing returns for values higher than 6."/>
|
|
</Properties>
|
|
</Component>
|
|
<Component class="javax.swing.JTextField" name="maxVertsPerPolyField">
|
|
<Properties>
|
|
<Property name="text" type="java.lang.String" value="6"/>
|
|
</Properties>
|
|
</Component>
|
|
<Component class="javax.swing.JLabel" name="jLabel14">
|
|
<Properties>
|
|
<Property name="text" type="java.lang.String" value="Contour Sample Distance"/>
|
|
<Property name="toolTipText" type="java.lang.String" value="Sets the sampling distance to use when matching the navmesh to the surface of the original geometry. Impacts how well the final mesh conforms to the original geometry's surface contour. Higher values result in a navmesh which conforms more closely to the original geometry's surface at the cost of a higher final triangle count and higher processing cost"/>
|
|
</Properties>
|
|
</Component>
|
|
<Component class="javax.swing.JTextField" name="contourSampleDistanceField">
|
|
<Properties>
|
|
<Property name="text" type="java.lang.String" value="25"/>
|
|
</Properties>
|
|
</Component>
|
|
<Component class="javax.swing.JLabel" name="jLabel15">
|
|
<Properties>
|
|
<Property name="text" type="java.lang.String" value="Contour Max Deviation"/>
|
|
<Property name="toolTipText" type="java.lang.String" value="The maximum distance the surface of the navmesh may deviate from the surface of the original geometry."/>
|
|
</Properties>
|
|
</Component>
|
|
<Component class="javax.swing.JTextField" name="contourMaxDeviationField">
|
|
<Properties>
|
|
<Property name="text" type="java.lang.String" value="25"/>
|
|
</Properties>
|
|
</Component>
|
|
<Component class="javax.swing.JLabel" name="jLabel16">
|
|
<Properties>
|
|
<Property name="text" type="java.lang.String" value="Min Unconnected Region Size"/>
|
|
<Property name="toolTipText" type="java.lang.String" value="The minimum region size for unconnected (island) regions. (Voxels) "/>
|
|
</Properties>
|
|
</Component>
|
|
<Component class="javax.swing.JTextField" name="minUnconnectedRegionSizeField">
|
|
<Properties>
|
|
<Property name="text" type="java.lang.String" value="3"/>
|
|
</Properties>
|
|
</Component>
|
|
</SubComponents>
|
|
</Container>
|
|
</SubComponents>
|
|
</Container>
|
|
<Container class="javax.swing.JToolBar" name="jToolBar1">
|
|
<Properties>
|
|
<Property name="rollover" type="boolean" value="true"/>
|
|
</Properties>
|
|
|
|
<Layout class="org.netbeans.modules.form.compat2.layouts.DesignBoxLayout"/>
|
|
<SubComponents>
|
|
<Component class="javax.swing.JButton" name="jButton1">
|
|
<Properties>
|
|
<Property name="text" type="java.lang.String" value="Generate"/>
|
|
<Property name="focusable" type="boolean" value="false"/>
|
|
<Property name="horizontalTextPosition" type="int" value="0"/>
|
|
<Property name="verticalTextPosition" type="int" value="3"/>
|
|
</Properties>
|
|
<Events>
|
|
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jButton1ActionPerformed"/>
|
|
</Events>
|
|
</Component>
|
|
</SubComponents>
|
|
</Container>
|
|
</SubComponents>
|
|
</Form>
|
|
|