-
Notifications
You must be signed in to change notification settings - Fork 534
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Port softras to graphics module (#162)
* Port softras to graphics module Signed-off-by: Krishna Murthy <krrish94@gmail.com> * Port softras to graphics module Signed-off-by: Krishna Murthy <krrish94@gmail.com> * Remove unnecessary import Signed-off-by: Krishna Murthy <krrish94@gmail.com> * Remove unnecessary import Signed-off-by: Krishna Murthy <krrish94@gmail.com> * Fix bug in camera_direction argument Signed-off-by: Krishna Murthy <krrish94@gmail.com> * Fix CI errors Signed-off-by: Krishna Murthy <krrish94@gmail.com> * Create tensors on-device Signed-off-by: Krishna Murthy <krrish94@gmail.com> * Fix CI bugs Signed-off-by: Krishna Murthy <krrish94@gmail.com> * Fix CI bugs Signed-off-by: Krishna Murthy <krrish94@gmail.com> * Address review comments Signed-off-by: Krishna Murthy <krrish94@gmail.com> * Address review issues Signed-off-by: Krishna Murthy <krrish94@gmail.com> * Fix docstrings Signed-off-by: Krishna Murthy <krrish94@gmail.com> * Fix docstrings Signed-off-by: Krishna Murthy <krrish94@gmail.com> * Fix typo in docstrcing Signed-off-by: Krishna Murthy <krrish94@gmail.com> * Address review comments Signed-off-by: Krishna Murthy <krrish94@gmail.com> * Update flake8 config Signed-off-by: Krishna Murthy <krrish94@gmail.com> * Remove unwanted files, fix formatting Signed-off-by: Krishna Murthy <krrish94@gmail.com> * Remove mutable defaults for kwargs Signed-off-by: Krishna Murthy <krrish94@gmail.com> * Add defaults for projection mode Signed-off-by: Krishna Murthy <krrish94@gmail.com>
- Loading branch information
Showing
32 changed files
with
439 additions
and
2,370 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +0,0 @@ | ||
# Soft Rasterizer (SoftRas) | ||
# | ||
# Copyright (c) 2017 Hiroharu Kato | ||
# Copyright (c) 2018 Nikos Kolotouros | ||
# Copyright (c) 2019 Shichen Liu | ||
# | ||
# Permission is hereby granted, free of charge, to any person obtaining a copy | ||
# of this software and associated documentation files (the "Software"), to deal | ||
# in the Software without restriction, including without limitation the rights | ||
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
# copies of the Software, and to permit persons to whom the Software is | ||
# furnished to do so, subject to the following conditions: | ||
# | ||
# The above copyright notice and this permission notice shall be included in all | ||
# copies or substantial portions of the Software. | ||
# | ||
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
# SOFTWARE. | ||
|
||
from . import functional | ||
from .mesh import Mesh | ||
from .renderer import Renderer, SoftRenderer | ||
from .transform import Projection, LookAt, Look, Transform | ||
from .lighting import AmbientLighting, DirectionalLighting, Lighting | ||
from .rasterizer import SoftRasterizer | ||
from .losses import LaplacianLoss, FlattenLoss | ||
|
||
|
||
__version__ = '1.0.0' | ||
58 changes: 0 additions & 58 deletions
58
kaolin/graphics/softras/cuda/create_texture_image_cuda.cpp
This file was deleted.
Oops, something went wrong.
200 changes: 0 additions & 200 deletions
200
kaolin/graphics/softras/cuda/create_texture_image_cuda_kernel.cu
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.