ComfyUI > Nodes > ComfyUI libigl > Preview Mesh

ComfyUI Node: Preview Mesh

Class Name

GeomPackPreviewMeshVTK

Category
geompack/visualization
Author
PozzettiAndrea (Account age: 2240days)
Extension
ComfyUI libigl
Latest Updated
2025-12-22
Github Stars
0.06K

How to Install ComfyUI libigl

Install this extension via the ComfyUI Manager by searching for ComfyUI libigl
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI libigl in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

Preview Mesh Description

Visualizes 3D meshes interactively using VTK.js, ideal for scientific analysis and large datasets.

Preview Mesh:

The GeomPackPreviewMeshVTK node is designed to provide a sophisticated visualization of 3D meshes using the VTK.js scientific visualization viewer. This node is particularly beneficial for users who need to analyze and visualize complex mesh structures, as it offers an interactive viewer with trackball controls, making it ideal for scientific visualization, mesh analysis, and handling large datasets. By leveraging VTK.js, the node allows you to explore the intricacies of your mesh data in a more intuitive and detailed manner, enhancing your ability to understand and manipulate 3D geometries effectively.

Preview Mesh Input Parameters:

mode

The mode parameter determines the visualization style of the mesh within the VTK.js viewer. It offers three options: "fields," "texture," and "texture (PBR)." The "fields" mode is typically used for scientific visualization, allowing you to view various data fields on the mesh. The "texture" mode applies a basic texture to the mesh, while "texture (PBR)" uses Physically Based Rendering for more realistic texture visualization. The default value is "fields," which is suitable for most scientific and analytical purposes.

trimesh

The trimesh parameter is an optional input that represents the triangular mesh data to be visualized. This parameter is crucial if you want to display a specific mesh structure in the viewer. It should be provided in a format compatible with the node's requirements, typically as a TRIMESH object. The presence of this parameter allows the node to render the specified mesh, enabling detailed examination and analysis.

voxelgrid

The voxelgrid parameter is another optional input that allows you to visualize voxel grid data within the VTK.js viewer. This parameter is useful when you want to explore volumetric data or when your mesh data is represented in a voxel grid format. Like the trimesh parameter, it should be provided in a compatible format, typically as a VOXELGRID object, to ensure proper visualization.

Preview Mesh Output Parameters:

None

This node does not produce any direct output parameters. Its primary function is to provide an interactive visualization of the input mesh data within the VTK.js viewer, allowing you to explore and analyze the mesh without generating additional data outputs.

Preview Mesh Usage Tips:

  • To achieve the best visualization results, ensure that your mesh data is clean and well-structured before inputting it into the node. This will help prevent rendering issues and improve the clarity of the visualization.
  • Experiment with different mode settings to find the visualization style that best suits your analysis needs. For scientific purposes, the "fields" mode is often the most informative.

Preview Mesh Common Errors and Solutions:

"Invalid mesh data format"

  • Explanation: This error occurs when the input mesh data is not in a format compatible with the node's requirements.
  • Solution: Ensure that your trimesh or voxelgrid data is correctly formatted as a TRIMESH or VOXELGRID object, respectively, before inputting it into the node.

"Mesh data not provided"

  • Explanation: This error indicates that neither trimesh nor voxelgrid data was provided, leaving the node with nothing to visualize.
  • Solution: Provide either a trimesh or voxelgrid input to enable the node to render and visualize the mesh data.

Preview Mesh Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI libigl
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.