I am using typescript with awayjs to create the 3D environment
and trying to import a simple 3d model with a bone using AwayBuilder. and have try this on multiple models.
when i set the SceneObjects Animator property to the skeleton animator at run time it breaks at the first render update at
if (!this._gl.getShaderParameter(this._vertexShader,this._gl.COMPILE_STATUS)) {
throw new Error(this._gl.getShaderInfoLog(this._vertexShader));
return;
}
Uncaught Error: ERROR: 0:13: ‘va2’ : undeclared identifier
ERROR: 0:13: ‘x’ : field selection requires structure or vector on left hand side
ERROR: 0:14: ‘x’ : field selection requires structure or vector on left hand side
ERROR: 0:15: ‘x’ : field selection requires structure or vector on left hand side
when i try to create AWD file from hellknight sample, it works out fine and no error occurs.
when the skeleton animator property is not set, asset loads and renders without any issue, make me thinks its the skeleton animator is broken
has anyone come with this issue before and hoping someone can shed some light into what am i doing wrong.
i attached my awd file along with the md5 files exported using blender.
on unrelated note, does awayjs support collada, because even with all the parsers enable i couldnt load a file.
thanks.