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

Add support for TubeGeometry #88

Open joakimunge opened 1 year ago

joakimunge commented 1 year ago

Hi,

I was experimenting using this library for a project, but noticed that the TubeGeometry is not implemented.

https://threejs.org/docs/index.html?q=TubeGe#api/en/geometries/TubeGeometry

Would love if this was implemented. Will try to look into it myself, but I am not very familiar with three.js

mark-nicepants commented 1 year ago

@joakimunge Still working on this? I have a project with a working LineCurve3 and TubeGeometry implementation. So if you want I can move that over to the project.

joakimunge commented 1 year ago

@joakimunge Still working on this? I have a project with a working LineCurve3 and TubeGeometry implementation. So if you want I can move that over to the project.

Hi @mark-apn

I am not working on it actively, but I had a work in progress going that got merged prematurely. So there is some sort of support there but it was not ready to be merged.

If you have a complete implementation that could be good. I have decided to go another way in my project as I can not rely on the loose merging happening here.

Here is the PR in question so you can see my changes.

https://github.com/wasabia/three_dart/pull/90