Nodes/ComfyUI_PHRenderFormerWrapper/RenderFormer From JSON
ComfyUI Node

RenderFormer From JSON

A ComfyUI node in PHRenderFormer with 5 inputs and 1 output.

By paulh4x·Created about a year ago·Updated about a year ago· 37
RenderFormer From JSON
    • SCENE
    scene_json{ "scene_name": "initial template", "version": "1.0", "objects": { "background_0": { "mesh_path": "templates/backgrounds/plane.obj", "transform": { "translation": [ 0.0, 0.0, 0.0 ], "rotation": [ 0.0, 0.0, 0.0 ], "scale": [ 0.5, 0.5, 0.5 ], "normalize": false }, "material": { "diffuse": [ 0.4, 0.4, 0.4 ], "specular": [ 0.0, 0.0, 0.0 ], "random_diffuse_max": 0.4, "roughness": 0.99, "emissive": [ 0.0, 0.0, 0.0 ], "smooth_shading": true, "rand_tri_diffuse_seed": null } }, "background_1": { "mesh_path": "templates/backgrounds/wall0.obj", "transform": { "translation": [ 0.0, 0.0, 0.0 ], "rotation": [ 0.0, 0.0, 0.0 ], "scale": [ 0.5, 0.5, 0.5 ], "normalize": false }, "material": { "diffuse": [ 0.4, 0.4, 0.4 ], "specular": [ 0.0, 0.0, 0.0 ], "random_diffuse_max": 0.4, "roughness": 0.99, "emissive": [ 0.0, 0.0, 0.0 ], "smooth_shading": true, "rand_tri_diffuse_seed": null } }, "background_2": { "mesh_path": "templates/backgrounds/wall1.obj", "transform": { "translation": [ 0.0, 0.0, 0.0 ], "rotation": [ 0.0, 0.0, 0.0 ], "scale": [ 0.5, 0.5, 0.5 ], "normalize": false }, "material": { "diffuse": [ 0.4, 0.4, 0.4 ], "specular": [ 0.0, 0.0, 0.0 ], "random_diffuse_max": 0.5, "roughness": 0.99, "emissive": [ 0.0, 0.0, 0.0 ], "smooth_shading": true, "rand_tri_diffuse_seed": null } }, "background_3": { "mesh_path": "templates/backgrounds/wall2.obj", "transform": { "translation": [ 0.0, 0.0, 0.0 ], "rotation": [ 0.0, 0.0, 0.0 ], "scale": [ 0.5, 0.5, 0.5 ], "normalize": false }, "material": { "diffuse": [ 0.4, 0.4, 0.4 ], "specular": [ 0.0, 0.0, 0.0 ], "random_diffuse_max": 0.5, "roughness": 0.99, "emissive": [ 0.0, 0.0, 0.0 ], "smooth_shading": false, "rand_tri_diffuse_seed": null } }, "light_0": { "mesh_path": "templates/lighting/tri.obj", "transform": { "translation": [ 0.0, 0.0, 2.1 ], "rotation": [ 0.0, 0.0, 0.0 ], "scale": [ 2.5, 2.5, 2.5 ], "normalize": false }, "material": { "diffuse": [ 1.0, 1.0, 1.0 ], "specular": [ 0.0, 0.0, 0.0 ], "random_diffuse_max": 0.0, "roughness": 1.0, "emissive": [ 5000.0, 5000.0, 5000.0 ], "smooth_shading": false, "rand_tri_diffuse_seed": null } } }, "cameras": [ { "position": [ 0.0, -2.0, 0.0 ], "look_at": [ 0.0, 0.0, 0.0 ], "up": [ 0.0, 0.0, 1.0 ], "fov": 37.5 } ] }
    add_default_backgroundfalse
    additional_mesh_file
    additional_mesh_path
    mesh_root_dir
    CategoryPHRenderFormer

    Inputs (5)

    NameTypeDefaultDescription
    scene_jsonSTRING{ "scene_name": "initial template", "version": "1.0", "objects": { "background_0": { "mesh_path": "templates/backgrounds/plane.obj", "transform": { "translation": [ 0.0, 0.0, 0.0 ], "rotation": [ 0.0, 0.0, 0.0 ], "scale": [ 0.5, 0.5, 0.5 ], "normalize": false }, "material": { "diffuse": [ 0.4, 0.4, 0.4 ], "specular": [ 0.0, 0.0, 0.0 ], "random_diffuse_max": 0.4, "roughness": 0.99, "emissive": [ 0.0, 0.0, 0.0 ], "smooth_shading": true, "rand_tri_diffuse_seed": null } }, "background_1": { "mesh_path": "templates/backgrounds/wall0.obj", "transform": { "translation": [ 0.0, 0.0, 0.0 ], "rotation": [ 0.0, 0.0, 0.0 ], "scale": [ 0.5, 0.5, 0.5 ], "normalize": false }, "material": { "diffuse": [ 0.4, 0.4, 0.4 ], "specular": [ 0.0, 0.0, 0.0 ], "random_diffuse_max": 0.4, "roughness": 0.99, "emissive": [ 0.0, 0.0, 0.0 ], "smooth_shading": true, "rand_tri_diffuse_seed": null } }, "background_2": { "mesh_path": "templates/backgrounds/wall1.obj", "transform": { "translation": [ 0.0, 0.0, 0.0 ], "rotation": [ 0.0, 0.0, 0.0 ], "scale": [ 0.5, 0.5, 0.5 ], "normalize": false }, "material": { "diffuse": [ 0.4, 0.4, 0.4 ], "specular": [ 0.0, 0.0, 0.0 ], "random_diffuse_max": 0.5, "roughness": 0.99, "emissive": [ 0.0, 0.0, 0.0 ], "smooth_shading": true, "rand_tri_diffuse_seed": null } }, "background_3": { "mesh_path": "templates/backgrounds/wall2.obj", "transform": { "translation": [ 0.0, 0.0, 0.0 ], "rotation": [ 0.0, 0.0, 0.0 ], "scale": [ 0.5, 0.5, 0.5 ], "normalize": false }, "material": { "diffuse": [ 0.4, 0.4, 0.4 ], "specular": [ 0.0, 0.0, 0.0 ], "random_diffuse_max": 0.5, "roughness": 0.99, "emissive": [ 0.0, 0.0, 0.0 ], "smooth_shading": false, "rand_tri_diffuse_seed": null } }, "light_0": { "mesh_path": "templates/lighting/tri.obj", "transform": { "translation": [ 0.0, 0.0, 2.1 ], "rotation": [ 0.0, 0.0, 0.0 ], "scale": [ 2.5, 2.5, 2.5 ], "normalize": false }, "material": { "diffuse": [ 1.0, 1.0, 1.0 ], "specular": [ 0.0, 0.0, 0.0 ], "random_diffuse_max": 0.0, "roughness": 1.0, "emissive": [ 5000.0, 5000.0, 5000.0 ], "smooth_shading": false, "rand_tri_diffuse_seed": null } } }, "cameras": [ { "position": [ 0.0, -2.0, 0.0 ], "look_at": [ 0.0, 0.0, 0.0 ], "up": [ 0.0, 0.0, 1.0 ], "fov": 37.5 } ] }
    add_default_backgroundBOOLEANfalse
    additional_mesh_fileoptCOMBO1 options: None
    additional_mesh_pathoptSTRINGAbsolute path to an .obj file
    mesh_root_diroptSTRINGOptional root directory for meshes in the JSON

    Outputs (1)

    NameTypeDescription
    SCENESCENE