Exemplo n.º 1
0
        public SkinnedModel()
        {
            myVbo    = new VertexBufferObject <V3N3T2B4W4>(BufferUsageHint.StaticDraw);
            myIbo    = new IndexBufferObject(BufferUsageHint.StaticDraw);
            myFrames = new ShaderStorageBufferObject(BufferUsageHint.StaticDraw);
            myMeshes = new List <Mesh>();

            animations = new Dictionary <String, Animation>();

            //insert the null animation
            animations["null"] = new Animation("null", 0, 0, 0, false);
        }
Exemplo n.º 2
0
 public SkinnedModel()
 {
     myFrames   = new ShaderStorageBufferObject(BufferUsageHint.StaticDraw);
     animations = new Dictionary <String, Animation>();
     skeleton   = new Skeleton();
 }