From 713b333e00109d776722db00201254138d0a226c Mon Sep 17 00:00:00 2001 From: creyc Date: Tue, 30 Sep 2014 14:13:16 -0400 Subject: [PATCH] Adding fallback model for canvas renderer --- resources/models/fallback.js | 149 +++++++++++++++++++++++++++++++++++ 1 file changed, 149 insertions(+) create mode 100644 resources/models/fallback.js diff --git a/resources/models/fallback.js b/resources/models/fallback.js new file mode 100644 index 00000000..6711cb6c --- /dev/null +++ b/resources/models/fallback.js @@ -0,0 +1,149 @@ +{ + + "metadata" : + { + "license" : "Copyright Corey Schiller 2014. All rights reserved. Used with permission for Baseflight Configurator", + "formatVersion" : 3.1, + "generatedBy" : "Blender 2.7 Exporter", + "vertices" : 8, + "faces" : 6, + "normals" : 8, + "colors" : 0, + "uvs" : [], + "materials" : 6, + "morphTargets" : 0, + "bones" : 0 + }, + + "scale" : 1.000000, + + "materials" : [ { + "DbgColor" : 15658734, + "DbgIndex" : 0, + "DbgName" : "Right", + "blending" : "NormalBlending", + "colorAmbient" : [0.800000011920929, 0.026483822263536183, 0.026483822263536183], + "colorDiffuse" : [0.800000011920929, 0.026483822263536183, 0.026483822263536183], + "colorEmissive" : [0.46399999356269817, 0.015360616470854517, 0.015360616470854517], + "colorSpecular" : [0.5, 0.5, 0.5], + "depthTest" : true, + "depthWrite" : true, + "shading" : "Lambert", + "specularCoef" : 50, + "transparency" : 1.0, + "transparent" : false, + "vertexColors" : false + }, + + { + "DbgColor" : 15597568, + "DbgIndex" : 1, + "DbgName" : "Left", + "blending" : "NormalBlending", + "colorAmbient" : [0.800000011920929, 0.19696111972572083, 0.0], + "colorDiffuse" : [0.800000011920929, 0.19696111972572083, 0.0], + "colorEmissive" : [0.46399999356269817, 0.11423744615377476, 0.0], + "colorSpecular" : [0.5, 0.5, 0.5], + "depthTest" : true, + "depthWrite" : true, + "shading" : "Lambert", + "specularCoef" : 50, + "transparency" : 1.0, + "transparent" : false, + "vertexColors" : false + }, + + { + "DbgColor" : 60928, + "DbgIndex" : 2, + "DbgName" : "Top", + "blending" : "NormalBlending", + "colorAmbient" : [0.800000011920929, 0.800000011920929, 0.026483822263536183], + "colorDiffuse" : [0.800000011920929, 0.800000011920929, 0.026483822263536183], + "colorEmissive" : [0.46399999356269817, 0.46399999356269817, 0.015360616470854517], + "colorSpecular" : [0.5, 0.5, 0.5], + "depthTest" : true, + "depthWrite" : true, + "shading" : "Lambert", + "specularCoef" : 50, + "transparency" : 1.0, + "transparent" : false, + "vertexColors" : false + }, + + { + "DbgColor" : 238, + "DbgIndex" : 3, + "DbgName" : "Bottom", + "blending" : "NormalBlending", + "colorAmbient" : [0.026483822263536183, 0.800000011920929, 0.026483822263536183], + "colorDiffuse" : [0.026483822263536183, 0.800000011920929, 0.026483822263536183], + "colorEmissive" : [0.015360616470854517, 0.46399999356269817, 0.015360616470854517], + "colorSpecular" : [0.5, 0.5, 0.5], + "depthTest" : true, + "depthWrite" : true, + "shading" : "Lambert", + "specularCoef" : 50, + "transparency" : 1.0, + "transparent" : false, + "vertexColors" : false + }, + + { + "DbgColor" : 15658496, + "DbgIndex" : 4, + "DbgName" : "Back", + "blending" : "NormalBlending", + "colorAmbient" : [0.026483822263536183, 0.026483822263536183, 0.800000011920929], + "colorDiffuse" : [0.026483822263536183, 0.026483822263536183, 0.800000011920929], + "colorEmissive" : [0.015360616470854517, 0.015360616470854517, 0.46399999356269817], + "colorSpecular" : [0.5, 0.5, 0.5], + "depthTest" : true, + "depthWrite" : true, + "shading" : "Lambert", + "specularCoef" : 50, + "transparency" : 1.0, + "transparent" : false, + "vertexColors" : false + }, + + { + "DbgColor" : 61166, + "DbgIndex" : 5, + "DbgName" : "Front", + "blending" : "NormalBlending", + "colorAmbient" : [0.19696111972572083, 0.026483822263536183, 0.800000011920929], + "colorDiffuse" : [0.19696111972572083, 0.026483822263536183, 0.800000011920929], + "colorEmissive" : [0.11423744615377476, 0.015360616470854517, 0.46399999356269817], + "colorSpecular" : [0.5, 0.5, 0.5], + "depthTest" : true, + "depthWrite" : true, + "shading" : "Lambert", + "specularCoef" : 50, + "transparency" : 1.0, + "transparent" : false, + "vertexColors" : false + }], + + "vertices" : [1.8,-0.96,-3.6,1.8,-0.96,3.6,-1.8,-0.96,3.6,-1.8,-0.96,-3.6,1.8,0.96,-3.6,1.8,0.96,3.6,-1.8,0.96,3.6,-1.8,0.96,-3.6], + + "morphTargets" : [], + + "normals" : [0.577349,-0.577349,-0.577349,0.577349,-0.577349,0.577349,-0.577349,-0.577349,0.577349,-0.577349,-0.577349,-0.577349,0.577349,0.577349,-0.577349,-0.577349,0.577349,-0.577349,-0.577349,0.577349,0.577349,0.577349,0.577349,0.577349], + + "colors" : [], + + "uvs" : [], + + "faces" : [35,0,1,2,3,3,0,1,2,3,35,4,7,6,5,2,4,5,6,7,35,0,4,5,1,1,0,4,7,1,35,1,5,6,2,5,1,7,6,2,35,2,6,7,3,0,2,6,5,3,35,4,0,3,7,4,4,0,3,5], + + "bones" : [], + + "skinIndices" : [], + + "skinWeights" : [], + + "animations" : [] + + +}