Skip to content
Discussion options

You must be logged in to vote

You can just do this:

scene = gs.Scene(
    sim_options=gs.options.SimOptions(
        dt=args.dt,
        substeps=args.substeps,
    ),
    mpm_options=gs.options.MPMOptions(
        lower_bound=lower_bound,
        upper_bound=upper_bound
    ),
    vis_options=gs.options.VisOptions(
        visualize_mpm_boundary=args.visualize_mpm_boundary,
        show_world_frame=args.show_world_frame,
        ambient_light=(0.8, 0.8, 0.8),  # Increase intensity of ambient light
        lights=[],  # Disable default directional light.
        background_color=(1.0, 1.0, 1.0) if args.white_background else (0.0, 0.0, 0.0), 
    ),
    show_viewer=False,
    show_FPS=False
)

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@AndreaCastiella
Comment options

Comment options

You must be logged in to vote
1 reply
@AndreaCastiella
Comment options

Answer selected by AndreaCastiella
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants