Update resource.

This commit is contained in:
Connor Manning 2016-03-07 13:32:16 -06:00
parent db9546664c
commit edb270f0d6
4 changed files with 8 additions and 8 deletions

View File

@ -7357,7 +7357,7 @@ Potree.PointCloudGreyhoundGeometryNode.prototype.loadHierarchyThenPoints = funct
var child;
var childName;
keys.forEach(function(key) {
if (key !== 'count') {
if (key !== 'n') {
if (key === 'swd') {
child = base.swd;
childName = parentName+transform[0];
@ -7386,7 +7386,7 @@ Potree.PointCloudGreyhoundGeometryNode.prototype.loadHierarchyThenPoints = funct
stack.push({
children: makeBitMask(child),
numPoints: child.count,
numPoints: child.n,
name: childName
});
@ -7399,7 +7399,7 @@ Potree.PointCloudGreyhoundGeometryNode.prototype.loadHierarchyThenPoints = funct
var callback = function(node, greyhoundHierarchy){
var decoded = [];
node.numPoints = greyhoundHierarchy.count;
node.numPoints = greyhoundHierarchy.n;
parseChildrenCounts(greyhoundHierarchy, node.name, decoded);
var nodes = {};

File diff suppressed because one or more lines are too long

View File

@ -75,7 +75,7 @@
// Since this parameter to addPointCloud starts with the string
// 'greyhound://', it is recognised as a greyhound server URL.
viewer.addPointCloud(
"greyhound://http://localhost:8080/resource/autzen-calc/");
"greyhound://http://54.158.26.88/resource/autzen-h/");
viewer.loadGUI();

View File

@ -154,7 +154,7 @@ Potree.PointCloudGreyhoundGeometryNode.prototype.loadHierarchyThenPoints = funct
var child;
var childName;
keys.forEach(function(key) {
if (key !== 'count') {
if (key !== 'n') {
if (key === 'swd') {
child = base.swd;
childName = parentName+transform[0];
@ -183,7 +183,7 @@ Potree.PointCloudGreyhoundGeometryNode.prototype.loadHierarchyThenPoints = funct
stack.push({
children: makeBitMask(child),
numPoints: child.count,
numPoints: child.n,
name: childName
});
@ -196,7 +196,7 @@ Potree.PointCloudGreyhoundGeometryNode.prototype.loadHierarchyThenPoints = funct
var callback = function(node, greyhoundHierarchy){
var decoded = [];
node.numPoints = greyhoundHierarchy.count;
node.numPoints = greyhoundHierarchy.n;
parseChildrenCounts(greyhoundHierarchy, node.name, decoded);
var nodes = {};