Skip to content

Commit

Permalink
pub sceses refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
phoenixbf committed Jun 23, 2024
1 parent 87c7eb6 commit 147788d
Show file tree
Hide file tree
Showing 21 changed files with 652 additions and 151 deletions.
Empty file removed data/scenes/samples/basic/pub.txt
Empty file.
2 changes: 1 addition & 1 deletion data/scenes/samples/basic/scene.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"status": "complete",
"visibility": 1,

"title": "Basic",

Expand Down
Empty file.
2 changes: 1 addition & 1 deletion data/scenes/samples/chrysippus-pacis/scene.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"status": "complete",
"visibility": 1,
"title": "Chrysippus head",
"environment": {
"mainpano": {
Expand Down
Empty file.
2 changes: 1 addition & 1 deletion data/scenes/samples/montebelluna/scene.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"status": "complete",
"visibility": 1,

"kwords":{
"site":1,
Expand Down
Empty file.
2 changes: 1 addition & 1 deletion data/scenes/samples/skyphos/scene.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"status":"complete","kwords":{"etruscan":1,"cup":1,"skyphoi":1,"object":1},"environment":{"mainpano":{"url":"samples/pano/defsky-grass.jpg"},"lightprobes":{"auto":true},"mainlight":{"direction":[-0.0846315900906896,-0.7511136796681608,-0.6547256938398531]}},"scenegraph":{"nodes":{"main":{"urls":["samples/models/skyphos/skyphos.gltf"]}},"edges":{".":["main"]}},"viewpoints":{"home":{"position":[0.2030486121138375,-0.6112775562963173,-0.21251107536408753],"target":[-0.09773774048842927,-0.8613044326500375,0.11431588319404228],"fov":50}},"semanticgraph":{"nodes":{"cracks":{"convexshapes":[[-0.1154,-0.7734,0.2436,-0.1034,-0.7835,0.2445,-0.09261,-0.7893,0.2465,-0.08837,-0.7952,0.2467,-0.08716,-0.8041,0.2463,-0.08807,-0.8108,0.2465,-0.09169,-0.8144,0.2464,-0.09895,-0.8221,0.2451,-0.1023,-0.8326,0.2452,-0.09772,-0.8397,0.2446,-0.09566,-0.8447,0.2441,-0.09493,-0.8555,0.2431,-0.09672,-0.8593,0.2446,-0.1031,-0.8739,0.2414,-0.1103,-0.8813,0.2384,-0.1048,-0.8862,0.2369,-0.09653,-0.8842,0.2381,-0.09623,-0.8778,0.2398,-0.09371,-0.8663,0.2426,-0.08719,-0.8424,0.2454,-0.08048,-0.826,0.2459,-0.0718,-0.8121,0.2449,-0.06263,-0.7991,0.2432,-0.05752,-0.7902,0.2419,-0.05296,-0.7824,0.2399,-0.04833,-0.7754,0.2382,-0.05453,-0.7761,0.2231,-0.05103,-0.7711,0.2323,-0.04922,-0.7716,0.2338,-0.1115,-0.7721,0.2348,-0.1074,-0.7765,0.2312,-0.1154,-0.7714,0.2403],[-0.1813,-0.8113,0.04264,-0.1748,-0.818,0.03519,-0.1857,-0.8285,0.04585,-0.1954,-0.8372,0.05923,-0.1988,-0.8403,0.06515,-0.1974,-0.835,0.06318,-0.1938,-0.8274,0.05603,-0.1887,-0.8213,0.04957,-0.1864,-0.8174,0.04727,-0.1924,-0.8349,0.07227,-0.1766,-0.8117,0.04897,-0.1767,-0.8236,0.04925,-0.1888,-0.8375,0.06691,-0.1698,-0.8196,0.04173],[-0.003827,-0.8701,0.0409,0.003398,-0.88,0.0511,0.01026,-0.8772,0.05957,0.003496,-0.8899,0.05806,-0.004547,-0.9051,0.05249,-0.008519,-0.9084,0.05045,-0.01196,-0.915,0.05093,-0.02162,-0.9328,0.05623,-0.03013,-0.9395,0.05466,-0.03652,-0.9453,0.05219,-0.04583,-0.9536,0.05125,-0.04329,-0.9448,0.04883,-0.03484,-0.9301,0.04387,-0.02815,-0.9188,0.04123,-0.009772,-0.8714,0.0505,-0.0009572,-0.8797,0.06329,-0.03498,-0.9153,0.05041,-0.04336,-0.9329,0.05557,-0.003081,-0.8699,0.05583]]}},"edges":{".":["cracks"]}},"description":"\"<p style=\\\"text-align: left;\\\">\\n\\n<!--StartFragment--><span style=\\\"text-align: justify; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;\\\">Multi-view photogrammetric acquisition of the museum artifacts -&nbsp;</span><span style=\\\"orphans: 2; text-align: justify; text-indent: 0px; widows: 2; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; float: none; display: inline !important;\\\"><b>Etruscan <i>skyphos</i></b><i> </i>from the the Archeological Museum of Fara in Sabina, Italy). Model created by CNR-ISPC (D. Ferdani) within<span>&nbsp;</span></span><a href=\\\"https://www.ispc.cnr.it/it_it/2019/09/01/innova-patrimonio/\\\" style=\\\"orphans: 2; text-align: justify; text-indent: 0px; widows: 2;\\\">Innova Patrimonio</a><span style=\\\"orphans: 2; text-align: justify; text-indent: 0px; widows: 2; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; float: none; display: inline !important;\\\">, a research project funded by Regione Lazio.</span></p><p class=\\\"sceditor-nlf\\\"><br></p>\"","title":"Skyphos"}
{"visibility": 1,"kwords":{"etruscan":1,"cup":1,"skyphoi":1,"object":1},"environment":{"mainpano":{"url":"samples/pano/defsky-grass.jpg"},"lightprobes":{"auto":true},"mainlight":{"direction":[-0.0846315900906896,-0.7511136796681608,-0.6547256938398531]}},"scenegraph":{"nodes":{"main":{"urls":["samples/models/skyphos/skyphos.gltf"]}},"edges":{".":["main"]}},"viewpoints":{"home":{"position":[0.2030486121138375,-0.6112775562963173,-0.21251107536408753],"target":[-0.09773774048842927,-0.8613044326500375,0.11431588319404228],"fov":50}},"semanticgraph":{"nodes":{"cracks":{"convexshapes":[[-0.1154,-0.7734,0.2436,-0.1034,-0.7835,0.2445,-0.09261,-0.7893,0.2465,-0.08837,-0.7952,0.2467,-0.08716,-0.8041,0.2463,-0.08807,-0.8108,0.2465,-0.09169,-0.8144,0.2464,-0.09895,-0.8221,0.2451,-0.1023,-0.8326,0.2452,-0.09772,-0.8397,0.2446,-0.09566,-0.8447,0.2441,-0.09493,-0.8555,0.2431,-0.09672,-0.8593,0.2446,-0.1031,-0.8739,0.2414,-0.1103,-0.8813,0.2384,-0.1048,-0.8862,0.2369,-0.09653,-0.8842,0.2381,-0.09623,-0.8778,0.2398,-0.09371,-0.8663,0.2426,-0.08719,-0.8424,0.2454,-0.08048,-0.826,0.2459,-0.0718,-0.8121,0.2449,-0.06263,-0.7991,0.2432,-0.05752,-0.7902,0.2419,-0.05296,-0.7824,0.2399,-0.04833,-0.7754,0.2382,-0.05453,-0.7761,0.2231,-0.05103,-0.7711,0.2323,-0.04922,-0.7716,0.2338,-0.1115,-0.7721,0.2348,-0.1074,-0.7765,0.2312,-0.1154,-0.7714,0.2403],[-0.1813,-0.8113,0.04264,-0.1748,-0.818,0.03519,-0.1857,-0.8285,0.04585,-0.1954,-0.8372,0.05923,-0.1988,-0.8403,0.06515,-0.1974,-0.835,0.06318,-0.1938,-0.8274,0.05603,-0.1887,-0.8213,0.04957,-0.1864,-0.8174,0.04727,-0.1924,-0.8349,0.07227,-0.1766,-0.8117,0.04897,-0.1767,-0.8236,0.04925,-0.1888,-0.8375,0.06691,-0.1698,-0.8196,0.04173],[-0.003827,-0.8701,0.0409,0.003398,-0.88,0.0511,0.01026,-0.8772,0.05957,0.003496,-0.8899,0.05806,-0.004547,-0.9051,0.05249,-0.008519,-0.9084,0.05045,-0.01196,-0.915,0.05093,-0.02162,-0.9328,0.05623,-0.03013,-0.9395,0.05466,-0.03652,-0.9453,0.05219,-0.04583,-0.9536,0.05125,-0.04329,-0.9448,0.04883,-0.03484,-0.9301,0.04387,-0.02815,-0.9188,0.04123,-0.009772,-0.8714,0.0505,-0.0009572,-0.8797,0.06329,-0.03498,-0.9153,0.05041,-0.04336,-0.9329,0.05557,-0.003081,-0.8699,0.05583]]}},"edges":{".":["cracks"]}},"description":"\"<p style=\\\"text-align: left;\\\">\\n\\n<!--StartFragment--><span style=\\\"text-align: justify; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;\\\">Multi-view photogrammetric acquisition of the museum artifacts -&nbsp;</span><span style=\\\"orphans: 2; text-align: justify; text-indent: 0px; widows: 2; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; float: none; display: inline !important;\\\"><b>Etruscan <i>skyphos</i></b><i> </i>from the the Archeological Museum of Fara in Sabina, Italy). Model created by CNR-ISPC (D. Ferdani) within<span>&nbsp;</span></span><a href=\\\"https://www.ispc.cnr.it/it_it/2019/09/01/innova-patrimonio/\\\" style=\\\"orphans: 2; text-align: justify; text-indent: 0px; widows: 2;\\\">Innova Patrimonio</a><span style=\\\"orphans: 2; text-align: justify; text-indent: 0px; widows: 2; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; float: none; display: inline !important;\\\">, a research project funded by Regione Lazio.</span></p><p class=\\\"sceditor-nlf\\\"><br></p>\"","title":"Skyphos"}
Empty file removed data/scenes/samples/venus/pub.txt
Empty file.
2 changes: 1 addition & 1 deletion data/scenes/samples/venus/scene.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"kwords":{"statue":1},"scenegraph":{"nodes":{"main":{"urls":"samples/models/venus/venus.gltf","transform":{"scale":[0.1,0.1,0.1]}}},"edges":{".":["main"]}},"viewpoints":{"home":{"position":[-3.0304413507500674,1.3789424085157609,-0.11158457864907774],"target":[-0.13591872302416835,1.2619508420495598,0.04059729034329272],"fov":50}},"title":"Venus","semanticgraph":{"nodes":{"face":{"convexshapes":[[-0.226,2.0971,0.0317,-0.18821,2.0801,0.0050417,-0.13799,2.0494,-0.0058179,-0.12781,2.0171,0.00815,-0.1217,1.994,0.03274,-0.1127,1.988,0.04521,-0.09594,2.003,0.0686,-0.08489,2.025,0.07753,-0.08042,2.052,0.08471,-0.0864,2.06,0.09129,-0.1176,2.069,0.1175,-0.118,2.095,0.1221,-0.1371,2.092,0.1325,-0.1757,2.097,0.1445,-0.1966,2.099,0.1411,-0.2083,2.103,0.1362,-0.2154,2.101,0.1283,-0.2414,2.098,0.08149,-0.2437,2.101,0.05868,-0.2355,2.101,0.04358,-0.2256,2.1,0.03439,-0.211,2.022,0.09114,-0.2388,2.077,0.04924,-0.1796,2.081,0.1475,-0.1477,2.027,0.1179,-0.1404,2.058,0.1345,-0.1759,1.987,0.07091,-0.1666,1.976,0.0686,-0.1639,1.979,0.0793,-0.1702,2.007,0.021,-0.1977,2.058,0.006275,-0.1637,1.985,0.0392]]},"arm_right":{"convexshapes":[[0.075577,1.9047,-0.14633,-0.0024429,1.8882,-0.18132,-0.016718,1.862,-0.17478,-0.018685,1.809,-0.12789,0.002349,1.77,-0.1182,0.04216,1.746,-0.1097,0.06677,1.743,-0.09965,0.08684,1.706,-0.1234,0.09911,1.672,-0.1417,0.1075,1.648,-0.1556,0.1098,1.609,-0.1811,0.126,1.599,-0.1831,0.1733,1.644,-0.1759,0.1802,1.662,-0.1829,0.1634,1.632,-0.1653,0.167,1.609,-0.1947,0.1815,1.622,-0.2098,0.1892,1.652,-0.2167,0.1776,1.692,-0.1983,0.1644,1.723,-0.1902,0.1471,1.767,-0.173,0.08082,1.896,-0.1578,0.05381,1.892,-0.1852,0.04455,1.903,-0.1806,0.01086,1.921,-0.1725,0.05777,1.923,-0.1497,-0.01748,1.883,-0.1726,-0.03408,1.836,-0.1548,0.02858,1.839,-0.2036,0.1078,1.668,-0.2457,0.05477,1.706,-0.2135,0.1483,1.69,-0.2412,0.02953,1.709,-0.1939,0.09313,1.628,-0.2194,0.1661,1.604,-0.2212,0.1809,1.647,-0.2366,0.1398,1.595,-0.209,0.1521,1.599,-0.171]]},"foot":{"convexshapes":[[0.060408,0.62871,-0.0030438,0.0025534,0.63656,-0.016049,-0.027329,0.64692,0.02662,0.0016029,0.63744,0.058493,0.04592,0.5598,0.06844,-0.001405,0.5461,0.0661,-0.02146,0.5389,0.05027,-0.1079,0.5123,0.0425,-0.113,0.4966,0.04104,-0.1339,0.4946,0.03704,-0.1549,0.477,0.0153,-0.1522,0.4782,0.004289,-0.1321,0.4886,-0.02959,-0.1286,0.4904,-0.0318,-0.1657,0.4929,0.01936,-0.152,0.4816,0.03443,-0.1558,0.4819,0.0322,-0.1583,0.494,0.03449,-0.1454,0.4948,-0.03228,-0.1326,0.5057,-0.0308,-0.07766,0.5017,-0.05694,-0.03876,0.5115,-0.04982,0.03195,0.5369,-0.03277,0.06889,0.5665,0.001597,0.07596,0.5766,0.006939,0.03678,0.6215,0.06284,0.01144,0.6289,0.06568,0.04424,0.6222,0.06575,0.04775,0.5624,0.07445,0.07345,0.5565,0.00443,0.04585,0.6276,0.06132,0.04566,0.5498,0.06758,-0.1466,0.4753,0.02399]]}},"edges":{".":["face","arm_right","foot"]}}}
{"visibility": 1,"kwords":{"statue":1},"scenegraph":{"nodes":{"main":{"urls":"samples/models/venus/venus.gltf","transform":{"scale":[0.1,0.1,0.1]}}},"edges":{".":["main"]}},"viewpoints":{"home":{"position":[-3.0304413507500674,1.3789424085157609,-0.11158457864907774],"target":[-0.13591872302416835,1.2619508420495598,0.04059729034329272],"fov":50}},"title":"Venus","semanticgraph":{"nodes":{"face":{"convexshapes":[[-0.226,2.0971,0.0317,-0.18821,2.0801,0.0050417,-0.13799,2.0494,-0.0058179,-0.12781,2.0171,0.00815,-0.1217,1.994,0.03274,-0.1127,1.988,0.04521,-0.09594,2.003,0.0686,-0.08489,2.025,0.07753,-0.08042,2.052,0.08471,-0.0864,2.06,0.09129,-0.1176,2.069,0.1175,-0.118,2.095,0.1221,-0.1371,2.092,0.1325,-0.1757,2.097,0.1445,-0.1966,2.099,0.1411,-0.2083,2.103,0.1362,-0.2154,2.101,0.1283,-0.2414,2.098,0.08149,-0.2437,2.101,0.05868,-0.2355,2.101,0.04358,-0.2256,2.1,0.03439,-0.211,2.022,0.09114,-0.2388,2.077,0.04924,-0.1796,2.081,0.1475,-0.1477,2.027,0.1179,-0.1404,2.058,0.1345,-0.1759,1.987,0.07091,-0.1666,1.976,0.0686,-0.1639,1.979,0.0793,-0.1702,2.007,0.021,-0.1977,2.058,0.006275,-0.1637,1.985,0.0392]]},"arm_right":{"convexshapes":[[0.075577,1.9047,-0.14633,-0.0024429,1.8882,-0.18132,-0.016718,1.862,-0.17478,-0.018685,1.809,-0.12789,0.002349,1.77,-0.1182,0.04216,1.746,-0.1097,0.06677,1.743,-0.09965,0.08684,1.706,-0.1234,0.09911,1.672,-0.1417,0.1075,1.648,-0.1556,0.1098,1.609,-0.1811,0.126,1.599,-0.1831,0.1733,1.644,-0.1759,0.1802,1.662,-0.1829,0.1634,1.632,-0.1653,0.167,1.609,-0.1947,0.1815,1.622,-0.2098,0.1892,1.652,-0.2167,0.1776,1.692,-0.1983,0.1644,1.723,-0.1902,0.1471,1.767,-0.173,0.08082,1.896,-0.1578,0.05381,1.892,-0.1852,0.04455,1.903,-0.1806,0.01086,1.921,-0.1725,0.05777,1.923,-0.1497,-0.01748,1.883,-0.1726,-0.03408,1.836,-0.1548,0.02858,1.839,-0.2036,0.1078,1.668,-0.2457,0.05477,1.706,-0.2135,0.1483,1.69,-0.2412,0.02953,1.709,-0.1939,0.09313,1.628,-0.2194,0.1661,1.604,-0.2212,0.1809,1.647,-0.2366,0.1398,1.595,-0.209,0.1521,1.599,-0.171]]},"foot":{"convexshapes":[[0.060408,0.62871,-0.0030438,0.0025534,0.63656,-0.016049,-0.027329,0.64692,0.02662,0.0016029,0.63744,0.058493,0.04592,0.5598,0.06844,-0.001405,0.5461,0.0661,-0.02146,0.5389,0.05027,-0.1079,0.5123,0.0425,-0.113,0.4966,0.04104,-0.1339,0.4946,0.03704,-0.1549,0.477,0.0153,-0.1522,0.4782,0.004289,-0.1321,0.4886,-0.02959,-0.1286,0.4904,-0.0318,-0.1657,0.4929,0.01936,-0.152,0.4816,0.03443,-0.1558,0.4819,0.0322,-0.1583,0.494,0.03449,-0.1454,0.4948,-0.03228,-0.1326,0.5057,-0.0308,-0.07766,0.5017,-0.05694,-0.03876,0.5115,-0.04982,0.03195,0.5369,-0.03277,0.06889,0.5665,0.001597,0.07596,0.5766,0.006939,0.03678,0.6215,0.06284,0.01144,0.6289,0.06568,0.04424,0.6222,0.06575,0.04775,0.5624,0.07445,0.07345,0.5565,0.00443,0.04585,0.6276,0.06132,0.04566,0.5498,0.06758,-0.1466,0.4753,0.02399]]}},"edges":{".":["face","arm_right","foot"]}}}
Empty file.
2 changes: 1 addition & 1 deletion data/scenes/samples/welcome/scene.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"status": "complete",
"visibility": 1,
"title": "Welcome",
"navmode": 0,

Expand Down
Loading

0 comments on commit 147788d

Please sign in to comment.