How can I write a loader for three.js?
2018-07-08, 11:57 (This post was last modified: 2018-10-05, 14:56 by Willy Tschager.)
2018-07-08, 11:57 (This post was last modified: 2018-10-05, 14:56 by Willy Tschager.)
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.
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.