June 6, 2020, 15:09 (GMT) |
Merge branch 'master' into soc-2020-io-performance Fixes memory leak in subsurf modifier, most probably fixed by Sergey between 25th to 28th May 2020, in Opensubdiv improvements. |
June 6, 2020, 10:10 (GMT) |
Namespace in lower case; rename dummy UI settings Since capitalised namespaces could cause confusion with classes, they are changed to lower case, in uniformity with the rest of the code. Also, in some old settings in exporter file selector are renamed to show that they do nothing. As William Reynish suggested on devtalk feedback thread, at some point, it'd be good to have them drawn with python panels. [1] [1]: devtalk.blender.org/t/13528/2 |
June 4, 2020, 16:01 (GMT) |
Review: Better comments, shorter functions. Changes here: - Removed unused ex(im)port_params members. - Made ex(im)port_params consistent. - Moved `filepath` to OBJEx(Im)port_Params. - Edited comments as per comments. - Use <BLI_vector.hh> instead of <vector>. - Move functions to namespace IO::OBJ. |
June 4, 2020, 15:41 (GMT) |
Review: Added documentation & comments. Review update. Changes here: Rearrangement of struct members in OBJdata_to_export. Better comments & documentation. Linkage: internal `wavefront_obj.hh` & external `IO_wavefront_obj.h`. Move functions to `namespace IO::OBJ`. |
June 4, 2020, 13:14 (GMT) |
Style Guide: Rename .h header files to .hh. Since all headers internal to wavefront_obj are C++ headers, renamed them to `.hh` following the style guide about extensions. All occurrences of the header files & their include guards are also modified. |
June 4, 2020, 13:01 (GMT) |
Rename files from obj to wavefront; move to intern Changes here: Move the files in `blender/io/obj` to `blender/io/obj/intern` following the rest of the code structure. Prefix `obj` in filenames with `wavefront_` to avoid confusion with Blender object data type or compiled C file. Include guards renaming according to new filenames. `#include "*"` renames: for example `#include "obj.h"` to `#include "wavefront_obj.h` Rename `bf_obj` to `bf_wavefront_obj` in CMakeLists.txt. |
June 2, 2020, 07:49 (GMT) |
Preliminary geometry data exported, without any axes modification. Single object geometry data exporter: vertex, vertex normal, faces. Completed the todos in rB3c947bd5a6a2. Todo: Add object name. Export multiple objects in the same file. Verify it on other complex shapes. Texture coordinates. |
May 26, 2020, 20:02 (GMT) |
Working UI for importer too. Got the mesh. - Added all required dummy files. - Finished rudimentary UI for Importer too. - Among the several ways to get the current/ active object, picked the most common way to get to the vertices. Might have to change it, when _export all objects_, etc settings appear. TODO: - Will finalise a singular data structure. - Will discuss about `#include`s in `.h` vs `.cpp`. - Filepath may be moved inside `OBJExportParams`. - Clear up `io_obj.c`'s includes. |
May 25, 2020, 11:37 (GMT) |
Revert the changes for ccache and lld. These were meant to be local changes & not pushed to the GSoC branch. After discussion with the mentors, I'm adding this reverting commit. Moreover, LLD for mach-o is not production ready & under development. See [1] [2]. Now building the branch will not need any modifications. [1]: https://reviews.llvm.org/D75382 [2]: http://clang-developers.42468.n3.nabble.com/Building-clang-on-OSX-td4064374.html#a4064378 |
May 21, 2020, 16:18 (GMT) |
LLD & ccache under `if` blocks. Use `AND 0` to avoid changes. |
May 21, 2020, 14:54 (GMT) |
Placeholder exporter UI and settings working. |
May 21, 2020, 14:54 (GMT) |
Placeholder files, WIP |
May 21, 2020, 14:54 (GMT) |
Placeholder files, WIP |
May 21, 2020, 14:53 (GMT) |
Linker changes. |
May 21, 2020, 14:53 (GMT) |
enabled ccahe; modified compilers it seems |
|