three_js_tjs_loader

Creator: coderz1093

Last updated:

0 purchases

three_js_tjs_loader Image
three_js_tjs_loader Images

Languages

Categories

Add to Cart

Description:

three js tjs loader

three_js_tjs_loaders #



A type of three_js model loader that allows users to add three.js json files to thier projects.

This is a dart conversion of three.js and three_dart, originally created by @mrdoob and has a coverted dart fork by @wasabia.
Getting started #
To get started add this to your pubspec.yaml file along with the other portions three_js_math, three_js_core, three_js_animations, and three_js_core_loaders.
late Scene scene;

void init() {
scene = Scene();
scene.background = Color.fromHex32(0xf0f0f0);

final loader = ObjectLoader();
final tjsl = await loader.fromAsset('assets/${fileName}.json');
scene.add(tjsl);
}

void update() {
controls.update();
}
copied to clipboard
Usage #
This project is a threejs json model loader for three_js.
Example #
Find the example for this API here.
Contributing #
Contributions are welcome.
In case of any problems look at existing issues, if you cannot find anything related to your problem then open an issue.
Create an issue before opening a pull request for non trivial fixes.
In case of trivial fixes open a pull request directly.

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.