Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to use flat lighting in pyrender.Viewer #211

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Commits on Jan 18, 2022

  1. Add support for setting 'flat=true' in pyrender.Viewer

    It will OR `RenderFlags.FLAT` into the Viewer._renderer.render flags
    pbsds committed Jan 18, 2022
    Configuration menu
    Copy the full SHA
    b3eb9c9 View commit details
    Browse the repository at this point in the history
  2. Make it show you can enable flat lighting with SHIFT+L

    Pressing L without shift disables the flat lighting without cycling the previous lighting mode
    pbsds committed Jan 18, 2022
    Configuration menu
    Copy the full SHA
    db1388b View commit details
    Browse the repository at this point in the history
  3. Reword "Toggle" to "Cycle" for certain Viewer keybindings.

    Some of the keybinds are documented to "toggle" between more that two states.
    "Cycle" is more specific in these cases.
    pbsds committed Jan 18, 2022
    Configuration menu
    Copy the full SHA
    227bebc View commit details
    Browse the repository at this point in the history