a36939730130d97e4c8ca498b0ef5148c4ced7a1
Avoid calling `GPU_indexbuf_add_line_verts` and the triangle version of that function. It's faster to avoid function calls and just write to the data arrays directly. I did some very rough tests and observed about a 10% improvement in runtime for the entire index buffer creation process.
…
Blender
Blender is the free and open source 3D creation suite. It supports the entirety of the 3D pipeline-modeling, rigging, animation, simulation, rendering, compositing, motion tracking and video editing.
Project Pages
Development
License
Blender as a whole is licensed under the GNU General Public License, Version 3. Individual files may have a different, but compatible license.
See blender.org/about/license for details.
Description
Languages
C++
78%
Python
14.9%
C
2.9%
GLSL
1.9%
CMake
1.2%
Other
0.9%
