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

Fix rgb camera for mac #6

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

JakobSpahn
Copy link

What changes do you make in this PR?

Make the RGBCamera work on MacOS:

python -m metadrive.examples.drive_in_single_agent_env --observation rgb_camera

Changes for MacOS:

  • Request only 8-bit colors
  • Use GLSL 330
  • Use PBR render pipeline

Required for completing: commaai/openpilot#33207

- only 8-bit colors for mac
- use glsl 330 for mac
@JakobSpahn
Copy link
Author

JakobSpahn commented Nov 15, 2024

@maxime-desroches Should this be merged into main and then to minimal, or straight into minimal?

@adeebshihadeh
Copy link

@maxime-desroches can you check this out? Looks like it's holding up macOS metadrive support

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants