Drawing
From Fracture FX
(Difference between revisions)
(→Draw) |
|||
(7 intermediate revisions by one user not shown) | |||
Line 1: | Line 1: | ||
+ | These are the second set of attributes in the [[Globals]] tab and used to edit the drawing states of GL objects for the current simulator. | ||
+ | |||
+ | |||
==== Draw ==== | ==== Draw ==== | ||
{| class="wikitable" style="width: 100%" | {| class="wikitable" style="width: 100%" | ||
Line 10: | Line 13: | ||
! scope="row" width="75" | | ! scope="row" width="75" | | ||
| Fracture draw GL items such as colored fragments (event pass colors) and the ground plane. Sometimes the GL fragments are mostly masked by the geometry with only some of the GL color bleeding through. | | Fracture draw GL items such as colored fragments (event pass colors) and the ground plane. Sometimes the GL fragments are mostly masked by the geometry with only some of the GL color bleeding through. | ||
− | <gallery widths="150px" perrow=" | + | <gallery widths="150px" perrow="3"> |
File:Globals draw on.png|True (default) | File:Globals draw on.png|True (default) | ||
File:Globals draw on with hidden polys.png|Hiding the polygons makes it easier to see the pass color on the GL fragments | File:Globals draw on with hidden polys.png|Hiding the polygons makes it easier to see the pass color on the GL fragments | ||
Line 31: | Line 34: | ||
File:Globals draw mesh on xray.png|True with X-Ray enabled | File:Globals draw mesh on xray.png|True with X-Ray enabled | ||
File:Globals draw mesh off xray.png|False with X-Ray enabled | File:Globals draw mesh off xray.png|False with X-Ray enabled | ||
− | File:Globals draw mesh off.png|False, ground plane still visible | + | File:Globals draw mesh off.png|False with X-Ray off, ground plane is still visible |
</gallery> | </gallery> | ||
|} | |} | ||
Line 117: | Line 120: | ||
|- | |- | ||
! scope="row" width="75" | type | ! scope="row" width="75" | type | ||
− | | | + | | enum |
|- | |- | ||
! scope="row" width="75" | default | ! scope="row" width="75" | default | ||
| off | | off | ||
+ | |- | ||
+ | ! scope="row" width="75" | indices | ||
+ | | off : selected : all | ||
|- | |- | ||
! scope="row" width="75" | | ! scope="row" width="75" | | ||
− | | | + | | Draw per-fragment metadata in the viewport. |
+ | <gallery widths="150px" perrow="2"> | ||
+ | File:Globals draw numeric selected.png|selected - the top-left fragments are selected | ||
+ | File:Globals draw numeric all.png|all | ||
+ | </gallery> | ||
|} | |} | ||
Line 130: | Line 140: | ||
|- | |- | ||
! scope="row" width="75" | type | ! scope="row" width="75" | type | ||
− | | | + | | enum |
|- | |- | ||
! scope="row" width="75" | default | ! scope="row" width="75" | default | ||
| xyz | | xyz | ||
+ | |- | ||
+ | ! scope="row" width="75" | indices | ||
+ | | xyz : length : line | ||
|- | |- | ||
! scope="row" width="75" | | ! scope="row" width="75" | | ||
− | | | + | | Options for displaying the vectors of the dynamics state attributes. These attributes are set in the [[Drawing#Data|Data]] attribute, covered below. |
+ | |||
+ | [[File:Globals data choose dynamics state menu.png]] | ||
+ | |||
+ | |||
+ | Toggling through each of the indices displays the vectors as either XYZ coordinates, length or a trajectory line. | ||
+ | <gallery widths="150px" perrow="3"> | ||
+ | File:Globals draw vectors as xyz.png|xyz (default) | ||
+ | File:Globals draw vectors as length.png|length | ||
+ | File:Globals draw vectors as line.png|line | ||
+ | </gallery> | ||
|} | |} | ||
Line 149: | Line 172: | ||
|- | |- | ||
! scope="row" width="75" | | ! scope="row" width="75" | | ||
− | | | + | | This is the current metadata that is being displayed in the viewport when [[Drawing#Draw_numeric| Draw numeric]] is enabled. The available data is selected from the '''Choose...''' menu. |
+ | [[File:Globals data choose menu.png]] | ||
|} | |} |
Latest revision as of 03:39, 12 July 2012
These are the second set of attributes in the Globals tab and used to edit the drawing states of GL objects for the current simulator.
Contents |
[edit] Draw
type | bool |
---|---|
default | True |
Fracture draw GL items such as colored fragments (event pass colors) and the ground plane. Sometimes the GL fragments are mostly masked by the geometry with only some of the GL color bleeding through.
|
[edit] Draw mesh
type | bool |
---|---|
default | True |
Similar to the Draw attribute except that this it only affects the GL fragments.
|
[edit] Draw points
type | bool |
---|---|
default | False |
See: Simulation globals:Draw points |
[edit] Draw center of mass
type | bool |
---|---|
default | False |
Draw the center of mass on nodes connected to the simulator.
|
[edit] Center of mass scale
type | float |
---|---|
default | 1.000 |
min | 0.000 |
Modify the scale of the center of mass when drawn.
|
[edit] Draw dist field
type | bool |
---|---|
default | False |
[edit] Field slice
type | int |
---|---|
default | 0 |
[edit] Numeric
[edit] Draw numeric
type | enum |
---|---|
default | off |
indices | off : selected : all |
Draw per-fragment metadata in the viewport.
|
[edit] Draw vectors as
type | enum |
---|---|
default | xyz |
indices | xyz : length : line |
Options for displaying the vectors of the dynamics state attributes. These attributes are set in the Data attribute, covered below.
|
[edit] Data
type | string |
---|---|
default | bodyId |
This is the current metadata that is being displayed in the viewport when Draw numeric is enabled. The available data is selected from the Choose... menu. |