ComfyUI > Nodes > ComfyUI libigl > Preview Mesh Batch (VTK)

ComfyUI Node: Preview Mesh Batch (VTK)

Class Name

GeomPackPreviewMeshVTKBatch

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 Batch (VTK) Description

Facilitates interactive 3D mesh visualization and analysis using VTK.js with navigation controls.

Preview Mesh Batch (VTK):

The GeomPackPreviewMeshVTKBatch node is designed to facilitate the visualization of a batch of 3D meshes using the VTK.js scientific visualization viewer. This node is particularly beneficial for users who need to analyze large datasets or perform scientific visualization and mesh analysis. It allows you to interactively display meshes with trackball controls, providing an intuitive way to navigate through a collection of meshes. The node supports different visualization modes, such as fields and textures, and includes navigation buttons to cycle through the meshes in the batch. This makes it an excellent tool for examining complex geometries and understanding the spatial relationships within your data.

Preview Mesh Batch (VTK) Input Parameters:

trimesh

The trimesh parameter is a required input that represents the collection of 3D meshes you wish to visualize. This parameter is crucial as it forms the basis of the visualization process, allowing the node to render each mesh in the batch interactively. The meshes should be in a format compatible with the VTK.js viewer to ensure proper rendering and interaction.

mode

The mode parameter determines the visualization style applied to the meshes. It offers two options: "fields" and "texture". The "fields" mode is used for visualizing scalar fields or point cloud data, while the "texture" mode is suitable for rendering textures on the mesh surfaces. The default value is "fields", and selecting the appropriate mode can significantly impact the clarity and effectiveness of the visualization.

index

The index parameter specifies the starting point for the mesh batch visualization. It is an integer value with a default of 0, and it can range from 0 to 100. This parameter allows you to control which mesh in the batch is initially displayed, providing flexibility in navigating through large datasets.

Preview Mesh Batch (VTK) Output Parameters:

This node does not produce any direct output parameters. Instead, its primary function is to render the meshes interactively within the VTK.js viewer, allowing you to visually inspect and analyze the data.

Preview Mesh Batch (VTK) Usage Tips:

  • To optimize performance when visualizing large datasets, consider using the "fields" mode for scalar field data and the "texture" mode for meshes with detailed surface textures.
  • Use the index parameter to quickly access and focus on specific meshes within a large batch, which can be particularly useful for targeted analysis.

Preview Mesh Batch (VTK) Common Errors and Solutions:

Export failed: <error_message>

  • Explanation: This error occurs when the node fails to export the mesh to the specified file format, possibly due to an unsupported format or a problem with the mesh data.
  • Solution: Ensure that the mesh data is correctly formatted and compatible with the desired export format. If the error persists, try exporting to a different format, such as OBJ, as a fallback.

Mesh is not watertight

  • Explanation: This message indicates that the mesh is not completely enclosed, which can affect certain types of analysis or visualization.
  • Solution: Check the mesh for holes or gaps and consider using mesh repair tools to make it watertight if necessary for your analysis.

Preview Mesh Batch (VTK) 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.