Permalink
Browse files

added ref tests, one failure. Need to file a separate bug for that.

  • Loading branch information...
1 parent bcaf8f1 commit 761ae82499f1f7a0d742e13998935382891e5d7f Andor Salga committed Jul 13, 2011
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@@ -0,0 +1,19 @@
+function start(cvs, cb){
+ var ps = new PointStream();
+ ps.setup(cvs);
+ ps.pointSize(2);
+ ps.onRender = function(){
+ if(pointCloud.status === 3){
+ ps.background([0.9, 0.5, 0.4, 1]);
+ ps.clear();
+
+ var c = pointCloud.getCenter();
+
+ ps.translate(-c[0], -c[1], -c[2]-55);
+ ps.render(pointCloud);
+ cb();
+ ps.onRender = function(){};
+ }
+ };
+ var pointCloud = ps.load('../../clouds/mask_18K.psi');
+}
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@@ -0,0 +1,19 @@
+function start(cvs, cb){
+ var ps = new PointStream();
+ ps.setup(cvs);
+ ps.pointSize(1);
+ ps.onRender = function(){
+ if(pointCloud.status === 3){
+ ps.background([0.9, 0.5, 0.4, 1]);
+ ps.clear();
+
+ var c = pointCloud.getCenter();
+
+ ps.translate(-c[0], -c[1], -c[2]-55);
+ ps.render(pointCloud);
+ cb();
+ ps.onRender = function(){};
+ }
+ };
+ var pointCloud = ps.load('../../clouds/mask_273K.psi');
+}
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@@ -0,0 +1,19 @@
+function start(cvs, cb){
+ var ps = new PointStream();
+ ps.setup(cvs);
+ ps.pointSize(1);
+ ps.onRender = function(){
+ if(pointCloud.status === 3){
+ ps.background([0.9, 0.5, 0.4, 1]);
+ ps.clear();
+
+ var c = pointCloud.getCenter();
+
+ ps.translate(-c[0], -c[1], -c[2]-55);
+ ps.render(pointCloud);
+ cb();
+ ps.onRender = function(){};
+ }
+ };
+ var pointCloud = ps.load('../../clouds/mask_70K.psi');
+}
View
@@ -232,13 +232,48 @@
"src" : { "url" : "resources/ariusman_842K_n/psi.js", "type" : "script" },
"run": "start"
}
- }
-
+ },
+ {
+ "name": "mask_70K.psi",
+ "tag": "PSI2",
+ "note": "70,139 points (XYZ RGB)",
+ "firstCanvas" : {
+ "src" : { "url" : "resources/mask_70K/70K.png", "type" : "image" }
+ },
+ "secondCanvas" : {
+ "src" : { "url" : "resources/mask_70K/psi.js", "type" : "script" },
+ "run": "start"
+ }
+ },
+ {
+ "name": "mask_18K.psi",
+ "tag": "PSI2",
+ "note": "17,656 points (XYZ RGB)",
+ "firstCanvas" : {
+ "src" : { "url" : "resources/mask_18K/18K.png", "type" : "image" }
+ },
+ "secondCanvas" : {
+ "src" : { "url" : "resources/mask_18K/psi.js", "type" : "script" },
+ "run": "start"
+ }
+ },
+ {
+ "name": "mask_273K.psi",
+ "tag": "PSI2",
+ "note": "273,545 points (XYZ RGB)",
+ "firstCanvas" : {
+ "src" : { "url" : "resources/mask_273K/70K.png", "type" : "image" }
+ },
+ "secondCanvas" : {
+ "src" : { "url" : "resources/mask_273K/psi.js", "type" : "script" },
+ "run": "start"
+ }
+ }
/*{
"name": "User shader",

0 comments on commit 761ae82

Please sign in to comment.