News for hackers. Stuff that matters.

huxingyi

Show HN: Dust3D 1.0 – low-poly 3D modeling tool (10 years in the making)

https://dust3d.org

Dust3D 1.0 is finally released — about 10 years after the first commit in December 2016.I posted a preview version here in April 2018 and a beta in December 2018. Back then I thought 1.0 was just around the corner, but I kept adding new features that I could barely find time to finish as a weekend side project. I finally got it done with GitHub Copilot, using models including Claude Opus 4.6,...

( Read More... | no comments | 5 points | on HN )
This framework has the potential to become another Qt if UI is been added. The coding style and document[0] are solid and similar with Qt[1]. Giving the Qt is heading in an unpopular way[2], I am looking forward to this framework.

[0] https://plywood.arc80.com/docs/modules/runtime/api/string/St... [1] https://doc.qt.io/qt-5/qstring.html [2] https://www.qt.io/blog/qt-offering-changes-2020

Re:Async.h – asynchronous, stackless subroutines in C on Saturday September 21, 2019 @08:54AM (#21035064)
Neat! I checked the async.h, looks like it doesn't support nested calls? I did a similar toy many years ago, which could be used with other async libraries such as libuv: https://github.com/huxingyi/c-block
Thanks, that's good!
Thanks, to conclude from your detailed answer: I can still license the code other than CGAL to MIT, but license the whole project to GPL, and in the future if I removed CGAL, I can license the whole project back to MIT. And the plugin API is not related with CGAL at all, so I can let the user choose whatever the license.
Thanks, I checked that link. The "CGAL/Polygon Mesh Processing" package is licensed on GPL: https://doc.cgal.org/latest/Manual/packages.html

And the mentioned other libraries doesn't have the features I want.

Thanks, so that means the user have to open source their script also.
Thanks, I mainly use the CGAL/Polygon_mesh_processing to do mesh boolean. I saw some thread say CGAL commercial license cost $12K, it's not affordable for a side project yet.
Thanks, > 1. MIT can easily be re-licensed as GPL. You can keep a branch of it right before the introduction of CGAL, so if someone really wanted to, they could replace it with something else themselves.

It's too late, I introduced CGAL very early.

> 2. This is where it gets tricky. Yes, though you'll need the permission of all your contributors to the GPL version of your project, and replace all the GPL code ith similar functioning code. You should avoid just line-by-line rewriting of the GPL code though, you'll need to have a unique implementation.

So, I guess it's a Yes. If I removed CGAL in the future.

> 3. Again, tricky, but MIT would probably be OK, because MIT is compatible with GPL, if it's within the GPL'd project.

Basically, if I have to license my project on GPL because of CGAL, I would like the scripts wrote by user could license on whatever user like. But I am not sure if is possible.

Ask HN: Could I use GPL licensed library in my MIT licensed project?

I have been working on my side project for years, and I am preparing to release the 1.0 stable version. The project is on MIT license since the first day, and it’s my preferred choice. However, I introduced CGAL library to my project later, and it’s GPL licensed. Currently, there is no other choice, I have to use CGAL library.1. Does that means I have to change my whole project to GPL...

( Read More... | 13 comments | 7 points | on HN )
The actual effort of writing one line of code in the specific language doesn’t mention in the article. Write one line of rust is extremely difficult than one line of Python, or even C++.
Re:Show HN: A Polygon Mesh Processing Library on Sunday June 02, 2019 @05:52PM (#20078514)
Looks like a really good start. One suggestion: add mesh boolean algorithm, currently, only CGAL do this well, if your library could supports this on the MIT license, I would definitely try it. Currently, I am using libigl to do parameterization and CGAL to do mesh boolean in my 3D modeling software[1]

[1] https://github.com/huxingyi/dust3d

Re:Protothreads: Lightweight Stackless Threads in C on Thursday May 16, 2019 @04:26AM (#19927145)
Inspired by Protothreads, I implemented a similar framework 5 years ago, well, not exactly a framework, just several lines of macros, which could be used in general purpose not just embedded system (I am not sure if Protothreads can be used in general purpose). I used it in product environment with libuv, here is the github link: https://github.com/huxingyi/c-block
Re:Show HN: Cross-platform open-source 3D modeling software on Sunday December 02, 2018 @04:15PM (#18584601)
Thanks. Yes, it’s painful of manage cpp with different compilers, the cross platform of Dust3D mainly benefit from Qt.
Re:Show HN: Cross-platform open-source 3D modeling software on Saturday December 01, 2018 @11:14PM (#18580750)
Thanks for asking, there is a target in my mind that generate highly detailed mesh but maintained the easy usability. I don't know how far the target is away. The near roadmap is making this software could be used in the game I am developing exclusively(Without use other modeler), if something is missing, I would add it.
Re:Show HN: Cross-platform open-source 3D modeling software on Saturday December 01, 2018 @10:26PM (#18580613)
Thanks for the info, may have a try to see how Dust3D could benefit from this.
Re:Show HN: Cross-platform open-source 3D modeling software on Saturday December 01, 2018 @08:34PM (#18580208)
Input by direct type number of position and radius? Not yet.
Re:Show HN: Cross-platform open-source 3D modeling software on Saturday December 01, 2018 @08:30PM (#18580191)
Blue smudges! my god, LOL, That is the drawing of the front view of the mosquito! The blue lines dragged down in the GIMP is the reference line. Usually, when make reference sheet for Dust3D, the same position in the two profiles(Front/Side) should sit in the same height(Y coord). This video is a demonstration of how bad at drawing can still make good 3D model with Dust3D.
Re:Show HN: Cross-platform open-source 3D modeling software on Saturday December 01, 2018 @04:27PM (#18579051)
> What do you think of CGAL? I am using some function of CGAL in Dust3D, it's a great work. However, it doesn't work with iOS and it's license is more strict than MIT, may remove it in the future.

> Are you using a scene graph for the display? I am using Qt/QOpenGLWidget for display.

Re:Show HN: Cross-platform open-source 3D modeling software on Saturday December 01, 2018 @04:22PM (#18579026)
Thanks for verifying :-)
Re:Show HN: Cross-platform open-source 3D modeling software on Saturday December 01, 2018 @04:21PM (#18579018)
Thanks, the underlying mesh render use the Qt/QOpenGLWidget, haven't try it with OpenGL ES2.0 and OpenGL 2.x
Re:Show HN: Cross-platform open-source 3D modeling software on Saturday December 01, 2018 @04:19PM (#18579008)
should be ok with 3D printing, because the outcome of Dust3D generated is a watertight mesh. However, I don't have a 3D printer, cannot try yet.
Re:Show HN: Cross-platform open-source 3D modeling software on Saturday December 01, 2018 @04:17PM (#18578990)
Hi, thanks, currently support glb, fbx obj export, but without import supports, may be add in the future.
Re:Show HN: Cross-platform open-source 3D modeling software on Saturday December 01, 2018 @04:15PM (#18578982)
Thanks, I am really happy to hear that it can work with VR.
Re:Show HN: Cross-platform open-source 3D modeling software on Saturday December 01, 2018 @04:13PM (#18578971)
Thanks, but it's a little too late to rename, too many things need to sync, such as domain.
Re:Show HN: Cross-platform open-source 3D modeling software on Saturday December 01, 2018 @09:45AM (#18576965)
Hi, some reported several hours ago, and I have released 1.0.0-beta.4 to fix it, could you help to verify if it still crash please? Download link for windows: https://github.com/huxingyi/dust3d/releases/download/1.0.0-b...
Re:Show HN: Cross-platform open-source 3D modeling software on Saturday December 01, 2018 @09:40AM (#18576939)
What interaction patterns? You mean the weird combine two profiles in one window :-) ? That is my idea. The sphere guided mesh generation is based on a paper: "B-Mesh: A Fast Modeling System for Base Meshes of 3D Articulated Shapes"

Edit: I am not familiar with STL format, may have a look at it, thanks.

Re:Show HN: Cross-platform open-source 3D modeling software on Saturday December 01, 2018 @09:34AM (#18576924)
Dust3D use right-handed coordinate space, X - front view, Z - side view, Y - up. I am not quite sure what exactly coordinate space other software use, but I make sure the exported fbx looks as the same in Unity, and the exported glb looks as the same in Godot.
Re:Show HN: Cross-platform open-source 3D modeling software on Saturday December 01, 2018 @07:49AM (#18576551)
Oh, no, that guitar is my favorite :-( The main focus of this software is the modeling speed, for example, that guitar only took less than five minutes. So I can make more game asset as an indie. Actually, the model made recently is already looks far better than several months ago I made, I will keep improving the mesh generating quality of the algorithm. Thanks!

Older »