Drawing
From Fracture FX
(Difference between revisions)
(24 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%" | ||
+ | |- | ||
+ | ! scope="row" width="75" | type | ||
+ | | bool | ||
+ | |- | ||
+ | ! scope="row" width="75" | default | ||
+ | | True | ||
+ | |- | ||
+ | ! 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. | ||
+ | <gallery widths="150px" perrow="3"> | ||
+ | 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 off.png|When this attribute is toggle off the GL fragments and ground plane are no longer visible | ||
+ | </gallery> | ||
+ | |} | ||
+ | |||
==== Draw mesh ==== | ==== Draw mesh ==== | ||
+ | {| class="wikitable" style="width: 100%" | ||
+ | |- | ||
+ | ! scope="row" width="75" | type | ||
+ | | bool | ||
+ | |- | ||
+ | ! scope="row" width="75" | default | ||
+ | | True | ||
+ | |- | ||
+ | ! scope="row" width="75" | | ||
+ | | Similar to the [[Drawing#Draw|Draw attribute]] except that this it only affects the GL fragments. | ||
+ | <gallery widths="150px" perrow="3"> | ||
+ | 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.png|False with X-Ray off, ground plane is still visible | ||
+ | </gallery> | ||
+ | |} | ||
+ | |||
==== Draw points ==== | ==== Draw points ==== | ||
+ | {| class="wikitable" style="width: 100%" | ||
+ | |- | ||
+ | ! scope="row" width="75" | type | ||
+ | | bool | ||
+ | |- | ||
+ | ! scope="row" width="75" | default | ||
+ | | False | ||
+ | |- | ||
+ | ! scope="row" width="75" | | ||
+ | | See: [[Simulation_globals#Draw_points|Simulation globals:Draw points]] | ||
+ | |} | ||
+ | |||
==== Draw center of mass ==== | ==== Draw center of mass ==== | ||
+ | {| class="wikitable" style="width: 100%" | ||
+ | |- | ||
+ | ! scope="row" width="75" | type | ||
+ | | bool | ||
+ | |- | ||
+ | ! scope="row" width="75" | default | ||
+ | | False | ||
+ | |- | ||
+ | ! scope="row" width="75" | | ||
+ | | Draw the center of mass on nodes connected to the simulator. | ||
+ | <gallery widths="150px" perrow="2"> | ||
+ | File:Globals draw center of mass off.png|False (default) | ||
+ | File:Globals draw center of mass on.png|True | ||
+ | </gallery> | ||
+ | |} | ||
+ | |||
==== Center of mass scale ==== | ==== Center of mass scale ==== | ||
+ | {| class="wikitable" style="width: 100%" | ||
+ | |- | ||
+ | ! scope="row" width="75" | type | ||
+ | | float | ||
+ | |- | ||
+ | ! scope="row" width="75" | default | ||
+ | | 1.000 | ||
+ | |- | ||
+ | ! scope="row" width="75" | min | ||
+ | | 0.000 | ||
+ | |- | ||
+ | ! scope="row" width="75" | | ||
+ | | Modify the scale of the center of mass when drawn. | ||
+ | <gallery widths="150px" perrow="3"> | ||
+ | File:Globals center of mass scale 0.5.png|0.500 | ||
+ | File:Globals center of mass scale 1.png|1.000 (default) | ||
+ | File:Globals center of mass scale 2.png|2.000 | ||
+ | </gallery> | ||
+ | |} | ||
+ | |||
==== Draw dist field ==== | ==== Draw dist field ==== | ||
+ | {| class="wikitable" style="width: 100%" | ||
+ | |- | ||
+ | ! scope="row" width="75" | type | ||
+ | | bool | ||
+ | |- | ||
+ | ! scope="row" width="75" | default | ||
+ | | False | ||
+ | |- | ||
+ | ! scope="row" width="75" | | ||
+ | | | ||
+ | |} | ||
+ | |||
==== Field slice ==== | ==== Field slice ==== | ||
+ | {| class="wikitable" style="width: 100%" | ||
+ | |- | ||
+ | ! scope="row" width="75" | type | ||
+ | | int | ||
+ | |- | ||
+ | ! scope="row" width="75" | default | ||
+ | | 0 | ||
+ | |- | ||
+ | ! scope="row" width="75" | | ||
+ | | | ||
+ | |} | ||
+ | |||
= Numeric = | = Numeric = | ||
==== Draw numeric ==== | ==== Draw numeric ==== | ||
+ | {| class="wikitable" style="width: 100%" | ||
+ | |- | ||
+ | ! scope="row" width="75" | type | ||
+ | | enum | ||
+ | |- | ||
+ | ! scope="row" width="75" | default | ||
+ | | off | ||
+ | |- | ||
+ | ! scope="row" width="75" | indices | ||
+ | | off : selected : all | ||
+ | |- | ||
+ | ! 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> | ||
+ | |} | ||
+ | |||
==== Draw vectors as ==== | ==== Draw vectors as ==== | ||
+ | {| class="wikitable" style="width: 100%" | ||
+ | |- | ||
+ | ! scope="row" width="75" | type | ||
+ | | enum | ||
+ | |- | ||
+ | ! scope="row" width="75" | default | ||
+ | | xyz | ||
+ | |- | ||
+ | ! scope="row" width="75" | indices | ||
+ | | xyz : length : line | ||
+ | |- | ||
+ | ! 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> | ||
+ | |} | ||
+ | |||
==== Data ==== | ==== Data ==== | ||
+ | {| class="wikitable" style="width: 100%" | ||
+ | |- | ||
+ | ! scope="row" width="75" | type | ||
+ | | string | ||
+ | |- | ||
+ | ! scope="row" width="75" | default | ||
+ | | bodyId | ||
+ | |- | ||
+ | ! 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. |