Drawing

From Fracture FX
(Difference between revisions)
Jump to: navigation, search
(Data)
 
(14 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 9: Line 12:
 
|-
 
|-
 
! 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.
 +
<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>
 
|}
 
|}
  
Line 22: Line 30:
 
|-
 
|-
 
! scope="row" width="75" |  
 
! 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>
 
|}
 
|}
  
Line 35: Line 48:
 
|-
 
|-
 
! scope="row" width="75" |  
 
! scope="row" width="75" |  
|  
+
| See: [[Simulation_globals#Draw_points|Simulation globals:Draw points]]
 
|}
 
|}
  
Line 48: Line 61:
 
|-
 
|-
 
! scope="row" width="75" |  
 
! 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>
 
|}
 
|}
  
Line 59: Line 76:
 
! scope="row" width="75" | default
 
! scope="row" width="75" | default
 
| 1.000
 
| 1.000
 +
|-
 +
! scope="row" width="75" | min
 +
| 0.000
 
|-
 
|-
 
! scope="row" width="75" |  
 
! 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>
 
|}
 
|}
  
Line 95: Line 120:
 
|-
 
|-
 
! scope="row" width="75" | type
 
! scope="row" width="75" | type
| option menu
+
| 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 108: Line 140:
 
|-
 
|-
 
! scope="row" width="75" | type
 
! scope="row" width="75" | type
| option menu
+
| 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 127: 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.

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.

[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.

Globals data choose menu.png

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox