mirror of
https://github.com/facebookresearch/pytorch3d.git
synced 2025-08-02 03:42:50 +08:00
Summary: This diff updates the documentation and tutorials with information about the new pulsar backend. For more information about the pulsar backend, see the release notes and the paper (https://arxiv.org/abs/2004.07484). For information on how to use the backend, see the point cloud rendering notebook and the examples in the folder docs/examples. Reviewed By: nikhilaravi Differential Revision: D24498129 fbshipit-source-id: e312b0169a72b13590df6e4db36bfe6190d742f9
56 lines
1.4 KiB
Python
56 lines
1.4 KiB
Python
# Copyright (c) Facebook, Inc. and its affiliates. All rights reserved.
|
|
|
|
from .blending import (
|
|
BlendParams,
|
|
hard_rgb_blend,
|
|
sigmoid_alpha_blend,
|
|
softmax_rgb_blend,
|
|
)
|
|
from .cameras import OpenGLOrthographicCameras # deprecated
|
|
from .cameras import OpenGLPerspectiveCameras # deprecated
|
|
from .cameras import SfMOrthographicCameras # deprecated
|
|
from .cameras import SfMPerspectiveCameras # deprecated
|
|
from .cameras import (
|
|
FoVOrthographicCameras,
|
|
FoVPerspectiveCameras,
|
|
OrthographicCameras,
|
|
PerspectiveCameras,
|
|
camera_position_from_spherical_angles,
|
|
get_world_to_view_transform,
|
|
look_at_rotation,
|
|
look_at_view_transform,
|
|
)
|
|
from .lighting import DirectionalLights, PointLights, diffuse, specular
|
|
from .materials import Materials
|
|
from .mesh import (
|
|
HardFlatShader,
|
|
HardGouraudShader,
|
|
HardPhongShader,
|
|
MeshRasterizer,
|
|
MeshRenderer,
|
|
RasterizationSettings,
|
|
SoftGouraudShader,
|
|
SoftPhongShader,
|
|
SoftSilhouetteShader,
|
|
Textures,
|
|
TexturesAtlas,
|
|
TexturesUV,
|
|
TexturesVertex,
|
|
gouraud_shading,
|
|
phong_shading,
|
|
rasterize_meshes,
|
|
)
|
|
from .points import (
|
|
AlphaCompositor,
|
|
NormWeightedCompositor,
|
|
PointsRasterizationSettings,
|
|
PointsRasterizer,
|
|
PointsRenderer,
|
|
PulsarPointsRenderer,
|
|
rasterize_points,
|
|
)
|
|
from .utils import TensorProperties, convert_to_tensors_and_broadcast
|
|
|
|
|
|
__all__ = [k for k in globals().keys() if not k.startswith("_")]
|