Name
*
Code
{"properties":{"frame":0,"maxFrame":600,"maxFrameLocked":false,"realtimeState":true,"mainCameraNodePath":null,"versions":{"polygonjs":"1.1.253"}},"root":{"type":"root","nodes":{"geo1":{"type":"geo","nodes":{"material1":{"type":"material","params":{"material":"../MAT/meshStandard1"},"inputs":["switch1"]},"sphere1":{"type":"sphere"},"MAT":{"type":"materialsNetwork","nodes":{"meshStandard1":{"type":"meshStandard","params":{"useMap":true,"map":"../../../COP/imageUv","useEnvMap":true,"envMap":"../../../COP/envMap","metalness":0,"roughness":0.18}},"meshBasic1":{"type":"meshBasic","params":{"useMap":1,"map":"../../../COP/imageUv","doubleSided":1,"wireframe":1}}},"selection":["meshBasic1"]},"uvUnwrap1":{"type":"uvUnwrap","inputs":["material1"]},"point1":{"type":"point","params":{"updateX":true,"x":"@uv.x","updateY":true,"y":"@uv.y","updateZ":true,"z":0},"inputs":["material2"]},"transform1":{"type":"transform","params":{"t":[1.3106689253620882,0,0]},"inputs":["point1"]},"merge1":{"type":"merge","inputs":["uvUnwrap1","transform1"],"flags":{"display":true}},"material2":{"type":"material","params":{"material":"../MAT/meshBasic1"},"inputs":["uvUnwrap1"]},"box1":{"type":"box"},"switch1":{"type":"switch","params":{"input":3},"inputs":["sphere1","box1","roundedBox1","subnet1"]},"fileGLTF1":{"type":"fileGLTF","params":{"url":"https://raw.githubusercontent.com/polygonjs/polygonjs-assets/master/models/resources/threedscans.com/eagle.glb"}},"hierarchy1":{"type":"hierarchy","params":{"mode":1},"inputs":["fileGLTF1"]},"attribCreate1":{"type":"attribCreate","params":{"name":"uv","size":2},"inputs":["hierarchy1"]},"roundedBox1":{"type":"roundedBox"},"subnet1":{"type":"subnet","nodes":{"copy1":{"type":"copy","inputs":["box2","plane1"],"flags":{"display":true}},"box2":{"type":"box","params":{"size":0.2}},"plane1":{"type":"plane","params":{"stepSize":0.29071}},"transform2":{"type":"transform","inputs":["copy1"]},"hierarchy2":{"type":"hierarchy","params":{"mode":1},"inputs":["file1"]},"merge2":{"type":"merge","params":{"compact":true},"inputs":["transform3","transform2"]},"transform3":{"type":"transform","params":{"applyOn":1,"t":[0,0.18563204034600522,0]},"inputs":["hierarchy2"]},"file1":{"type":"fileOBJ","params":{"url":"https://raw.githubusercontent.com/polygonjs/polygonjs-assets/master/models/wolf.obj"}},"subnetOutput1":{"type":"subnetOutput","inputs":["merge2"]}},"selection":["copy1","box2","plane1","transform2","hierarchy2","merge2","transform3","file1"]}},"flags":{"display":true}},"hemisphereLight1":{"type":"hemisphereLight","flags":{"display":true}},"perspectiveCamera1":{"type":"perspectiveCamera","nodes":{"events1":{"type":"eventsNetwork","nodes":{"cameraOrbitControls1":{"type":"cameraOrbitControls","params":{"target":[1.0375540936705128,0.6312172340295198,-0.39594545165749084]}}},"selection":["cameraOrbitControls1"]}},"params":{"t":[0.2596230874594335,1.3657818594382842,4.248374521588986],"r":[-8.987683193960498,-9.394204309439026,-1.478848999068756],"controls":"./events1/cameraOrbitControls1"},"flags":{"display":true}},"COP":{"type":"copNetwork","nodes":{"imageEnv":{"type":"imageEXR","params":{"url":"https://raw.githubusercontent.com/polygonjs/polygonjs-assets/master/textures/piz_compressed.exr"}},"imageUv":{"type":"image","params":{"url":"https://raw.githubusercontent.com/polygonjs/polygonjs-assets/master/textures/uv.jpg","tflipY":true}},"envMap":{"type":"envMap","inputs":["imageEnv"]}}},"text":{"type":"geo","nodes":{"merge1":{"type":"merge","inputs":["transform1","transform2"],"flags":{"display":true}},"text1":{"type":"text","params":{"text":"object\nwith\nunwrapped uvs","type":2,"size":0.15}},"text2":{"type":"text","params":{"text":"unwrapped uvs:","type":2,"size":0.15}},"transform1":{"type":"transform","params":{"t":[-1.262637538184326,2.069394001599174,0]},"inputs":["text1"]},"transform2":{"type":"transform","params":{"t":[1.4726803373439064,1.6646336831420472,0]},"inputs":["text2"]}},"flags":{"display":true}}}},"ui":{"nodes":{"geo1":{"pos":[-50,-150],"nodes":{"material1":{"pos":[0,150]},"sphere1":{"pos":[-450,-350]},"MAT":{"pos":[-400,350],"nodes":{"meshStandard1":{"pos":[0,100]},"meshBasic1":{"pos":[0,250]}}},"uvUnwrap1":{"pos":[0,300]},"point1":{"pos":[100,600],"comment":"this point node uses an expression to set the uv values to the position."},"transform1":{"pos":[100,700]},"merge1":{"pos":[0,950]},"material2":{"pos":[100,500]},"box1":{"pos":[-300,-450]},"switch1":{"pos":[0,-100],"comment":"change the input param of this switch node to see how the uvUnwrap affects a different input geometry"},"fileGLTF1":{"pos":[550,-550]},"hierarchy1":{"pos":[550,-450]},"attribCreate1":{"pos":[550,-350],"comment":"processing the UVs of this geometry with the xatlas mode is very slow, so only plug this in the switch node when the uvUnwrap's mode is set to potpack"},"roundedBox1":{"pos":[-100,-450]},"subnet1":{"pos":[150,-350],"nodes":{"copy1":{"pos":[350,-450]},"box2":{"pos":[200,-600]},"plane1":{"pos":[400,-600]},"transform2":{"pos":[350,-350]},"hierarchy2":{"pos":[50,-500]},"merge2":{"pos":[150,-250]},"transform3":{"pos":[50,-400]},"file1":{"pos":[50,-650]},"subnetOutput1":{"pos":[100,-100]}}}}},"hemisphereLight1":{"pos":[150,100]},"perspectiveCamera1":{"pos":[-200,100],"nodes":{"events1":{"pos":[-200,50],"nodes":{"cameraOrbitControls1":{"pos":[150,50]}}}}},"COP":{"pos":[-200,200],"nodes":{"imageEnv":{"pos":[50,100]},"imageUv":{"pos":[-100,100]},"envMap":{"pos":[50,200]}}},"text":{"pos":[-50,-250],"nodes":{"merge1":{"pos":[0,250]},"text1":{"pos":[-150,-100]},"text2":{"pos":[200,-100]},"transform1":{"pos":[-150,50]},"transform2":{"pos":[200,50]}}}}}}
Code editor
{"multiple_panel":{"split_ratio":0.5,"split_panel0":{"split_ratio":0.6988372093023256,"split_panel0":{"panelTypes":["viewer"],"currentPanelIndex":0,"panel_data":{"camera":"/perspectiveCamera1","linkIndex":1}},"split_panel1":{"panelTypes":["params"],"currentPanelIndex":0,"panel_data":{"active_folder":null,"linkIndex":1}},"split_mode":"vertical"},"split_panel1":{"panelTypes":["network","params","viewer"],"currentPanelIndex":0,"panel_data":{"camera":{"position":{"x":-236.50952960223043,"y":-167.49992808425586},"zoom":0.49131000000000014},"history":{"2":{"position":{"x":-48,"y":-22},"zoom":0.8590000000000003},"3":{"position":{"x":-48,"y":-22},"zoom":0.5},"6":{"position":{"x":11.339999999999996,"y":-96.49999999999999},"zoom":0.6172839506172841},"9":{"position":{"x":-32,"y":-88},"zoom":0.5},"32":{"position":{"x":-236.50952960223043,"y":-167.49992808425586},"zoom":0.49131000000000014},"131":{"position":{"x":-59.04899999999998,"y":-65.1854},"zoom":0.8467543904215146},"156":{"position":{"x":-88.08933002481386,"y":-114.88833746898263},"zoom":0.8060000000000003},"182":{"position":{"x":0,"y":-250},"zoom":0.6120000000000001}},"linkIndex":1}},"split_mode":"horizontal"},"currentNodes":["/geo1","/","/","/","/","/","/","/"],"navigationHistory":{"nodePaths":{"1":["/","/geo1","/geo1/MAT","/geo1","/","/geo1","/geo1/MAT","/geo1","/geo1/MAT","/geo1","/geo1/MAT","/geo1"],"2":["/"],"3":["/"],"4":["/"],"5":["/"],"6":["/"],"7":["/"],"8":["/"]},"index":{"1":11,"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0}},"fullscreenPanelId":null,"saveOptions":{"createExport":true,"compressJs":true,"publishToIntegrations":false},"paramsModal":[]}
Used nodes
cop/envMap;cop/image;cop/imageEXR;event/cameraOrbitControls;mat/meshBasic;mat/meshStandard;obj/copNetwork;obj/geo;obj/hemisphereLight;obj/perspectiveCamera;sop/attribCreate;sop/box;sop/copy;sop/eventsNetwork;sop/fileGLTF;sop/fileOBJ;sop/hierarchy;sop/material;sop/materialsNetwork;sop/merge;sop/plane;sop/point;sop/roundedBox;sop/sphere;sop/subnet;sop/subnetOutput;sop/switch;sop/text;sop/transform;sop/uvUnwrap
Used operations
Used modules
Used assemblers
Used integrations
[]
Used assets
Nodes map
{"/geo1":"obj/geo","/geo1/material1":"sop/material","/geo1/sphere1":"sop/sphere","/geo1/MAT":"sop/materialsNetwork","/geo1/MAT/meshStandard1":"mat/meshStandard","/geo1/MAT/meshBasic1":"mat/meshBasic","/geo1/uvUnwrap1":"sop/uvUnwrap","/geo1/point1":"sop/point","/geo1/transform1":"sop/transform","/geo1/merge1":"sop/merge","/geo1/material2":"sop/material","/geo1/box1":"sop/box","/geo1/switch1":"sop/switch","/geo1/fileGLTF1":"sop/fileGLTF","/geo1/hierarchy1":"sop/hierarchy","/geo1/attribCreate1":"sop/attribCreate","/geo1/roundedBox1":"sop/roundedBox","/geo1/subnet1":"sop/subnet","/geo1/subnet1/copy1":"sop/copy","/geo1/subnet1/box2":"sop/box","/geo1/subnet1/plane1":"sop/plane","/geo1/subnet1/transform2":"sop/transform","/geo1/subnet1/hierarchy2":"sop/hierarchy","/geo1/subnet1/merge2":"sop/merge","/geo1/subnet1/transform3":"sop/transform","/geo1/subnet1/file1":"sop/fileOBJ","/geo1/subnet1/subnetOutput1":"sop/subnetOutput","/hemisphereLight1":"obj/hemisphereLight","/perspectiveCamera1":"obj/perspectiveCamera","/perspectiveCamera1/events1":"sop/eventsNetwork","/perspectiveCamera1/events1/cameraOrbitControls1":"event/cameraOrbitControls","/COP":"obj/copNetwork","/COP/imageEnv":"cop/imageEXR","/COP/imageUv":"cop/image","/COP/envMap":"cop/envMap","/text":"obj/geo","/text/merge1":"sop/merge","/text/text1":"sop/text","/text/text2":"sop/text","/text/transform1":"sop/transform","/text/transform2":"sop/transform"}
Js version
Editor version
Engine version
Name
*
Code
{"properties":{"frame":0,"maxFrame":600,"maxFrameLocked":false,"realtimeState":true,"mainCameraNodePath":null,"versions":{"polygonjs":"1.1.253"}},"root":{"type":"root","nodes":{"geo1":{"type":"geo","nodes":{"material1":{"type":"material","params":{"material":"../MAT/meshStandard1"},"inputs":["switch1"]},"sphere1":{"type":"sphere"},"MAT":{"type":"materialsNetwork","nodes":{"meshStandard1":{"type":"meshStandard","params":{"useMap":true,"map":"../../../COP/imageUv","useEnvMap":true,"envMap":"../../../COP/envMap","metalness":0,"roughness":0.18}},"meshBasic1":{"type":"meshBasic","params":{"useMap":1,"map":"../../../COP/imageUv","doubleSided":1,"wireframe":1}}},"selection":["meshBasic1"]},"uvUnwrap1":{"type":"uvUnwrap","inputs":["material1"]},"point1":{"type":"point","params":{"updateX":true,"x":"@uv.x","updateY":true,"y":"@uv.y","updateZ":true,"z":0},"inputs":["material2"]},"transform1":{"type":"transform","params":{"t":[1.3106689253620882,0,0]},"inputs":["point1"]},"merge1":{"type":"merge","inputs":["uvUnwrap1","transform1"],"flags":{"display":true}},"material2":{"type":"material","params":{"material":"../MAT/meshBasic1"},"inputs":["uvUnwrap1"]},"box1":{"type":"box"},"switch1":{"type":"switch","params":{"input":3},"inputs":["sphere1","box1","roundedBox1","subnet1"]},"fileGLTF1":{"type":"fileGLTF","params":{"url":"https://raw.githubusercontent.com/polygonjs/polygonjs-assets/master/models/resources/threedscans.com/eagle.glb"}},"hierarchy1":{"type":"hierarchy","params":{"mode":1},"inputs":["fileGLTF1"]},"attribCreate1":{"type":"attribCreate","params":{"name":"uv","size":2},"inputs":["hierarchy1"]},"roundedBox1":{"type":"roundedBox"},"subnet1":{"type":"subnet","nodes":{"copy1":{"type":"copy","inputs":["box2","plane1"],"flags":{"display":true}},"box2":{"type":"box","params":{"size":0.2}},"plane1":{"type":"plane","params":{"stepSize":0.29071}},"transform2":{"type":"transform","inputs":["copy1"]},"hierarchy2":{"type":"hierarchy","params":{"mode":1},"inputs":["file1"]},"merge2":{"type":"merge","params":{"compact":true},"inputs":["transform3","transform2"]},"transform3":{"type":"transform","params":{"applyOn":1,"t":[0,0.18563204034600522,0]},"inputs":["hierarchy2"]},"file1":{"type":"fileOBJ","params":{"url":"https://raw.githubusercontent.com/polygonjs/polygonjs-assets/master/models/wolf.obj"}},"subnetOutput1":{"type":"subnetOutput","inputs":["merge2"]}},"selection":["copy1","box2","plane1","transform2","hierarchy2","merge2","transform3","file1"]}},"flags":{"display":true}},"hemisphereLight1":{"type":"hemisphereLight","flags":{"display":true}},"perspectiveCamera1":{"type":"perspectiveCamera","nodes":{"events1":{"type":"eventsNetwork","nodes":{"cameraOrbitControls1":{"type":"cameraOrbitControls","params":{"target":[1.0375540936705128,0.6312172340295198,-0.39594545165749084]}}},"selection":["cameraOrbitControls1"]}},"params":{"t":[0.2596230874594335,1.3657818594382842,4.248374521588986],"r":[-8.987683193960498,-9.394204309439026,-1.478848999068756],"controls":"./events1/cameraOrbitControls1"},"flags":{"display":true}},"COP":{"type":"copNetwork","nodes":{"imageEnv":{"type":"imageEXR","params":{"url":"https://raw.githubusercontent.com/polygonjs/polygonjs-assets/master/textures/piz_compressed.exr"}},"imageUv":{"type":"image","params":{"url":"https://raw.githubusercontent.com/polygonjs/polygonjs-assets/master/textures/uv.jpg","tflipY":true}},"envMap":{"type":"envMap","inputs":["imageEnv"]}}},"text":{"type":"geo","nodes":{"merge1":{"type":"merge","inputs":["transform1","transform2"],"flags":{"display":true}},"text1":{"type":"text","params":{"text":"object\nwith\nunwrapped uvs","type":2,"size":0.15}},"text2":{"type":"text","params":{"text":"unwrapped uvs:","type":2,"size":0.15}},"transform1":{"type":"transform","params":{"t":[-1.262637538184326,2.069394001599174,0]},"inputs":["text1"]},"transform2":{"type":"transform","params":{"t":[1.4726803373439064,1.6646336831420472,0]},"inputs":["text2"]}},"flags":{"display":true}}}},"ui":{"nodes":{"geo1":{"pos":[-50,-150],"nodes":{"material1":{"pos":[0,150]},"sphere1":{"pos":[-450,-350]},"MAT":{"pos":[-400,350],"nodes":{"meshStandard1":{"pos":[0,100]},"meshBasic1":{"pos":[0,250]}}},"uvUnwrap1":{"pos":[0,300]},"point1":{"pos":[100,600],"comment":"this point node uses an expression to set the uv values to the position."},"transform1":{"pos":[100,700]},"merge1":{"pos":[0,950]},"material2":{"pos":[100,500]},"box1":{"pos":[-300,-450]},"switch1":{"pos":[0,-100],"comment":"change the input param of this switch node to see how the uvUnwrap affects a different input geometry"},"fileGLTF1":{"pos":[550,-550]},"hierarchy1":{"pos":[550,-450]},"attribCreate1":{"pos":[550,-350],"comment":"processing the UVs of this geometry with the xatlas mode is very slow, so only plug this in the switch node when the uvUnwrap's mode is set to potpack"},"roundedBox1":{"pos":[-100,-450]},"subnet1":{"pos":[150,-350],"nodes":{"copy1":{"pos":[350,-450]},"box2":{"pos":[200,-600]},"plane1":{"pos":[400,-600]},"transform2":{"pos":[350,-350]},"hierarchy2":{"pos":[50,-500]},"merge2":{"pos":[150,-250]},"transform3":{"pos":[50,-400]},"file1":{"pos":[50,-650]},"subnetOutput1":{"pos":[100,-100]}}}}},"hemisphereLight1":{"pos":[150,100]},"perspectiveCamera1":{"pos":[-200,100],"nodes":{"events1":{"pos":[-200,50],"nodes":{"cameraOrbitControls1":{"pos":[150,50]}}}}},"COP":{"pos":[-200,200],"nodes":{"imageEnv":{"pos":[50,100]},"imageUv":{"pos":[-100,100]},"envMap":{"pos":[50,200]}}},"text":{"pos":[-50,-250],"nodes":{"merge1":{"pos":[0,250]},"text1":{"pos":[-150,-100]},"text2":{"pos":[200,-100]},"transform1":{"pos":[-150,50]},"transform2":{"pos":[200,50]}}}}}}
Code editor
{"multiple_panel":{"split_ratio":0.5,"split_panel0":{"split_ratio":0.6988372093023256,"split_panel0":{"panelTypes":["viewer"],"currentPanelIndex":0,"panel_data":{"camera":"/perspectiveCamera1","linkIndex":1}},"split_panel1":{"panelTypes":["params"],"currentPanelIndex":0,"panel_data":{"active_folder":null,"linkIndex":1}},"split_mode":"vertical"},"split_panel1":{"panelTypes":["network","params","viewer"],"currentPanelIndex":0,"panel_data":{"camera":{"position":{"x":-236.50952960223043,"y":-167.49992808425586},"zoom":0.49131000000000014},"history":{"2":{"position":{"x":-48,"y":-22},"zoom":0.8590000000000003},"3":{"position":{"x":-48,"y":-22},"zoom":0.5},"6":{"position":{"x":11.339999999999996,"y":-96.49999999999999},"zoom":0.6172839506172841},"9":{"position":{"x":-32,"y":-88},"zoom":0.5},"32":{"position":{"x":-236.50952960223043,"y":-167.49992808425586},"zoom":0.49131000000000014},"131":{"position":{"x":-59.04899999999998,"y":-65.1854},"zoom":0.8467543904215146},"156":{"position":{"x":-88.08933002481386,"y":-114.88833746898263},"zoom":0.8060000000000003},"182":{"position":{"x":0,"y":-250},"zoom":0.6120000000000001}},"linkIndex":1}},"split_mode":"horizontal"},"currentNodes":["/geo1","/","/","/","/","/","/","/"],"navigationHistory":{"nodePaths":{"1":["/","/geo1","/geo1/MAT","/geo1","/","/geo1","/geo1/MAT","/geo1","/geo1/MAT","/geo1","/geo1/MAT","/geo1"],"2":["/"],"3":["/"],"4":["/"],"5":["/"],"6":["/"],"7":["/"],"8":["/"]},"index":{"1":11,"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0}},"fullscreenPanelId":null,"saveOptions":{"createExport":true,"compressJs":true,"publishToIntegrations":false},"paramsModal":[]}
Used nodes
cop/envMap;cop/image;cop/imageEXR;event/cameraOrbitControls;mat/meshBasic;mat/meshStandard;obj/copNetwork;obj/geo;obj/hemisphereLight;obj/perspectiveCamera;sop/attribCreate;sop/box;sop/copy;sop/eventsNetwork;sop/fileGLTF;sop/fileOBJ;sop/hierarchy;sop/material;sop/materialsNetwork;sop/merge;sop/plane;sop/point;sop/roundedBox;sop/sphere;sop/subnet;sop/subnetOutput;sop/switch;sop/text;sop/transform;sop/uvUnwrap
Used operations
Used modules
Used assemblers
Used integrations
[]
Used assets
Nodes map
{"/geo1":"obj/geo","/geo1/material1":"sop/material","/geo1/sphere1":"sop/sphere","/geo1/MAT":"sop/materialsNetwork","/geo1/MAT/meshStandard1":"mat/meshStandard","/geo1/MAT/meshBasic1":"mat/meshBasic","/geo1/uvUnwrap1":"sop/uvUnwrap","/geo1/point1":"sop/point","/geo1/transform1":"sop/transform","/geo1/merge1":"sop/merge","/geo1/material2":"sop/material","/geo1/box1":"sop/box","/geo1/switch1":"sop/switch","/geo1/fileGLTF1":"sop/fileGLTF","/geo1/hierarchy1":"sop/hierarchy","/geo1/attribCreate1":"sop/attribCreate","/geo1/roundedBox1":"sop/roundedBox","/geo1/subnet1":"sop/subnet","/geo1/subnet1/copy1":"sop/copy","/geo1/subnet1/box2":"sop/box","/geo1/subnet1/plane1":"sop/plane","/geo1/subnet1/transform2":"sop/transform","/geo1/subnet1/hierarchy2":"sop/hierarchy","/geo1/subnet1/merge2":"sop/merge","/geo1/subnet1/transform3":"sop/transform","/geo1/subnet1/file1":"sop/fileOBJ","/geo1/subnet1/subnetOutput1":"sop/subnetOutput","/hemisphereLight1":"obj/hemisphereLight","/perspectiveCamera1":"obj/perspectiveCamera","/perspectiveCamera1/events1":"sop/eventsNetwork","/perspectiveCamera1/events1/cameraOrbitControls1":"event/cameraOrbitControls","/COP":"obj/copNetwork","/COP/imageEnv":"cop/imageEXR","/COP/imageUv":"cop/image","/COP/envMap":"cop/envMap","/text":"obj/geo","/text/merge1":"sop/merge","/text/text1":"sop/text","/text/text2":"sop/text","/text/transform1":"sop/transform","/text/transform2":"sop/transform"}
Js version
Editor version
Engine version
Logout
0%
There was a problem displaying your scene:
view scene source