MCPcopy Create free account

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

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

↓ 86 callersFunctionmake_cuda_tensor
Code/nvdiffmodeling/src/renderutils/c_src/torch_bindings.cpp:93
↓ 53 callersMethodclone
(self)
Code/nvdiffmodeling/src/mesh.py:64
↓ 37 callersFunctionrelative_loss
(name, ref, cuda)
Code/nvdiffmodeling/src/renderutils/tests/test_bsdf.py:20
↓ 25 callersMethodbackward
(ctx, dout)
Code/nvdiffmodeling/src/renderutils/ops.py:379
↓ 23 callersMethodeval
(self, params={})
Code/nvdiffmodeling/src/mesh.py:88
↓ 20 callersFunctiongetLaunchGridSize
Code/nvdiffmodeling/src/renderutils/c_src/common.cpp:62
↓ 18 callersFunctiongetLaunchBlockSize
Code/nvdiffmodeling/src/renderutils/c_src/common.cpp:15
↓ 18 callersFunctionupdate_grid
Code/nvdiffmodeling/src/renderutils/c_src/torch_bindings.cpp:77
↓ 12 callersMethodgetMips
(self)
Code/nvdiffmodeling/src/texture.py:49
↓ 11 callersFunction_dot
(x, y)
Code/nvdiffmodeling/src/renderutils/bsdf.py:18
↓ 8 callersFunction_safe_normalize
(x)
Code/nvdiffmodeling/src/renderutils/bsdf.py:24
↓ 7 callersMethodeval
(self, params={})
Code/nvdiffmodeling/src/regularizer.py:78
↓ 7 callersMethodgetRes
(self)
Code/nvdiffmodeling/src/texture.py:46
↓ 6 callersFunctionprepare_input_vector
(x)
Code/nvdiffmodeling/src/render.py:178
↓ 6 callersFunctiontest_loss
(loss, tonemapper)
Code/nvdiffmodeling/src/renderutils/tests/test_loss.py:35
↓ 5 callersMethodclamp_
(self, min=None, max=None)
Code/nvdiffmodeling/src/texture.py:56
↓ 5 callersFunctioninterpolate
(attr, rast, attr_idx, rast_db=None)
Code/nvdiffmodeling/src/render.py:24
↓ 5 callersFunctionrelative_loss
(name, ref, cuda)
Code/nvdiffmodeling/src/renderutils/tests/test_mesh.py:33
↓ 4 callersFunction_merge_attr_idx
(a, b, a_idx, b_idx)
Code/nvdiffmodeling/src/mesh.py:468
↓ 4 callersFunctiongetWarpSize
Code/nvdiffmodeling/src/renderutils/c_src/common.h:26
↓ 3 callersFunction_skin_hvec
(bone_mtx, weights, attr)
Code/nvdiffmodeling/src/mesh.py:147
↓ 3 callersFunctionaabb
(mesh)
Code/nvdiffmodeling/src/mesh.py:94
↓ 3 callersFunctionbsdf_lambda_ggx
(alphaSqr, cosTheta)
Code/nvdiffmodeling/src/renderutils/bsdf.py:83
↓ 3 callersFunctionrelative_loss
(name, ref, cuda)
Code/nvdiffmodeling/src/renderutils/tests/test_loss.py:30
↓ 3 callersMethodsample
(self, texc, texc_deriv, filter_mode='linear-mipmap-linear', data_fmt=torch.float32)
Code/nvdiffmodeling/src/texture.py:39
↓ 3 callersFunctiontest_bsdf
(BATCH, RES, ITR)
Code/nvdiffmodeling/src/renderutils/tests/test_perf.py:20
↓ 2 callersMethod_compute_remap
(self, t_pos_idx, n_attrs, t_attr_idx)
Code/nvdiffmodeling/src/mesh.py:164
↓ 2 callersFunction_load_mip2D
(fn, lambda_fn=None, channels=None)
Code/nvdiffmodeling/src/texture.py:116
↓ 2 callersFunction_rgb_to_srgb
(f: torch.Tensor)
Code/nvdiffmodeling/src/util.py:46
↓ 2 callersFunction_save_mip2D
(fn, mip, mipidx, lambda_fn)
Code/nvdiffmodeling/src/texture.py:134
↓ 2 callersFunction_srgb_to_rgb
(f: torch.Tensor)
Code/nvdiffmodeling/src/util.py:55
↓ 2 callersFunction_tonemap_srgb
(f)
Code/nvdiffmodeling/src/renderutils/loss.py:15
↓ 2 callersFunctionbsdf_fresnel_shlick
(f0, f90, cosTheta)
Code/nvdiffmodeling/src/renderutils/bsdf.py:74
↓ 2 callersFunctionbsdf_lambert
(nrm, wi)
Code/nvdiffmodeling/src/renderutils/bsdf.py:56
↓ 2 callersFunctionbsdf_masking_smith_ggx_correlated
(alphaSqr, cosThetaI, cosThetaO)
Code/nvdiffmodeling/src/renderutils/bsdf.py:90
↓ 2 callersFunctionbsdf_ndf_ggx
(alphaSqr, cosTheta)
Code/nvdiffmodeling/src/renderutils/bsdf.py:78
↓ 2 callersFunctionbsdf_pbr_specular
(col, nrm, wo, wi, alpha, min_roughness=0.08)
Code/nvdiffmodeling/src/renderutils/bsdf.py:95
↓ 2 callersFunctioncompare
(iter, PSNR_thred)
Code/AtlasCompress.py:151
↓ 2 callersFunctiondata_preparation
(data_Path)
Code/AtlasCompress.py:87
↓ 2 callersFunctiondot
(x: torch.Tensor, y: torch.Tensor)
Code/nvdiffmodeling/src/util.py:20
↓ 2 callersFunctionimage_loss_fn
(img, target, loss, tonemapper)
Code/nvdiffmodeling/src/renderutils/loss.py:28
↓ 2 callersFunctionload_mesh
(filename, mtl_override=None)
Code/nvdiffmodeling/train.py:39
↓ 2 callersFunctionload_mesh
(filename, mtl_override=None)
Code/nvdiffmodeling/RenderCompare.py:54
↓ 2 callersFunctionoptimize
(iter)
Code/AtlasCompress.py:116
↓ 2 callersFunctionpack_result
(iter)
Code/AtlasCompress.py:181
↓ 2 callersFunctionpsnr
(error_map)
Code/nvdiffmodeling/RenderCompare.py:39
↓ 2 callersFunctionrender_layer
( rast, rast_deriv, mesh, view_pos, light_pos, light_power,
Code/nvdiffmodeling/src/render.py:86
↓ 2 callersFunctionstrToLoss
Code/nvdiffmodeling/src/renderutils/c_src/torch_bindings.cpp:633
↓ 2 callersFunctiontonemap_srgb
(f)
Code/nvdiffmodeling/src/renderutils/tests/test_loss.py:20
↓ 2 callersFunctiontonemap_srgb
(f)
Code/nvdiffmodeling/src/renderutils/tests/test_mesh.py:23
↓ 1 callersFunction_RELMSE
(img, target, eps=0.1)
Code/nvdiffmodeling/src/renderutils/loss.py:23
↓ 1 callersFunction_SMAPE
(img, target, eps=0.01)
Code/nvdiffmodeling/src/renderutils/loss.py:18
↓ 1 callersFunction_bend_normal
(view_vec, smooth_nrm, geom_nrm, two_sided_shading)
Code/nvdiffmodeling/src/renderutils/bsdf.py:27
↓ 1 callersFunction_find_mat
(materials, name)
Code/nvdiffmodeling/src/obj.py:32
↓ 1 callersFunction_perturb_normal
(perturbed_nrm, smooth_nrm, smooth_tng, opengl)
Code/nvdiffmodeling/src/renderutils/bsdf.py:37
↓ 1 callersFunction_reflect
(x, n)
Code/nvdiffmodeling/src/renderutils/bsdf.py:21
↓ 1 callersFunction_upscale_replicate
(x, full_res)
Code/nvdiffmodeling/src/material.py:96
↓ 1 callersFunction_write_bones
(folder, mesh)
Code/nvdiffmodeling/src/obj.py:27
↓ 1 callersFunction_write_weights
(folder, mesh)
Code/nvdiffmodeling/src/obj.py:22
↓ 1 callersFunctionbsdf_pbr
(kd, arm, pos, nrm, view_pos, light_pos, min_roughness=0.08)
Code/nvdiffmodeling/src/renderutils/bsdf.py:114
↓ 1 callersFunctionbsdf_prepare_shading_normal
(pos, view_pos, perturbed_nrm, smooth_nrm, smooth_tng, geom_nrm, two_sided_shading, opengl)
Code/nvdiffmodeling/src/renderutils/bsdf.py:45
↓ 1 callersMethodclamp_rgb_
(self, minR=None, maxR=None, minG=None, maxG=None, minB=None, maxB=None)
Code/nvdiffmodeling/src/texture.py:62
↓ 1 callersFunctionclean_mesh
(obj_path, output_path)
Code/AtlasCompress.py:8
↓ 1 callersMethodcopy_none
(self, other)
Code/nvdiffmodeling/src/mesh.py:37
↓ 1 callersFunctioncreateLoss
(FLAGS)
Code/nvdiffmodeling/train.py:49
↓ 1 callersFunctiondot
Code/nvdiffmodeling/src/renderutils/c_src/vec3f.h:60
↓ 1 callersFunctionfeature_extraction
()
Code/AtlasCompress.py:105
↓ 1 callersFunctionfind_cl_path
()
Code/nvdiffmodeling/src/renderutils/ops.py:26
↓ 1 callersFunctionget_amg_kwargs
(args)
Code/MaskGenerator.py:177
↓ 1 callersFunctionlength
(x: torch.Tensor, eps: float =1e-20)
Code/nvdiffmodeling/src/util.py:26
↓ 1 callersFunctionmain
(args)
Code/AtlasCompress.py:209
↓ 1 callersFunctionmain
(args: argparse.Namespace)
Code/MaskGenerator.py:195
↓ 1 callersFunctionmain
()
Code/nvdiffmodeling/train.py:434
↓ 1 callersFunctionmain
()
Code/nvdiffmodeling/RenderCompare.py:421
↓ 1 callersFunctionoptimize_mesh
( FLAGS, out_dir, log_interval=200, mesh_scale=2.0 )
Code/nvdiffmodeling/train.py:68
↓ 1 callersFunctionrender_compare
( FLAGS, out_dir, log_interval=10, mesh_scale=2.0 )
Code/nvdiffmodeling/RenderCompare.py:84
↓ 1 callersFunctionscale_img_nhwc
(x : torch.Tensor, size, mag='bilinear', min='area')
Code/nvdiffmodeling/src/util.py:87
↓ 1 callersFunctionshade
( gb_pos, gb_geometric_normal, gb_normal, gb_tangent, gb_texc,
Code/nvdiffmodeling/src/render.py:30
↓ 1 callersFunctiontest_lambda_ggx
()
Code/nvdiffmodeling/src/renderutils/tests/test_bsdf.py:109
↓ 1 callersFunctiontest_lambert
()
Code/nvdiffmodeling/src/renderutils/tests/test_bsdf.py:157
↓ 1 callersFunctiontest_masking_smith
()
Code/nvdiffmodeling/src/renderutils/tests/test_bsdf.py:132
↓ 1 callersFunctiontest_ndf_ggx
()
Code/nvdiffmodeling/src/renderutils/tests/test_bsdf.py:85
↓ 1 callersFunctiontest_normal
()
Code/nvdiffmodeling/src/renderutils/tests/test_bsdf.py:25
↓ 1 callersFunctiontest_pbr_bsdf
()
Code/nvdiffmodeling/src/renderutils/tests/test_bsdf.py:216
↓ 1 callersFunctiontest_pbr_specular
()
Code/nvdiffmodeling/src/renderutils/tests/test_bsdf.py:179
↓ 1 callersFunctiontest_schlick
()
Code/nvdiffmodeling/src/renderutils/tests/test_bsdf.py:59
↓ 1 callersFunctiontest_xfm_points
()
Code/nvdiffmodeling/src/renderutils/tests/test_mesh.py:38
↓ 1 callersFunctiontest_xfm_vectors
()
Code/nvdiffmodeling/src/renderutils/tests/test_mesh.py:58
↓ 1 callersFunctionwrite_masks_to_folder
(masks: List[Dict[str, Any]], path: str)
Code/MaskGenerator.py:152
FunctionPYBIND11_MODULE
Code/nvdiffmodeling/src/renderutils/c_src/torch_bindings.cpp:772
MethodTensor
Code/nvdiffmodeling/src/renderutils/c_src/tensor.h:24
Method__init__
(self, mesh)
Code/nvdiffmodeling/src/regularizer.py:56
Method__init__
(self, opt_mesh, base_mesh)
Code/nvdiffmodeling/src/regularizer.py:99
Method__init__
(self, opt_mesh)
Code/nvdiffmodeling/src/regularizer.py:155
Method__init__
(self, init)
Code/nvdiffmodeling/src/texture.py:25
Method__init__
(self, v_pos=None, t_pos_idx=None, v_nrm=None, t_nrm_idx=None, v_tex=None, t_tex_idx=None, v_tng=None, t_tng_i
Code/nvdiffmodeling/src/mesh.py:20
Method__init__
(self, base_mesh, ref_mesh)
Code/nvdiffmodeling/src/mesh.py:126
Method__init__
(self, input)
Code/nvdiffmodeling/src/mesh.py:153
Method__init__
(self, input)
Code/nvdiffmodeling/src/mesh.py:251
Method__init__
(self, input)
Code/nvdiffmodeling/src/mesh.py:291
next →1–100 of 242, ranked by callers