Skip to content

Commit

Permalink
Merge branch 'og-develop' into docker-decontainerize
Browse files Browse the repository at this point in the history
  • Loading branch information
cgokmen authored Oct 18, 2023
2 parents ad5288d + a828607 commit f81a6c9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/getting_started/building_blocks.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ icon: octicons/package-16

??? question annotate "Why macros?"

Macros enforce global behavior that is consistent within an individual python process but can differ between processes. This is useful because globally enabling all of **`OmniGibson`**'s features can cause unecessary slowdowns, and so configuring the macros for your specific use case can optimize performance.
Macros enforce global behavior that is consistent within an individual python process but can differ between processes. This is useful because globally enabling all of **`OmniGibson`**'s features can cause unnecessary slowdowns, and so configuring the macros for your specific use case can optimize performance.

For example, Omniverse provides a so-called `flatcache` feature which provides significant performance boosts, but cannot be used when fluids or soft bodies are present. So, we ideally should always have `gm.USE_FLATCACHE=True` unless we have fluids or soft bodies in our environment.

Expand Down Expand Up @@ -407,7 +407,7 @@ python -m omnigibson.examples.object_states.particle_source_sink_demo

This demo loads in a sink, which is enabled with both the ParticleSource and ParticleSink states. The sink's particle source is located at the faucet spout and spawns a continuous stream of water particles, which is then destroyed ("sunk") by the sink's particle sink located at the drain.

??? note "Difference bewteen `ParticleApplier/Removers` and `ParticleSource/Sinks`"
??? note "Difference between `ParticleApplier/Removers` and `ParticleSource/Sinks`"
The key difference between `ParticleApplier/Removers` and `ParticleSource/Sinks` is that `Applier/Removers`
requires contact (if using `ParticleProjectionMethod.ADJACENCY`) or overlap
(if using `ParticleProjectionMethod.PROJECTION`) in order to spawn / remove particles, and generally only spawn
Expand Down

0 comments on commit f81a6c9

Please sign in to comment.