LDraw.org Discussion Forums
How can I write a loader for three.js? - Printable Version

+- LDraw.org Discussion Forums (https://forums.ldraw.org)
+-- Forum: General (https://forums.ldraw.org/forum-12.html)
+--- Forum: General LDraw.org Discussion (https://forums.ldraw.org/forum-6.html)
+--- Thread: How can I write a loader for three.js? (/thread-22863.html)



How can I write a loader for three.js? - das - 2018-07-08

hey,
I'd like to write an Ldraw loader for three.js; Ldraw is a text-based open format for Lego models.

I'm familiar with the format (I've implemented a parser in a different language), but I have trouble understanding the three.js loader architecture.

How is a loader structured? I've tried to go through the source code of existing ones, but I need some starting guidance.
Tutuapp 9Apps Latest Version showbox