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

Adding logic for custom cameras in USD #2400

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

Conversation

abhihjoshi
Copy link
Contributor

Adding support for custom cameras.

@abhihjoshi abhihjoshi changed the title Cameras and textures Adding logic for custom cameras Feb 2, 2025
@abhihjoshi abhihjoshi changed the title Adding logic for custom cameras Adding logic for custom cameras in USD Feb 3, 2025
intensity: intensity of the light
radius: radius of the originating light source
color: color of the light
light_type: type of light source (types include "sphere", "dome") (TODO: add other light types from Omniverse)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Make the TODO a comment.

# TODO: b/288149332 - Remove once USD Python Binding works well with pytype.
# pytype: disable=module-attr
from pxr import Sdf
from pxr import Usd
from pxr import UsdGeom

import mujoco
from mujoco import _enums
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use symbols from mujoco package and not these private submodules.

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.

3 participants