diff --git a/test/unit/visual/cases/webgl.js b/test/unit/visual/cases/webgl.js index 413820148c..61760ebdeb 100644 --- a/test/unit/visual/cases/webgl.js +++ b/test/unit/visual/cases/webgl.js @@ -35,9 +35,10 @@ visualSuite('WebGL', function() { }); }); - visualSuite('3D Model rendering', function() { + visualSuite('3DModel', function() { visualTest('OBJ model with MTL file displays diffuse colors correctly', function(p5, screenshot) { return new Promise(resolve => { + console.log('inside test'); p5.createCanvas(50, 50, p5.WEBGL); p5.loadModel('unit/assets/octa-color.obj', model => { p5.background(200); diff --git a/test/unit/visual/screenshots/WebGL/3DModel/OBJ model with MTL file displays diffuse colors correctly/000.png b/test/unit/visual/screenshots/WebGL/3DModel/OBJ model with MTL file displays diffuse colors correctly/000.png new file mode 100644 index 0000000000..0f583fec9d Binary files /dev/null and b/test/unit/visual/screenshots/WebGL/3DModel/OBJ model with MTL file displays diffuse colors correctly/000.png differ diff --git a/test/unit/visual/screenshots/WebGL/3DModel/OBJ model with MTL file displays diffuse colors correctly/metadata.json b/test/unit/visual/screenshots/WebGL/3DModel/OBJ model with MTL file displays diffuse colors correctly/metadata.json new file mode 100644 index 0000000000..2d4bfe30da --- /dev/null +++ b/test/unit/visual/screenshots/WebGL/3DModel/OBJ model with MTL file displays diffuse colors correctly/metadata.json @@ -0,0 +1,3 @@ +{ + "numScreenshots": 1 +} \ No newline at end of file