wasabia / three_dart

three.js rewrite by Dart, Dart 3D library. an easy to use, lightweight, cross-platform, general purpose 3D library.
MIT License
450 stars 80 forks source link

Asset to Mesh #85

Closed SerJoG closed 1 year ago

SerJoG commented 2 years ago

Is it possible to convert an asset like a glb or obj file into meshes? Like the import of blender.

wasabia commented 2 years ago

https://github.com/wasabia/three_dart/blob/main/example/lib/webgl_loader_obj.dart

use Obj Loader or gltf Loader, only support gltf, not support glb

SerJoG commented 2 years ago

but then can i select portions of renderer object?

mark-nicepants commented 1 year ago

Obj import of a blender file is working. You can search thru the object children to find specific parts of the object. Hope this answers your question. Feel free to open a new issue if you have any problems.