ComfyUI > Nodes > ComfyUI-Texturaizer > Get Render Data (Texturaizer)

ComfyUI Node: Get Render Data (Texturaizer)

Class Name

Texturaizer_GetRenderData

Category
Texturaizer
Author
LatentSpaceDirective (Account age: 523days)
Extension
ComfyUI-Texturaizer
Latest Updated
2025-12-15
Github Stars
0.02K

How to Install ComfyUI-Texturaizer

Install this extension via the ComfyUI Manager by searching for ComfyUI-Texturaizer
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI-Texturaizer 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

Get Render Data (Texturaizer) Description

Extracts render dimensions from JSON and calculates a hash to detect changes in settings.

Get Render Data (Texturaizer):

The Texturaizer_GetRenderData node is designed to extract rendering settings, specifically the width and height dimensions, from JSON data. This node is particularly useful for AI artists who need to ensure their render settings are consistent and up-to-date. By retrieving these dimensions, the node helps maintain the integrity of the rendering process, ensuring that the output matches the desired specifications. Additionally, the node calculates a hash based on the render dimensions, which serves as a mechanism to detect any changes in the render settings. This feature is crucial for workflows that require precise control over rendering parameters, as it allows users to quickly identify and respond to any modifications in the render setup.

Get Render Data (Texturaizer) Input Parameters:

directory_optional

This parameter allows you to specify a directory from which the JSON data should be retrieved. If left empty, the node will default to using the global directory. This flexibility is beneficial for users who manage multiple projects or datasets, as it enables them to easily switch between different data sources. There are no specific minimum or maximum values for this parameter, as it is a string representing a file path. The default value is an empty string, indicating the use of the global directory.

data_optional

This parameter provides an option to pass additional data directly to the node, which can be used instead of or in conjunction with the data retrieved from the specified directory. This is particularly useful for users who want to override or supplement the existing JSON data with custom settings. Like directory_optional, this parameter does not have specific minimum or maximum values, as it is a dictionary containing key-value pairs. The default value is an empty dictionary.

Get Render Data (Texturaizer) Output Parameters:

width

This output parameter represents the width dimension of the render settings extracted from the JSON data. It is an integer value that indicates the horizontal size of the rendered image. Understanding the width is essential for ensuring that the final output meets the desired specifications and fits within any constraints or requirements of the project.

height

Similar to the width, this output parameter represents the height dimension of the render settings. It is also an integer value, indicating the vertical size of the rendered image. Together with the width, the height defines the overall resolution of the render, which is a critical factor in determining the quality and detail of the final output.

data_hash

The data_hash is a string that serves as a unique identifier for the current render dimensions. It is calculated based on the width and height values and is used to detect any changes in the render settings. This feature is particularly useful for workflows that require consistency and precision, as it allows users to quickly identify when the render dimensions have been altered.

Get Render Data (Texturaizer) Usage Tips:

  • Ensure that the directory path provided in directory_optional is correct and accessible to avoid issues with data retrieval.
  • Use the data_optional parameter to test different render settings without altering the original JSON data, which can be useful for experimentation and optimization.

Get Render Data (Texturaizer) Common Errors and Solutions:

"KeyError: 'width'"

  • Explanation: This error occurs when the JSON data does not contain the expected width key within the scene_info section.
  • Solution: Verify that the JSON file is correctly formatted and includes the width key under scene_info. Ensure that the file path specified in directory_optional is correct.

"KeyError: 'height'"

  • Explanation: Similar to the width error, this occurs when the height key is missing from the JSON data.
  • Solution: Check the JSON file to ensure that the height key is present and correctly placed under scene_info. Confirm that the directory path is accurate.

"TypeError: 'NoneType' object is not subscriptable"

  • Explanation: This error may arise if the JSON data is not properly loaded, resulting in a None value being returned instead of a dictionary.
  • Solution: Ensure that the JSON file is correctly formatted and accessible. Double-check the directory path and any additional data provided in data_optional.

Get Render Data (Texturaizer) Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-Texturaizer
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.