Comfy-Org / Comfy-Org/ComfyUI

Add 'Near Clipping' option to 3D Preview node (Objects disappear when zooming in)

Open
#11,605 0 comments 0 reactions 0 assignees View on GitHub
Feature
Dominant language
Python
Stars
133k
Forks
15.7k
Avg merge
1d 7h
Merged PRs (30d)
158

Description

### Feature Idea

Image

I am experiencing an issue where objects get clipped (disappear) when zooming in close to an FBX model using the native Preview 3D node. As shown in the attached image, the mesh vanishes when the camera gets too close, which seems to be due to the fixed Near Clipping Plane (Z-near) setting in the viewer.

Describe the solution you'd like I checked the nodes_load_3d.py file, but I couldn't find any exposed parameters to adjust the camera settings manually. I would like to request a feature where we can adjust the Camera Near Clip option (e.g., setting znear to 0.001) within the node settings or as an input, so that detailed close-up views are possible without clipping.

Additional context

File format: FBX

Node: Core Preview 3D / Load 3D node

Current behavior: Fixed near plane causes clipping on small-scale objects or close-ups.

### Existing Solutions

_No response_

### Other

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.