DAE files image texture doesn’t show up in Aframe when exported from Maya

I presume You added Your collada ( dae ) model like presented on the aframe docs: <a-scene> <a-assets> <a-asset-item id=”head” src=”https://stackoverflow.com/path/to/head.dae”></a-asset-item> </a-assets> <a-entity collada-model=”#head”></a-entity> </a-scene> To texture the model, You either need to: 1. Make a reference to the texture in the material of the entity. In <a-assets> make an img reference: <img id=”texture” src=”https://stackoverflow.com/questions/44451617/head.jpg”> … Read more

Read pixels from a WebGL texture

You can try attaching the texture to a framebuffer and then calling readPixels on the frame buffer. at init time // make a framebuffer fb = gl.createFramebuffer(); // make this the current frame buffer gl.bindFramebuffer(gl.FRAMEBUFFER, fb); // attach the texture to the framebuffer. gl.framebufferTexture2D( gl.FRAMEBUFFER, gl.COLOR_ATTACHMENT0, gl.TEXTURE_2D, texture, 0); // check if you can read … Read more