SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · Ling_ShadowNeuS_Neural_SDF_Reconstruction_by_Shadow_Ray_Supervision_CVPR_2023_paper · CVPR · 2023

ShadowNeuS: Neural SDF Reconstruction by Shadow Ray Supervision

Feng Xu, Zhibo Wang, Jingwang Ling

Code that ran

12 of 14 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 9 have no contract verdict; 3 failures of our instrument; 2 no recorded run), measured 2026-11-24; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/Ling_ShadowNeuS_Neural_SDF_Reconstruction_by_Shadow_Ray_Supervision_CVPR_2023_paper.json · badge: /api/ran/Ling_ShadowNeuS_Neural_SDF_Reconstruction_by_Shadow_Ray_Supervision_CVPR_2023_paper.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
gerwang/ShadowNeuS canonical (classifier label)
classifier basis: census
12 ran · 2 no recorded run
FunctionStatusWhere it lives
extract_fields Ran
ran; our contract draft was wrong, not the code
gerwang/ShadowNeuS/models/renderer.py
code served (permissive licence) · get_code("b68bcf62efdab61a")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned ndarray, ndim 3, dtype family float, shape (128, 128, 128) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import numpy as np

torch.manual_seed(0)

# Define a simple query function that takes points and returns scalar values
def query_func(pts):
    """
    Simple query function that takes points of shape (N, 3) and returns (N,) scalar values.
    This simulates a neural network or field evaluator.
    """
    # Return sum of coordinates as a simple scalar field
    return pts.sum(dim=1)

# Define parameters
bound_min = np.array([-1.0, -1.0, -1.0])
bound_max = np.array([1.0, 1.0, 1.0])
resolution = 128

ARGS = {
    "bound_min": bound_min,
    "bound_max": bound_max,
    "resolution": resolution,
    "query_func": query_func,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 3, dtype family float, shape (128, 128, 128) — shape (128, 128, 128) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
get_depth_map_faces Ran
ran on a synthesized input
gerwang/ShadowNeuS/models/depth_normal.py
code served (permissive licence) · get_code("731a94acd3a62a97")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned ndarray, ndim 2, dtype family int, shape (5, 3) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np

# Create a small verts_map with shape (H, W, 3) representing vertex coordinates
# Using small dimensions: H=4, W=5
H, W = 4, 5
verts_map = np.random.randn(H, W, 3).astype(np.float32)

# Set some vertices to create varying triangle areas
# This ensures we have both valid and invalid triangles based on threshold
verts_map[0, 0] = [0.0, 0.0, 0.0]
verts_map[0, 1] = [0.1, 0.0, 0.0]
verts_map[1, 0] = [0.0, 0.1, 0.0]
verts_map[1, 1] = [0.05, 0.05, 0.0]

# Set threshold to filter triangles by area
# Using a moderate threshold that will accept some triangles and reject others
threshold = 0.5

ARGS = {
    "verts_map": verts_map,
    "threshold": threshold,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 2, dtype family int, shape (5, 3) — shape (5, 3) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
get_embedder Ran
ran; our contract draft was wrong, not the code
gerwang/ShadowNeuS/models/embedder.py
code served (permissive licence) · get_code("bb0e12df9c0d2a05")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

torch.manual_seed(0)

ARGS = {
    'multires': 4,
    'input_dims': 3
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple, ndim 1, dtype family float — a tuple output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
get_scale_mat Ran
ran on a synthesized input
gerwang/ShadowNeuS/models/deep_shadow_dataset.py
code served (permissive licence) · get_code("654955bce1b16f1f")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Tensor, ndim 2, dtype family float, shape (4, 4) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

torch.manual_seed(0)

# Construct points tensor - small 3D point cloud
# Shape: (num_points, 3) for 3D coordinates
points = torch.tensor([
    [0.0, 0.0, 0.0],
    [1.0, 1.0, 1.0],
    [0.5, 0.5, 0.5],
    [1.5, 1.5, 1.5]
], dtype=torch.float32)

# Construct target_radius - scalar float
target_radius = 1.0

ARGS = {
    "points": points,
    "target_radius": target_radius
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 2, dtype family float, shape (4, 4) — shape (4, 4) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
intersect_sphere Ran
ran on a synthesized input
gerwang/ShadowNeuS/models/raytracer.py
code served (permissive licence) · get_code("08640f7ab501b0d1")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple, ndim 2, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

torch.manual_seed(0)

# The function expects:
# - ray_o: tensor of shape [..., 3] representing ray origins
# - ray_d: tensor of shape [..., 3] representing ray directions
# - r: scalar or tensor representing sphere radius
# - keepdim: boolean flag

# Create ray origins with shape [2, 3] (batch size 2, 3D coordinates)
ray_o = torch.randn(2, 3)

# Create ray directions with shape [2, 3] (batch size 2, 3D directions)
ray_d = torch.randn(2, 3)

# Sphere radius (scalar)
r = 1.0

# keepdim flag
keepdim = False

ARGS = {
    "ray_o": ray_o,
    "ray_d": ray_d,
    "r": r,
    "keepdim": keepdim,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple, ndim 2, dtype family float — a tuple output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
linear_to_srgb Ran
ran on a synthesized input
gerwang/ShadowNeuS/models/base_dataset.py
code served (permissive licence) · get_code("1aa9c971262621ba")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned ndarray, ndim 1, dtype family float, shape (5,) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np

# The function linear_to_srgb takes a single parameter 'x'
# Looking at the function body:
# - x is used with np.clip (expects array-like)
# - x is used with np.greater_equal, np.maximum, np.power, np.where
# - All of these work with numpy arrays or numpy-compatible types

# Create a small numpy array with values in the valid range
x = np.array([0.0, 0.001, 0.0031308, 0.5, 1.0], dtype=np.float32)

ARGS = {
    "x": x
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 1, dtype family float, shape (5,) — shape (5,) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
norm_diff Ran
ran on a synthesized input
gerwang/ShadowNeuS/models/depth_normal.py
code served (permissive licence) · get_code("aeb97b79c71a184b")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import numpy as np

torch.manual_seed(0)

# Create small tensors with distinct dimensions
# Batch size: 2, Channels: 3, Height: 4, Width: 5
batch_size = 2
channels = 3
height = 4
width = 5

# Ground truth normals - NxCxHxW format
norm_gt = torch.randn(batch_size, channels, height, width)

# Predicted normals - NxCxHxW format
normal_hat = torch.randn(batch_size, channels, height, width)

# Silhouette mask - optional parameter
# NxCxHxW format (or can be reshaped)
silhouette = torch.randint(0, 2, (batch_size, 1, height, width)).float()

ARGS = {
    "normal_hat": normal_hat,
    "norm_gt": norm_gt,
    "silhouette": silhouette,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple — a tuple output has no array shape of its own; none is stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
raytrace_pixels Ran
ran on a synthesized input
gerwang/ShadowNeuS/models/raytracer.py
code served (permissive licence) · get_code("97b68c915dfdc216")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned dict. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

torch.manual_seed(0)

# Mock SDF network
class MockSDFNetwork(nn.Module):
    def forward(self, x):
        # x: [..., 3]
        # returns [..., 1]
        return torch.zeros(x.shape[:-1] + (1,))

# Mock camera
class MockCamera:
    def get_rays(self, uv):
        # uv: [..., 2]
        # returns ray_o, ray_d, ray_d_norm all [..., 3] or [...]
        batch_shape = uv.shape[:-1]
        ray_o = torch.randn(batch_shape + (3,))
        ray_d = torch.randn(batch_shape + (3,))
        ray_d = ray_d / (torch.norm(ray_d, dim=-1, keepdim=True) + 1e-6)
        ray_d_norm = torch.norm(ray_d, dim=-1)
        return ray_o, ray_d, ray_d_norm

# Mock raytracer
class MockRaytracer:
    def __init__(self):
        self.n_steps = 64
        self.n_outer_steps = 16
    
    def __call__(self, sdf, ray_o, ray_d, min_dis, max_dis, min_dis_outer, max_dis_outer, work_mask, floor_dist):
        # Returns dict with 'distance' and possibly other tensors
        num_rays = ray_o.shape[0]
        results = {
            'distance': torch.rand(num_rays),
            'normal': torch.randn(num_rays, 3),
        }
        return results

# Mock floor solver
class MockFloorSolver:
    def __init__(self):
        self.clip_flag = True
    
    def get_floor_distance(self, ray_o, ray_d):
        # ray_o, ray_d: [..., 3]
        # returns [..., 1] or [...]
        batch_shape = ray_o.shape[:-1]
        return torch.rand(batch_shape + (1,))

# Build arguments
sdf_network = MockSDFNetwork()
raytracer = MockRaytracer()
camera = MockCamera()

# uv: [2, 4, 2]
uv = torch.rand(2, 4, 2)

bound_r = 1.0
outer_bound_r = 2.0
floor_solver = MockFloorSolver()

# mask and cam_mask: [2, 4]
mask = torch.ones(2, 4).bool()
cam_mask = torch.ones(2, 4).bool()

max_num_rays = 200000
mock_inner = False

ARGS = {
    'sdf_network': sdf_network,
    'raytracer': raytracer,
    'uv': uv,
    'camera': camera,
    'bound_r': bound_r,
    'outer_bound_r': outer_bound_r,
    'floor_solver': floor_solver,
    'mask': mask,
    'max_num_rays': max_num_rays,
    'cam_mask': cam_mask,
    'mock_inner': mock_inner,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
reparam_points Ran
ran on a synthesized input
gerwang/ShadowNeuS/models/raytracer.py
code served (permissive licence) · get_code("525eeae3bd8dff15")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Tensor, ndim 2, dtype family float, shape (2, 4) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

torch.manual_seed(0)

# Analyze the function:
# - nondiff_points: used in arithmetic, shape should support broadcasting
# - nondiff_grads: used in element-wise multiplication and sum, needs last dim
# - nondiff_trgt_dirs: used in element-wise multiplication and division
# - diff_sdf_vals: used in arithmetic with .detach() call, needs to be a tensor

# All operations suggest tensors with compatible shapes
# Let's use batch_size=2, feature_dim=4

batch_size = 2
feature_dim = 4

# nondiff_points: shape (batch_size, feature_dim)
nondiff_points = torch.randn(batch_size, feature_dim)

# nondiff_grads: shape (batch_size, feature_dim) - gradients
nondiff_grads = torch.randn(batch_size, feature_dim)

# nondiff_trgt_dirs: shape (batch_size, feature_dim) - target directions
nondiff_trgt_dirs = torch.randn(batch_size, feature_dim)

# diff_sdf_vals: shape (batch_size, 1) - SDF values that require grad
diff_sdf_vals = torch.randn(batch_size, 1, requires_grad=True)

ARGS = {
    "nondiff_points": nondiff_points,
    "nondiff_grads": nondiff_grads,
    "nondiff_trgt_dirs": nondiff_trgt_dirs,
    "diff_sdf_vals": diff_sdf_vals,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 2, dtype family float, shape (2, 4) — shape (2, 4) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
sample_pdf Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
gerwang/ShadowNeuS/models/renderer.py
code served (permissive licence) · get_code("dad6efeeea24fad9")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Tensor, ndim 2, dtype family float, shape (2, 3) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

torch.manual_seed(0)

# bins: tensor of bin edges, shape (batch, n_bins)
bins = torch.linspace(0, 1, steps=5).unsqueeze(0).expand(2, 5)

# weights: tensor of weights for each bin, shape (batch, n_bins-1)
weights = torch.rand(2, 4)

# n_samples: number of samples to draw
n_samples = 3

# det: whether to use deterministic sampling
det = False

ARGS = {
    "bins": bins,
    "weights": weights,
    "n_samples": n_samples,
    "det": det,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 2, dtype family float, shape (2, 3) — shape (2, 3) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
saturate Ran
ran on a synthesized input
gerwang/ShadowNeuS/models/base_dataset.py
code served (permissive licence) · get_code("e400ec0b5c81dff1")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned ndarray, ndim 1, dtype family float, shape (5,) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np

# The function saturate clips a value x between low and high bounds
# It takes:
# - x: array-like value to clip
# - low: lower bound (default 0.0)
# - high: upper bound (default 1.0)

# Create test data
x = np.array([-0.5, 0.3, 0.7, 1.5, 2.0])
low = 0.0
high = 1.0

ARGS = {
    "x": x,
    "low": low,
    "high": high,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 1, dtype family float, shape (5,) — shape (5,) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
srgb_to_linear Ran
ran on a synthesized input
gerwang/ShadowNeuS/models/base_dataset.py
code served (permissive licence) · get_code("703d5358978402d7")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned ndarray, ndim 1, dtype family float, shape (5,) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np

# The function srgb_to_linear takes one parameter: x
# It expects x to be a numpy array or array-like that can be passed to np.clip, np.where, np.greater_equal, np.power, and np.maximum
# Let's create a small numpy array with values in the sRGB range [0, 1]

x_input = np.array([0.0, 0.05, 0.1, 0.5, 1.0])

ARGS = {
    "x": x_input
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 1, dtype family float, shape (5,) — shape (5,) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
depth_map_to_pointcloud Not yet run
unverified (harvested, no recorded run)
gerwang/ShadowNeuS/models/deep_shadow_dataset.py
code served (permissive licence) · get_code("3e50a4a58493b2a0")
How it ran

no invocation recorded.

readEXR Not yet run
unverified (harvested, no recorded run)
gerwang/ShadowNeuS/models/deep_shadow_dataset.py
code served (permissive licence) · get_code("75caef78b3f80be4")
How it ran

no invocation recorded.

Also present in other papers' code

Of 14 samples lifted from this paper's linked repositories, 14 carry a function identity and 0 do not. Of the 14 distinct functions with an identity, 3 are also present in other papers whose code we hold (2 with at least one paper dated earlier, 0 the same month, 2 later) and 11 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
get_embedder 22 other papers
6 dated earlier, 4 later, 12 same year, order not determinable · 3 only as an assembly brick
2106.10689 (2021-06)
NeuS: Learning Neural Implicit Surfaces by Volume Rendering for Multi-view Reconstruction
2106.12052 (2021-06)
Volume Rendering of Neural Implicit Surfaces
2205.15848 (2022-05)
Geo-Neus: Geometry-Consistent Neural Implicit Surfaces Learning for Multi-view Reconstruction
and 19 more not named here
sample_pdf 6 other papers
2 dated earlier, 1 later, 3 same year, order not determinable
2106.10689 (2021-06)
NeuS: Learning Neural Implicit Surfaces by Volume Rendering for Multi-view Reconstruction
2206.13597 (2022-06)
NeuRIS: Neural Reconstruction of Indoor Scenes Using Normal Priors
2303.17968 (2023-03)
VDN-NeRF: Resolving Shape-Radiance Ambiguity via View-Dependence Normalization
and 3 more not named here
extract_fields 1 other paper
1 same year, order not determinable
2308.13404 (2023-08)
Relighting Neural Radiance Fields with Shadow and Highlight Hints

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-24.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

By supervising camera rays between a scene and multiview image planes, NeRF reconstructs a neural scene representation for the task of novel view synthesis. On the other hand, shadow rays between the light source and the scene have yet to be considered. Therefore, we propose a novel shadow ray supervision scheme that optimizes both the samples along the ray and the ray location. By supervising shadow rays, we successfully reconstruct a neural SDF of the scene from single-view images under multiple lighting conditions. Given single-view binary shadows, we train a neural network to reconstruct a complete scene not limited by the camera's line of sight. By further modeling the correlation between the image colors and the shadow rays, our technique can also be effectively extended to RGB inputs. We compare our method with previous works on challenging tasks of shape reconstruction from singleview binary shadow or RGB images and observe significant improvements. The code and data are available at https://github.com/gerwang/ShadowNeuS.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("Ling_ShadowNeuS_Neural_SDF_Reconstruction_by_Shadow_Ray_Supervision_CVPR_2023_paper")
get_code_for_paper("Ling_ShadowNeuS_Neural_SDF_Reconstruction_by_Shadow_Ray_Supervision_CVPR_2023_paper")
have("Ling_ShadowNeuS_Neural_SDF_Reconstruction_by_Shadow_Ray_Supervision_CVPR_2023_paper")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/Ling_ShadowNeuS_Neural_SDF_Reconstruction_by_Shadow_Ray_Supervision_CVPR_2023_paper.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/Ling_ShadowNeuS_Neural_SDF_Reconstruction_by_Shadow_Ray_Supervision_CVPR_2023_paper.svg)](https://syntology.ai/paper/Ling_ShadowNeuS_Neural_SDF_Reconstruction_by_Shadow_Ray_Supervision_CVPR_2023_paper)

Connect an agent — have() is free.