You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: genesis/engine/materials/MPM/elasto_plastic.py
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,8 @@ class ElastoPlastic(Base):
12
12
13
13
Note
14
14
----
15
-
Default yield ratio comes from the SNOW material in taichi's MPM implementation: https://github.com/taichi-dev/taichi_elements/blob/d19678869a28b09a32ef415b162e35dc929b792d/engine/mpm_solver.py#L434
15
+
Default yield ratio comes from the SNOW material in taichi's MPM implementation:
Copy file name to clipboardExpand all lines: genesis/options/surfaces.py
+17-15Lines changed: 17 additions & 15 deletions
Original file line number
Diff line number
Diff line change
@@ -13,12 +13,16 @@
13
13
classSurface(Options):
14
14
"""
15
15
Base class for all surfaces types in Genesis.
16
-
A ``Surface`` object encapsulates all visual information used for rendering an entity or its sub-components (links, geoms, etc.)
17
-
The surface contains different types textures: diffuse_texture, specular_texture, roughness_texture, metallic_texture, transmission_texture, normal_texture, and emissive_texture. Each one of them is a `gs.textures.Texture` object.
16
+
17
+
A ``Surface`` object encapsulates all visual information used for rendering an entity or its sub-components (links,
18
+
geoms, ...). The surface contains different types textures: diffuse_texture, specular_texture, roughness_texture,
19
+
metallic_texture, transmission_texture, normal_texture, and emissive_texture. Each one of them is a
20
+
`gs.textures.Texture` object.
18
21
19
22
Tip
20
23
---
21
-
If any of the textures only has single value (instead of a map), you can use the shortcut attribute (e.g., `color`, `roughness`, `metallic`, `emissive`) instead of creating a texture object.
24
+
If any of the textures only has single value (instead of a map), you can use the shortcut attribute (e.g., `color`,
25
+
`roughness`, `metallic`, `emissive`) instead of creating a texture object.
0 commit comments