# Is it possible to write the WebGL Collada Renderer as an Aframe component?

**URL:** <https://discourse.threejs.org/t/is-it-possible-to-write-the-webgl-collada-renderer-as-an-aframe-component/49576>\
**Category:** Questions\
**Tags:** a-frame, loaders\
**Created:** [March 25, 2023, 3:14pm UTC](https://discourse.threejs.org/t/is-it-possible-to-write-the-webgl-collada-renderer-as-an-aframe-component/49576 "2023-03-25T15:14:08Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![addy1997](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/addy1997/32/34740_2.png) [@addy1997](https://discourse.threejs.org/u/addy1997)\
**Post date:** [March 25, 2023, 3:14pm UTC](https://discourse.threejs.org/t/is-it-possible-to-write-the-webgl-collada-renderer-as-an-aframe-component/49576/1 "2023-03-25T15:14:08Z")

</div>

Hello there,

I was exploring this [WebGL-based renderer](https://github.com/mrdoob/three.js/blob/5a06391f3d1007bb1871eea027cca77e7f0e6812/examples/webgl_loader_collada_kinematics.html) from Three.js. I want to create an [A-frame component](https://aframe.io/docs/1.4.0/core/component.html) out of it so that I can load Collada models using aframe.

The code doesn’t seem to work despite no error.

Link: [https://jsfiddle.net/adwait3301/6wsryqkp/16/](https://jsfiddle.net/adwait3301/6wsryqkp/16/)

Can anybody suggest some workaround?  
Thanks,  
Adwait

---

<div class="post-metadata">

**Author:** ![PavelBoytchev](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/pavelboytchev/32/38639_2.png) [@PavelBoytchev](https://discourse.threejs.org/u/PavelBoytchev)\
**Post date:** [March 26, 2023, 10:18am UTC](https://discourse.threejs.org/t/is-it-possible-to-write-the-webgl-collada-renderer-as-an-aframe-component/49576/2 "2023-03-26T10:18:13Z")

</div>

One possible approach is to reduce the complexity – for example, you can start with a cube, instead of a Collada model. If the cube is working, it means something with the management of the Collada model is wrong; if the cube is not working, then the Collada model is unrelated to the issue.

I hope you have consulted [Developing with three.js – A-Frame](https://aframe.io/docs/1.4.0/introduction/developing-with-threejs.html).

* * *

PS. The JSFiddle link is broken, it says “404 That page doesn’t exist.”

---

<div class="post-metadata">

**Author:** ![addy1997](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/addy1997/32/34740_2.png) [@addy1997](https://discourse.threejs.org/u/addy1997)\
**Post date:** [March 26, 2023, 10:00pm UTC](https://discourse.threejs.org/t/is-it-possible-to-write-the-webgl-collada-renderer-as-an-aframe-component/49576/3 "2023-03-26T22:00:33Z")

</div>

Hi @Mugen87 ,

Sorry for the trouble. Can you help me with this? Here’s the link to the code: [Edit fiddle - JSFiddle - Code Playground](https://jsfiddle.net/adwait3301/07c8outb/109/)

---

<div class="post-metadata">

**Author:** ![Mugen87](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/mugen87/32/5645_2.png) [@Mugen87](https://discourse.threejs.org/u/Mugen87)\
**Post date:** [March 29, 2023, 11:20am UTC](https://discourse.threejs.org/t/is-it-possible-to-write-the-webgl-collada-renderer-as-an-aframe-component/49576/4 "2023-03-29T11:20:45Z")

</div>

Sorry, I’m not familiar with A-Frame.
