Commit Graph

440 Commits (9ca0102b52f69bc1a929cb9e9f842cfabc7a2895)

Author SHA1 Message Date
Jeremy Hu 9ca0102b52 Fix component renaming 2020-01-18 17:43:24 +09:30
Jeremy Hu a7f22efd1b Optimize cloth simulation 2020-01-18 15:31:10 +09:30
Jeremy Hu 2e047e3d26 Add iteration setting for cloth simulation 2020-01-18 12:34:31 +09:30
Jeremy Hu 21fd758c48 Fix faces to nodes projector 2020-01-17 22:14:55 +09:30
Jeremy Hu 1844a897c4 Add more poly count options for remesh 2020-01-17 19:45:58 +09:30
Jeremy Hu 8775a09fa3 Fix vertex source node resolving after remesh 2020-01-17 18:24:27 +09:30
Jeremy Hu ec80f7bacd Fix quickjs build on win64
Add back script system and fix build error on windows 64 bit system.
2020-01-16 22:37:16 +09:30
Jeremy Hu 58e01ca349 Optimize parts tree
Delay a little bit to reload the children of component to avoid the UI freeze issue.
2020-01-14 23:29:40 +09:30
Jeremy Hu 8db7266158 Reduce edge count for cloth simulation 2020-01-14 22:23:28 +09:30
Jeremy Hu 9f625f07ae Fix crash on MesaGL 2020-01-14 21:38:57 +09:30
Jeremy Hu d71fe65f22 Fix cloth settings 2020-01-14 08:15:42 +09:30
Jeremy Hu 5a59abdca4 Optimize cloth mesh simulation by enable tbb. 2020-01-13 22:54:09 +09:30
Jeremy Hu cff5cff6bc Change parts tree menu trigger method
Left mouse single press will popup short version of context menu
2020-01-13 20:50:37 +09:30
Jeremy Hu 89d49d488d Add force and offset settings for cloth simulation 2020-01-12 22:18:44 +09:30
Jeremy Hu 8ffef700c4 Add hang effect for cloth simulation 2020-01-09 23:52:33 +09:30
Jeremy Hu 44cd33d799 Add stiffness setting for cloth simulation 2020-01-09 23:30:46 +09:30
Jeremy Hu c4882dec1f Add isotropic remesh preprocess to cloth simulation 2020-01-09 08:37:14 +09:30
Jeremy Hu 579fa24e1c Add cloth simulation
Integrate FastMassSpring, implemented by Samer Itani(@sam007961),
Original paper: "Fast Simulation of Mass-Spring Systems" by Liu, T., Bargteil, A. W., Obrien, J. F., & Kavan, L.
2020-01-08 23:46:56 +09:30
Jeremy Hu 7ade61ab65 Add rendered model color toggle 2020-01-05 14:35:07 +09:30
Jeremy Hu 846270fa80 Add rendered model auto rotation
Toggle rotation from menu view
2020-01-05 08:08:16 +09:30
Jeremy Hu 66ac0b3b7f Add remesh polycount configure 2020-01-05 00:20:10 +09:30
Jeremy Hu 8c6a9fef29 Mark remeshed component as Uncombined 2020-01-04 22:19:03 +09:30
Jeremy Hu 2d05583937 Integrate Instant-Meshes
1. Drop windows 32bit support
Add windows 64bit support.

2. Remove Script(quickjs) support
The current integrated quickjs is a very old version which doesn’t support windows 64bit system. In the future, (TODO)WebAssembly should be integrate as plugin system.

3. Integrate Instant-Meshes
Instant-Meshes take less than 1 second on all three platforms.

4. Remove QuadriFlow
Current implementation of QuadriFlow is too slow (take about 5 seconds on the example model) to do realtime remeshing.
2020-01-04 19:59:10 +09:30
Jeremy Hu ee53e3ed4f Improve mesh generation
1. All components recombined regardless of color groups
2. Contour main view contribute to x-coord only when width and height is different (Offset greater than radius)
3. Fix generating indicator
2020-01-02 22:06:43 +09:30
Jeremy Hu f2093bd42a Optimize remesh (2)
Update isotropic remesh target edge length
2020-01-02 17:29:04 +09:30
Jeremy Hu 7f517386f0 Optimize remesh
Introduce isotropic remesh before QuadriFlow
This will unify the edge length of all the faces before the mesh got subdived in QuadriFlow
2020-01-02 14:31:04 +09:30
Jeremy Hu 3ebc2cca6b Show wireframe by default
Toggle wireframe would cause crash on linux/MesaGL, only show wireframes on Windows and MacOS by default.
2020-01-02 08:03:33 +09:30
Jeremy Hu 14b65e193b Improve Marker pen
Take front view contour into calculation for x-axis.
2020-01-02 07:58:33 +09:30
Karl Robillard c251d4aa21 documentwindow: Add top level menu accelerators and a few File shortcuts.
- Remove routing of Ctrl+S shortcut through skeletongraphicswidget.
2019-12-31 21:55:02 +09:30
Karl Robillard 7a65725c41 skeletondocument.h: Fix compiler warnings for GCC 9.2.1. 2019-12-31 21:55:02 +09:30
Jeremy Hu 103ca74458 Fix crash 2019-12-30 19:58:26 +09:30
Karl Robillard fc85ded323 Save documentWindowSize in settings to preserve window size between runs. 2019-12-29 14:47:24 -05:00
Karl Robillard d02331d1e7 documentwindow: Add Quit menu item. 2019-12-29 13:53:51 -05:00
Jeremy Hu 191dbacd89 Implement component remesh 2019-12-29 18:22:35 +09:30
Jeremy Hu dd628b6af7 Integrate QuadriFlow
https://github.com/hjwdzh/QuadriFlow
2019-12-28 14:51:59 +09:30
Jeremy Hu 9f55f738f3 Implement marker pen
This commit introduce a new feature: Marker Pen
It allow user to quick draw a contour of the side view and got nodes automatically generated
2019-12-25 08:54:49 +09:30
Jeremy Hu 7a5065865a Set OpenGL core profile shader as default 2019-12-22 21:37:42 +09:30
Jeremy Hu e394e3fa2a Hide regenerate button on export widget
There is no need to regenerate as the result mostly is the same
2019-12-22 13:30:10 +09:30
Jeremy Hu d185f7e07a Remove disabled and cut face parts from final result. 2019-12-21 16:33:35 +09:30
Jeremy Hu 7aaac5af07 Implement image skeleton extractor 2019-12-21 16:20:36 +09:30
Jeremy Hu d218789d83 Add mesh recombiner optional edge loop optimization
This optimization would make two combining edge loops move closer.
The vertex postion been updated, this will affect the quad recovery and triangle source resolver, so this optimization is been commented out currently.
2019-12-18 23:46:52 +09:30
Jeremy Hu 745c96eeb9 Include error mesh in final result 2019-12-15 12:52:24 +09:30
Jeremy Hu 40a6968599 Enable three nodes branch on gridded part 2019-12-15 11:44:04 +09:30
Jeremy Hu 0f7735e93a Fix build 2019-12-15 09:27:51 +09:30
Jeremy Hu 22373b1ed7 Implement grid mesh builder 2019-12-14 22:58:14 +09:30
Jeremy Hu 839e081d10 Fix pose editor 2019-11-09 17:45:49 +09:30
Jeremy Hu 9f12f03d58 Fix interpolation for motion generation 2019-11-08 23:35:27 +09:30
Jeremy Hu e2ca6ec5fa Fix countershaded configure 2019-11-08 17:55:50 +09:30
Jeremy Hu 59fc43f900 Fix countershading mirror 2019-11-07 23:31:03 +09:30
Jeremy Hu 5c34ae61ce Add part countershading setting
Countershaded parts will be belly white colored.
2019-11-07 21:38:47 +09:30