MCPcopy Create free account

hub / github.com/Roy-zZZ08/Texture-Atlas-Compression / functions

Functions242 in github.com/Roy-zZZ08/Texture-Atlas-Compression

Functionprepare_shading_normal
Takes care of all corner cases and produces a final normal used for shading: - Constructs tangent space - Flips normal direction based
Code/nvdiffmodeling/src/renderutils/ops.py:175
Functionprepare_shading_normal_bwd
Code/nvdiffmodeling/src/renderutils/c_src/torch_bindings.cpp:162
Functionprepare_shading_normal_fwd
Code/nvdiffmodeling/src/renderutils/c_src/torch_bindings.cpp:120
Functionprojection
(x=0.1, n=1.0, f=50.0)
Code/nvdiffmodeling/src/util.py:127
Functionrandom_rotation_translation
(t)
Code/nvdiffmodeling/src/util.py:176
Functionrandom_weights
(base_mesh, ref_mesh)
Code/nvdiffmodeling/src/mesh.py:241
Functionreflect
(x: torch.Tensor, n: torch.Tensor)
Code/nvdiffmodeling/src/util.py:23
Functionreflect
Code/nvdiffmodeling/src/renderutils/c_src/vec3f.h:71
Functionrender_mesh
( ctx, mesh, mtx_in, view_pos, light_pos, light_power,
Code/nvdiffmodeling/src/render.py:162
Functionrender_mesh_rast
( ctx, mesh, mtx_in, view_pos, light_pos, light_power,
Code/nvdiffmodeling/src/render.py:248
Functionrgb_to_srgb
(texture)
Code/nvdiffmodeling/src/texture.py:109
Functionrgb_to_srgb
(f: torch.Tensor)
Code/nvdiffmodeling/src/util.py:49
Functionrotate_x
(a)
Code/nvdiffmodeling/src/util.py:139
Functionrotate_y
(a)
Code/nvdiffmodeling/src/util.py:146
FunctionsafeNormalize
Code/nvdiffmodeling/src/renderutils/c_src/vec3f.h:87
Functionsafe_normalize
(x: torch.Tensor, eps: float =1e-20)
Code/nvdiffmodeling/src/util.py:29
Functionsave_image
(fn, x : np.ndarray)
Code/nvdiffmodeling/src/util.py:330
Functionsave_mtl
(fn, material)
Code/nvdiffmodeling/src/material.py:72
Functionsave_texture2D
(fn, tex, lambda_fn=None)
Code/nvdiffmodeling/src/texture.py:146
Functionscale
(s)
Code/nvdiffmodeling/src/util.py:153
Functionscale_img_hwc
(x : torch.Tensor, size, mag='bilinear', min='area')
Code/nvdiffmodeling/src/util.py:84
Functionsegment_sum
(data: torch.Tensor, segment_ids: torch.Tensor)
Code/nvdiffmodeling/src/util.py:108
Functionskinning
(mesh)
Code/nvdiffmodeling/src/mesh.py:151
Functionsrgb_to_rgb
(texture)
Code/nvdiffmodeling/src/texture.py:106
Functionsrgb_to_rgb
(f: torch.Tensor)
Code/nvdiffmodeling/src/util.py:58
Methodstore
Code/nvdiffmodeling/src/renderutils/c_src/tensor.h:33
Methodstore_grad
Code/nvdiffmodeling/src/renderutils/c_src/tensor.h:34
Functionsubdivide
(mesh, steps=1)
Code/nvdiffmodeling/src/mesh.py:343
Functionsum
Code/nvdiffmodeling/src/renderutils/c_src/vec3f.h:35
Functiontex_2d
(tex_map : torch.Tensor, coords : torch.Tensor, filter='nearest')
Code/nvdiffmodeling/src/util.py:73
Functiontime_to_text
(x)
Code/nvdiffmodeling/src/util.py:342
Functionto_hvec
(x: torch.Tensor, w: float)
Code/nvdiffmodeling/src/util.py:32
Functiontonemap_srgb
(f: torch.Tensor)
Code/nvdiffmodeling/src/util.py:39
Functiontranslate
(x, y, z)
Code/nvdiffmodeling/src/util.py:133
Functionunit_size
(mesh)
Code/nvdiffmodeling/src/mesh.py:100
Methodvec3f
Code/nvdiffmodeling/src/renderutils/c_src/vec3f.h:16
Methodvec4f
Code/nvdiffmodeling/src/renderutils/c_src/vec4f.h:16
Functionwrite_obj
(folder, mesh)
Code/nvdiffmodeling/src/obj.py:145
Functionxfm_bwd
Code/nvdiffmodeling/src/renderutils/c_src/torch_bindings.cpp:744
Functionxfm_fwd
Code/nvdiffmodeling/src/renderutils/c_src/torch_bindings.cpp:709
Functionxfm_points
Transform points. Note: this method does not back-propagate matrix gradients by default for performance reasons. For matrix gradients, enabl
Code/nvdiffmodeling/src/renderutils/ops.py:383
Functionxfm_vectors
Transform vectors. Note: this method does not back-propagate matrix gradients by default for performance reasons. For matrix gradients, enab
Code/nvdiffmodeling/src/renderutils/ops.py:404
← previous201–242 of 242, ranked by callers