ComfyUI > Nodes > ComfyUI libigl > Preview Mesh Dual

ComfyUI Node: Preview Mesh Dual

Class Name

GeomPackPreviewMeshDual

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 Dual Description

Facilitates dual 3D mesh visualization, comparison, and export for detailed model analysis.

Preview Mesh Dual:

The GeomPackPreviewMeshDual node is designed to facilitate the visualization and comparison of two 3D meshes or point clouds. This node is particularly useful for artists and designers who need to analyze and preview the visual aspects of their 3D models in a dual format. It allows you to view two meshes side by side or overlay them, providing insights into their textures, vertex colors, and spatial extents. The node supports exporting the meshes in different formats, such as GLB for textured models and VTP for models with fields or point clouds, ensuring compatibility with various visualization tools. By generating unique previews and computing the bounds of the meshes, this node helps in understanding the spatial relationships and visual characteristics of the models, making it an essential tool for detailed 3D analysis and presentation.

Preview Mesh Dual Input Parameters:

mesh_1

This parameter represents the first 3D mesh or point cloud to be visualized. It is crucial for defining the primary model that will be compared or combined with the second mesh. The quality and characteristics of this mesh, such as its texture and vertex colors, will directly impact the visual output and analysis.

mesh_2

This parameter is the second 3D mesh or point cloud that will be visualized alongside or overlaid with the first mesh. It serves as the secondary model for comparison, and its properties will influence the dual visualization, allowing for a comprehensive analysis of differences or similarities between the two models.

layout

The layout parameter determines how the two meshes are displayed in the preview. Options include "side_by_side" for a parallel comparison or "overlay" for a combined view. This choice affects how the visual information is presented, aiding in different types of analysis depending on the user's needs.

mode

This parameter specifies the export mode for the meshes, with options like "texture" for exporting as GLB files or "fields" for using VTP format. The mode selected will dictate the file format and the type of data emphasized in the export, such as textures or field data.

opacity_1

Opacity_1 controls the transparency level of the first mesh in the visualization. It ranges from 0.0 (completely transparent) to 1.0 (fully opaque), allowing you to adjust the visibility of the first mesh when overlaid with the second mesh, which can be useful for highlighting specific features.

opacity_2

Similar to opacity_1, this parameter adjusts the transparency of the second mesh. It also ranges from 0.0 to 1.0, providing control over how prominently the second mesh appears in the visualization, which is particularly useful in overlay mode to distinguish between the two models.

Preview Mesh Dual Output Parameters:

preview_id

The preview_id is a unique identifier generated for each visualization session. It is essential for tracking and managing different preview instances, especially when exporting or saving the visualizations for further analysis or presentation.

filename_1

This output provides the filename of the exported first mesh, indicating where the visualized model is saved. It is crucial for accessing and utilizing the exported file in other applications or for sharing with collaborators.

filename_2

Similar to filename_1, this output gives the filename of the exported second mesh. It ensures that you have a reference to the saved file, facilitating further use or distribution of the visualized model.

Preview Mesh Dual Usage Tips:

  • Use the "side_by_side" layout to easily compare the differences in texture and structure between two meshes.
  • Opt for the "overlay" layout with adjusted opacities to highlight specific features or areas of interest in the combined visualization.
  • Choose the "texture" mode for models with detailed surface textures and the "fields" mode for models with additional data fields or point clouds.

Preview Mesh Dual Common Errors and Solutions:

Mesh format not supported

  • Explanation: The node may not support certain mesh formats, especially if they are not compatible with GLB or VTP.
  • Solution: Ensure that the input meshes are in a supported format, such as those compatible with GLB for textures or VTP for fields and point clouds.

Export failed due to missing fields

  • Explanation: The export process may fail if the mesh lacks necessary fields when using the "fields" mode.
  • Solution: Verify that the mesh contains the required fields or switch to a different mode that does not require field data.

Invalid opacity value

  • Explanation: Opacity values must be between 0.0 and 1.0; values outside this range can cause errors.
  • Solution: Check and correct the opacity values to ensure they are within the valid range.

Preview Mesh Dual 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.