Skip to content

import look_at_from_eye_view_transform from .camera #66

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

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions pytorch3d/renderer/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
get_world_to_view_transform,
look_at_rotation,
look_at_view_transform,
look_at_from_eye_view_transform,
)
from .lighting import DirectionalLights, PointLights, diffuse, specular
from .materials import Materials
Expand Down
4 changes: 2 additions & 2 deletions pytorch3d/renderer/blending.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@


import numpy as np
from typing import NamedTuple
from typing import NamedTuple, Sequence
import torch

# Example functions for blending the top K colors per pixel using the outputs
Expand All @@ -15,7 +15,7 @@
class BlendParams(NamedTuple):
sigma: float = 1e-4
gamma: float = 1e-4
background_color = (1.0, 1.0, 1.0)
background_color: Sequence = (1.0, 1.0, 1.0)


def hard_rgb_blend(colors, fragments) -> torch.Tensor:
Expand Down