Blender Git Loki

Blender Git commits from all branches.

Page: 860 / 2888

May 26, 2020, 07:10 (GMT)
OpenSubdiv: Refactor, move base C-API file to base folder
May 26, 2020, 07:10 (GMT)
OpenSubdiv: Cleanup, use C++ range based loop

Avoid indirection via define.
May 26, 2020, 07:10 (GMT)
OpenSubdiv: Cleanup, move utility function to base type conversion
May 26, 2020, 07:10 (GMT)
OpenSubdiv: Refactor, move type conversion to base fodler
May 26, 2020, 07:10 (GMT)
OpenSubdiv: Refactor, move evaluator to own folder
May 26, 2020, 07:10 (GMT)
OpenSubdiv: Completely disable topology verification

Previously it was enabled for debug builds, now it is to be enabled
explicitly.

The reason for this is to reduce overhead when debugging other areas
which might involve subdivision surface. When conversion is to be
debugged set this manually in the code.
May 26, 2020, 07:10 (GMT)
OpenSubdiv: Refactor, move edge map to base folder
May 26, 2020, 07:10 (GMT)
OpenSubdiv: Refactor creation of topology refiner

Consolidate it inside of the topology refiner implementation class,
which would allow to store extra data acquired during construction
of the OpenSubdiv's object.
May 26, 2020, 07:10 (GMT)
OpenSubdiv: Refactor, use C++ allocation for internal classes

Only use OBJECT_GUARDED_{NEW. DELETE} for structures which are part of
public C-API (and hence can not have new/delete operators overloaded).

Could try being brave and override new/delete from under C++ ifdef.
May 26, 2020, 07:10 (GMT)
OpenSubdiv: Refactor, move topology refiner factory to topology folder
May 26, 2020, 07:10 (GMT)
OpenSubdiv: Refactor, move topology refiner to own folder

In the future factory will also be moved there.
May 26, 2020, 07:10 (GMT)
OpenSubdiv: Refactor, move device specific code to own files

Also, move all device files to own folder.

Makes it so checks for device availability are done in a localized
place.
May 25, 2020, 20:01 (GMT)
Tests: created a prototype for generating blend objects for modifiers
regression tests

Work in progress, saving.
May 25, 2020, 13:39 (GMT)
OpenSubdiv: Reduce memory footprint of cached topology

Brings down worst case of 1.5M faced mesh from 102 MiB to 90 MiB.
May 25, 2020, 13:39 (GMT)
OpenSubdiv: Cleanup, remove unused code

There is no need in edge map anymore.
May 25, 2020, 13:39 (GMT)
OpenSubdiv: Add TODO avoid checking face-varying topology for equality
May 25, 2020, 13:39 (GMT)
OpenSubdiv: Move preliminary geometry counters check to mesh topology
May 25, 2020, 13:39 (GMT)
OpenSubdiv: Keep explicit storage of base mesh faces

Allows to perform comparison by doing linear comparison of indices.

Before cyclic match was used to deal with possibly changed winding from
OpenSubdiv side.

Speeds up comparison (and hence improves FPS), makes code more reliable
nut uses more memory.
May 25, 2020, 13:39 (GMT)
OpenSubdiv: Compare edge topology

This change makes it so topology refiner comparison will check vertices
of all existing/provided edges.

The initial claim that due to manifold nature of mesh there is no need
in "deep" edges check was wrong: some areas might only provide edges
with non-zero creases. So if crease of one edge goes changes from 1.0
to 0.0 and crease of other edge goes from 0.0 to 1.0 the old comparison
code would not have caught it.
May 25, 2020, 13:39 (GMT)
OpenSubdiv: Refactor, move mesh topology comparison to own file

Makes it easier to follow and extend.
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021