VNCCS WorldMirror V2 3D Reconstruction
One picture in, orbitable splat out
- model
- images
- camera_intrinsics
- camera_poses
- depth_prior
- ply_data
- depth_maps
- normal_maps
- camera_poses
- camera_intrinsics
- raw_splats
- filter_mask
- gs_filter_mask
What it does
You give it one or more images of a place. It gives you back gaussian splats - the point-based representation that renders photorealistically from angles you never shot - plus the depth maps, normals and camera parameters it inferred along the way.
This is the reconstruction step of the WorldMirror path inside VNCCS: the loader fetches Tencent's HY-World 2.0 weights, this node runs them. In the suite it's the "build me a scene" button behind VNCCS CG Creator, so you can swing the camera around a background and render a CG from an angle nobody drew.
Keep the representation straight, because it decides whether the output is useful to you. A splat is not a mesh. It's millions of little oriented blobs that look spectacular in a splat renderer and are useless to a game engine's collision or a slicer. If your destination is a rendered shot - which is exactly what a visual novel CG is - splats are the right answer. If your destination is an asset, you're on the wrong node.
How it works
The model predicts per-view depth and normals and recovers camera poses for the input views; the pack then turns that into gaussian splats two ways. Native mode uses WorldMirror's own splats. Turn on enable_splat_upsample and it instead backprojects the depth maps into a dense splat cloud using linked camera priors - more points, more coverage, bigger files, and the tooltip's honest summary is "off uses native WorldMirror splats".
That's why the knobs are all about point density. splat_upsample_scale sets the Gaussian size; splat_upsample_scale_mode decides how it varies - constant, depth_adaptive (grow with distance), footprint_adaptive (follow local 3D spacing), or hybrid_adaptive. Depth-adaptive is the sane default, because a splat that looks right three metres away looks like a hole at thirty. splat_upsample_voxel_prune with splat_upsample_voxel_size merges near-duplicates to shrink the file, and splat_upsample_max_points caps the total, with splat_upsample_cap_far_bias protecting distant surfaces from the cap.
apply_sky_mask (on by default) is the one that saves outdoor panoramas. Sky has no depth, so a naive backprojection puts splats at infinity and you get smeared white smudge whenever you look up.
Inputs you'll actually touch
Required: model (from the WorldMirror V2 loader) and images (IMAGE - the view or views to reconstruct).
Then, in order of how often you'll care:
target_size(INT, default 3430, min 252, max 4096, step 14) - inference resolution on the longest side. The 14 isn't arbitrary; it's the model's patch size, so the values step in 14s. Default is high. The author's tooltip says experimental high values are VRAM-heavy and that you can upsample splats separately - read that as: drop this to 1400–2000 before you touch anything else when you're tight on memory.low_vram_mode(BOOLEAN) - one switch that applies a profile: depth-only, frame chunks of 1, GS param chunks of 1, transformer MLP chunks of 8192. It's the "just make it fit" option.offload_scheme-noneormodel_cpu_offload, for when the weights themselves are the problem rather than the activations.splat_camera_source-predicted(default) uses the model's own predicted cameras;camera_inputsbackprojects from input cameras using ICP scale. You only reach for this when you have real camera data, i.e. you're feedingcamera_intrinsics/camera_poses.debug_log- prints camera/depth/splat alignment diagnostics to the console. Turn it on the moment things look geometrically wrong.
Optional camera_intrinsics, camera_poses (TENSOR) and depth_prior (IMAGE) exist to inject ground truth from related nodes - the tooltips name Equirect360ToViews and WorldStereo, which come from the author's other WorldMirror/HY-World tooling. If you're feeding a 360 panorama, that's the pipeline: split it into views with known intrinsics, then reconstruct with camera_inputs rather than letting the model guess.
Outputs
Eight, and most people use two:
ply_data- the splat cloud as PLY data, the thing you feed a viewer or save.raw_splats(VNCCS_SPLAT) - the pack's internal splat representation, for downstream pack nodes (the refiner path).depth_mapsandnormal_maps(IMAGE) - the geometry the model saw. Genuinely useful for debugging why a render looks wrong.camera_posesandcamera_intrinsics(TENSOR) - reusable if you want to render the same scene from other nodes.filter_maskandgs_filter_mask(IMAGE) - which pixels survived filtering (sky masking, validity). When splats go missing from one region, this is the map that tells you why.
Install
cd ComfyUI/custom_nodes
git clone https://github.com/AHEKOT/ComfyUI_VNCCS.git vnccs
cd vnccs
python -m pip install -r requirements.txt
Plus the WorldMirror weights, auto-downloaded on first run into ComfyUI/models/WorldMirror-V2/HY-WorldMirror-2.0/. No compiled extensions, no git-URL pip install - unusual and welcome in this corner of ComfyUI.
Where people get burned
VRAM and time, not correctness. Room-scale reconstruction out of a couple of views is a tens-of-gigabytes, several-minutes job at default settings; community reports for WorldMirror on a room put it around 20GB and 300+ seconds on a datacentre GPU. On consumer cards, expect to live in low_vram_mode + convrot8 + a smaller target_size.
Sky smears. If the top of your render is a white blur, apply_sky_mask got turned off or isn't aggressive enough for that image.
Blurry distance. Default point caps cull far splats first. If the back of the room looks like fog, raise splat_upsample_max_points or the splat_upsample_cap_far_bias, and expect a larger file.
Input views must be consistent. Multi-view works because the model can reconcile the views. Two images from different lighting conditions, or a panorama stitched badly, produces a scene where half the geometry sits on the wrong plane. It will still render. It just won't be the room you photographed.
Inputs (20)
| Name | Type | Default | Description |
|---|---|---|---|
| model | VNCCS_WORLDMIRROR_V2_MODEL | — | |
| images | IMAGE | — | |
| target_sizeopt | INT | 3430252–4096 | Model inference resolution. Experimental high values are VRAM-heavy; dense splats can be upsampled separately. |
| offload_schemeopt | COMBO | none | Move model weights to CPU between GPU use to reduce VRAM at the cost of speed. |
| low_vram_modeopt | BOOLEAN | false | Apply the low-VRAM profile: depth_only, frame chunks=1, GS param chunks=1, transformer MLP chunks=8192. |
| apply_sky_maskopt | BOOLEAN | true | Remove sky-like regions before saving. Useful for outdoor panoramas where sky can create far/infinite splats. |
| debug_logopt | BOOLEAN | false | Print camera/depth/splat alignment diagnostics to the ComfyUI console. |
| enable_splat_upsampleopt | BOOLEAN | false | Build dense splats from depth with linked camera priors. Off uses native WorldMirror splats. |
| splat_upsample_scaleopt | FLOAT | 0.00300.0001–0.05 | Gaussian size for dense backprojected splats. |
| splat_upsample_scale_modeopt | COMBO | depth_adaptive | constant uses one Gaussian size; depth_adaptive grows with depth; footprint_adaptive follows local 3D spacing; hybrid uses both. |
| splat_upsample_depth_scale_strengthopt | FLOAT | 1.000–8 | Depth growth strength, or local footprint multiplier in footprint/hybrid modes. |
| splat_upsample_depth_scale_maxopt | FLOAT | 3.01–12 | Maximum multiplier over splat_upsample_scale for adaptive modes. |
| splat_upsample_voxel_pruneopt | BOOLEAN | true | Voxel-merge dense splats to reduce file size. |
| splat_upsample_voxel_sizeopt | FLOAT | 0.00150.0001–0.1 | Voxel size for dense splat compression. |
| splat_upsample_max_pointsopt | INT | 20000000–2000000 | Depth/distance-aware cap for dense splats. Lower values reduce file size; higher values preserve distant surfaces. |
| splat_upsample_cap_far_biasopt | FLOAT | 1.750–8 | Preserve proportionally more far splats when applying the point cap. |
| splat_camera_sourceopt | COMBO | predicted | camera_inputs backprojects depths from input cameras using ICP scale. predicted uses the model predicted cameras. |
| camera_intrinsicsopt | TENSOR | Optional: intrinsics from Equirect360ToViews or WorldStereo. | |
| camera_posesopt | TENSOR | Optional: camera poses from Equirect360ToViews or WorldStereo. | |
| depth_prioropt | IMAGE | Optional depth prior matching the input views. |
Outputs (8)
| Name | Type | Description |
|---|---|---|
| ply_data | PLY_DATA | — |
| depth_maps | IMAGE | — |
| normal_maps | IMAGE | — |
| camera_poses | TENSOR | — |
| camera_intrinsics | TENSOR | — |
| raw_splats | VNCCS_SPLAT | — |
| filter_mask | IMAGE | — |
| gs_filter_mask | IMAGE | — |