Visit ComfyUI Online for ready-to-use ComfyUI environment
Facilitates custom 3D scene creation from JSON, includes external `.obj` model support for enhanced customization.
The RenderFormerFromJSON node is designed to facilitate the creation of custom 3D scenes by loading a scene definition from a JSON file. This node is particularly beneficial for AI artists who wish to construct complex scenes without delving into intricate coding. By providing a JSON file, you can define various elements of a scene, such as objects, lighting, and camera settings, in a structured format. Additionally, the node offers the flexibility to incorporate external 3D models in the form of .obj files, allowing for enhanced customization and detail in your scenes. This capability makes it a powerful tool for artists looking to experiment with and visualize different scene configurations efficiently.
The scene_json parameter is a multiline string input where you can provide the JSON definition of your scene. This JSON file should contain all the necessary details to construct the scene, such as object positions, lighting, and camera settings. The default value is a template JSON, which can be modified to suit your specific needs. This parameter is crucial as it forms the backbone of the scene you wish to create.
The add_default_background parameter is a boolean option that allows you to decide whether to include a default background in your scene. By default, this is set to False, meaning no background will be added unless specified. Enabling this option can provide a basic backdrop for your scene, which can be useful for quick visualizations or when a specific background is not defined in the JSON.
The additional_mesh_file parameter provides a dropdown list of available .obj files located in the input/3d directory. This allows you to select an additional 3D model to include in your scene. The list includes all .obj files found in the directory, sorted alphabetically, with an option for None if no additional mesh is desired. This parameter enhances the scene by allowing the integration of external 3D models.
The additional_mesh_path parameter is a string input where you can specify the absolute path to an .obj file. This is useful if the desired 3D model is not located in the default input/3d directory. By providing the full path, you can include any .obj file from your system, offering greater flexibility in scene creation.
The mesh_root_dir parameter is a string input that allows you to define an optional root directory for meshes referenced in the JSON. This can be particularly useful if your JSON file includes relative paths to 3D models, as it sets a base directory from which these paths are resolved. This parameter helps in organizing and managing the assets used in your scene.
The SCENE output parameter represents the constructed 3D scene based on the provided JSON definition and any additional meshes. This output is crucial as it is the final product of the node's operation, ready for rendering or further manipulation. The SCENE output encapsulates all the elements defined in the JSON, including objects, lighting, and camera settings, providing a comprehensive representation of the intended scene.
additional_mesh_file and additional_mesh_path parameters to enhance your scene with external 3D models, providing more detail and complexity.mesh_root_dir parameter to set a base directory, ensuring all assets are correctly located and loaded..obj file or JSON file cannot be found at the given path.additional_mesh_path or within the JSON are correct and that the files exist at those locations.mesh_root_dir is referenced in the JSON but not defined.mesh_root_dir parameter is set if your JSON file uses relative paths for meshes, or update the JSON to use absolute paths.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.