Blender Git Loki

Blender Git "soc-2020-io-performance" branch commits.

Page: 13 / 23

August 13, 2020, 19:59 (GMT)
Use function pointer; remove redundant variables.
August 13, 2020, 18:09 (GMT)
Export packed image file names, not paths.
August 13, 2020, 15:39 (GMT)
Use const; move constructors to implementation file.
August 13, 2020, 12:48 (GMT)
Merge branch 'master' into soc-2020-io-performance
August 13, 2020, 12:37 (GMT)
Cleanup: renaming & comments.
August 13, 2020, 12:30 (GMT)
Fix several material import bugs, remove wrong assert.

Images were not being loaded since the parent directory was
missing in the path. So add it in tex_map_XX.
August 11, 2020, 21:22 (GMT)
Merge branch 'master' into soc-2020-io-performance
August 11, 2020, 21:17 (GMT)
Fix loose edge export & import, and offsets.
August 11, 2020, 15:04 (GMT)
Fix vertex offsets for MEdges and MLoops.
August 10, 2020, 21:50 (GMT)
Catch out of range exceptions for stoi/stof.
August 10, 2020, 21:23 (GMT)
Add vertex offset due to Curves' vertices also.
August 10, 2020, 21:22 (GMT)
Fix new Geometry creation with empty initial object.
August 10, 2020, 18:35 (GMT)
Use const& instead of pointers in Mesh class.
August 10, 2020, 18:28 (GMT)
Correct geometry creation code with Curves.

Also make `Geometry` and `GlobalVertices` members of
`CurveFromGeometry` as `const &` to match with
`MeshFromGeometry`.
August 10, 2020, 15:36 (GMT)
Merge branch 'master' into soc-2020-io-performance
August 10, 2020, 15:31 (GMT)
Use FILE_MAX instead of PATH_MAX

Also, allow more vertices data points to be in int
strings.
August 10, 2020, 09:55 (GMT)
Accept 3D UV vertex coordinates

The third one is still discarded.
August 10, 2020, 09:50 (GMT)
Create new Geometry instance at the start.

Since the following is a valid OBJ file, a new `Geometry` instance
is always required.

```
v 1.0 2.0
```
August 9, 2020, 14:22 (GMT)
Move index offset from parsing to Object creation

The only place where the information needed about how many vertices
have been occupied by other objects is `mloop->v` since `v` has to
be in the range from zero to total vertices _in a_ mesh.

All other indices (edge, UV, normal) work best when they're parsed
the way they're written and the corresponding data from the global
list is read directly.

So instead of modifying every index just to keep `mloop->v` happy,
use a `Map<int, int>` for storing vertex indices. This reduces chances
of error greatly and avoid "indices to indices to coordinates".

`Vector` would've been very slow it being unsorted & lookups being done
for _all_ `mloop`s. `Map` gives no drop in performance.

UV vertices from `Geometry` have been removed since `FaceCorner`s store
a direct index indexing into the Global list of UV coordinates.
August 9, 2020, 12:02 (GMT)
Fix wrong material exporter assert added recently.

Since Alpha in RGBA is not written to the MTL file, callers
use array of length 3.
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021