![]() |
|
![]() |
Advanced Poly Information
Merging Polygons
All of the polygons are stored as triangles within the .RIF file, together with a list of which pairs of triangles should be merged to form quads. On the whole texture mapping is easiest when the triangles can be merged to form nice rectangles. Within texture mapping mode you can alter the way polygons get merged.
To unmerge polygons, select the polygons that you want to alter and then select Misc > Unmerge selected polygons from the main menu. All of the quads in the selection will be broken up into their original triangles.
To merge polygons, select the ones you want to alter and then choose Misc > Merge selected polygons from the menu. Inteng will then look at the selected (unmerged) triangles, and try to match them up as well as possible. Inteng will try to perform merges that will make rectangles before going on to see what other merges are possible. Note that triangles can only be merged if they are coplanar and if their vertices would form a convex polygon.
Polygon Flags
Polygon flags can be edited while in polygon mode. Right click to bring up the pop up menu, and then select Flags > Add > flagname, Flags > Remove > flagname or Flags > View > flagname. The add and remove options will add or remove the appropriate flag from all selected polygons. The view options will cause all polygons with the appropriate flag to be surrounded by a green outline (assuming that the polygons aren't selected). While viewing a given flag you can use two shortcut keys. Pressing F will add the flag to the selected polygons. Pressing Shift + F will remove the flag. You can turn off the flag view option be selecting Flags > View > None.
There is another option for getting details of flags on polygons which is got by selecting Options > Toggle Flag List from the main menu. With this option turned on, Inteng will display a complete list of all flags on whatever polygon that the mouse cursor is currently over. (There is also a far amount of other information, which is mainly for debugging purposes).
Common polygon flags
Most of the polygon flags are project specific, however there are a few common flags :
No Light : Causes the polygon to be lit at fall brightness (ignores lighting)
Not Visible : Causes the polygon to be invisible.
No BFC : (No back face cull) This flag causes a polygon to be 2-sided.
Translucency : Used for such things as see through glass.
Altering The Way Polygons Are Shown
There are a few options that adjust the way that polygons are dislpayed within Inteng, without actually altering the way that they get saved out to the rif file.
Pressing W will toggle the texturing on and off.
Pressing 7,8 or 9 will alter the way untextured polygons get drawn. 7 causes them to be drawn as normal coloured polygons. 8 causes them to be drawn as see through wireframe.9 will show them as solid wireframe.
Pressing B turn lighting on and off. Turning lighting on will cause the polygons to be drawn using the prelighting data saved in light sourcing mode. If lighting has been turned on, you can press Ctrl + B to turn a 'headlight' on or off.