August 4, 2020, 13:23 (GMT) |
MTL: use mtllib for importing MTL files. Create a utility function for splitting lines into the first words & the rest of it. |
August 4, 2020, 11:05 (GMT) |
MTL: release shader_output_ node instead of bsdf_. |
August 4, 2020, 10:27 (GMT) |
Merge branch 'master' into soc-2020-io-performance |
August 4, 2020, 10:26 (GMT) |
Initial material creation support. |
August 4, 2020, 10:24 (GMT) |
Cleanup: Use MutableSpan, add asserts Remove passing of unnecessary variables. Limit scope of `tex_image_filepath`. |
July 31, 2020, 11:06 (GMT) |
Merge branch 'master' into soc-2020-io-performance |
July 30, 2020, 12:56 (GMT) |
Merge branch 'master' into soc-2020-io-performance |
July 30, 2020, 12:54 (GMT) |
Add MTL parser. |
July 30, 2020, 12:37 (GMT) |
Add fallback value in string to number conversions Remove remnant `stringstream s_line` which was used with `>>` operator for storing floats and ints. That has been replaced with `stof`/ `stoi`. Limit the scope of MTL exporter's tex_node pointer. |
July 27, 2020, 09:01 (GMT) |
Merge branch 'master' into soc-2020-io-performance |
July 27, 2020, 08:08 (GMT) |
Fix build error due to forward enum declaration In full build, the following error happens. So fix it by including the definition file before the forward declaration one. ``` In file included from source/blender/io/collada/SkinInfo.cpp:40: source/blender/blenkernel/BKE_object_deform.h:62:6: error: enumeration previously declared with nonfixed underlying type enum eVGroupSelect ^ In file included from source/blender/io/collada/SkinInfo.cpp:36: source/blender/makesdna/DNA_scene_types.h:2099:14: note: previous declaration is here typedef enum eVGroupSelect { ^ 1 error generated. ``` |
July 25, 2020, 07:50 (GMT) |
Use VectorSet instead of vector for def_group. The lookups are now faster and insertion order is also retained since no item is removed from the `VectorSet`. Also fix a leak that happened due to mishandling of the pointer to the allocated memory of `MDeformWeight`. Remove potentially confusing loop index that is used with `tot_loop_idx`. |
July 24, 2020, 18:35 (GMT) |
Cleanup: silence clang-tidy warnings; comments. Use static_cast wherever applicable. Pass struct by reference. Remove unnecessary const qualifiers for primitive types. Make some member functions static instead. Remove intermediate non-owning pointers to new class instances. Remove else in else-after-return. Initialise variables at definition. |
July 24, 2020, 15:32 (GMT) |
Keep vertex deform group names and def_nr in sync I realised later on that Map is unordered, so the order of insertion, on which def_nr depends, is not retained. So a Vector of strings has been used & the index of the string-of-interest is the def_nr. Unfortunately, it will be slow on large number of vertex groups. |
July 23, 2020, 22:04 (GMT) |
Merge branch 'master' into soc-2020-io-performance |
July 23, 2020, 22:03 (GMT) |
Fix curve not being visible in Object mode. Thanks to Howard Trickey(@howardt) for finding the fix! |
July 23, 2020, 21:45 (GMT) |
Support importing vertex deform groups. Remove unnecessary casting in exporter's deform group related code. The fix in `BKE_object_deform.h` is temporary, until D8378 is committed to master. |
July 23, 2020, 19:24 (GMT) |
Fix build errors due to wrong auto to type changes They were the last changes I made and didn't build afterwards. |
July 23, 2020, 16:08 (GMT) |
Cleanup: Fix typo in comments. |
July 23, 2020, 16:05 (GMT) |
Move Object creation code in Mesh creation class. This is required for setting deform groups which are a part of `Object` struct. Also rename NurbsElem > OBJNurbsElem. Remove forward declarations from *nurbs.hh & *mesh.hh files since the cyclic dependency with *object.hh is removed. Remove auto. |
|