Blender Git Commits

Blender Git "soc-2021-adaptive-cloth" branch commits.

Page: 12 / 13

June 24, 2021, 05:32 (GMT)
bli: generational_arena: ConstIterator

ConstIterator is an iterator where the Iterator cannot change the value stored by the iterator.
June 24, 2021, 05:00 (GMT)
adaptive_cloth: test: mesh: read(), fails, need to find fix
June 23, 2021, 08:02 (GMT)
adaptive_cloth: mesh: abstract out read over MeshReader and fix compiler errors
June 23, 2021, 06:47 (GMT)
adaptive_cloth: mesh: read obj to Mesh
June 22, 2021, 18:02 (GMT)
adaptive_cloth: fix: mesh_reader: obj: 'vt' considered under 'v'

Consider
v 1.0 1.0 1.0
vt 1.0 1.0

Here, both lines start with "v" hence, if the check is, line starts with "v", it satisfies both, which is not correct.

The correct check should be, line starts with "v ".
June 22, 2021, 18:01 (GMT)
adaptive_cloth: test: MeshReader simple cube read
June 22, 2021, 16:19 (GMT)
adaptive_cloth: mesh_reader: obj parse
June 22, 2021, 12:13 (GMT)
adaptive_cloth: mesh_reader: initial setup
June 22, 2021, 06:55 (GMT)
adaptive_cloth: mesh: add empty elements
June 22, 2021, 06:55 (GMT)
adaptive_cloth: mesh elements, better constructors
June 21, 2021, 18:09 (GMT)
bli: generational_arena: add iterator support

Made as a bidirectional iterator since movement can be in both
directions. Random access iterator is not possible since there can be
gaps in between the elements.

Had a very annoying bug- using the iterator with the standard library
would throw an error "`iterator_category` not defined" even though it
was defined. Spent a lot of time to realize that `difference_type`
should also be defined but other types within the iterator class are
optional. For some reason the compiler does not create the
`iterator_trait` correctly if `difference_type` is missing but throws
error about `iterator_category` which is extremely strange and time consuming to debug :(
June 19, 2021, 18:24 (GMT)
bli: generational_arena: insert_with() and try_insert_with()
June 19, 2021, 18:23 (GMT)
bli: generational_arena: use better constructor and better if-else
June 18, 2021, 09:22 (GMT)
adaptive_cloth: mesh: initial class setup
June 17, 2021, 08:06 (GMT)
bli: generational_arena: better code styling
June 16, 2021, 13:47 (GMT)
bli: generational_arena: test for ensuring next_free list is correct
June 16, 2021, 09:23 (GMT)
bli: generational_arena: extra insert() test case with fix

When the capacity of the `Arena` is 0, need to handle it specially.
June 16, 2021, 08:51 (GMT)
bli: generational_arena: remove() with test
June 16, 2021, 08:26 (GMT)
bli: generational_arena: get related tests and respective fixes
June 16, 2021, 07:15 (GMT)
bli: generational_arena: tests, size(), capacity(), fix some errors
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021