Blender Git Loki

Kaikki Blender Git kommitit.

Page: 5460 / 8462

June 14, 2014, 06:27 (GMT)
Rename 'Extend Vertex' to be clear it operates on many vertices
June 14, 2014, 06:27 (GMT)
Comment unused macro
June 14, 2014, 01:37 (GMT)
Initial Commit
June 13, 2014, 23:42 (GMT)
Implemented mesh shape key compression

Mesh shape keys are now compressed on file write by storing only the vertices that have changed from the rest position (the logic automatically determines if there will be a gain from such compression, if not, no compression will happen).

This showed 3x disk space reduction on Elizabeth's head here (4.5 kvert mesh, 157 shape keys for different facial expression):
http://dl.dropboxusercontent.com/u/91422001/liz_headonly_masterbranch.blend
http://cs617325.vk.me/v617325382/e0e1/cjnMXhbtU44.jpg

A User Preference (on File tab) has been added to save the shape keys in the old format (compressed shape keys won't be readable from Master branch)

This also decreases object mode undo memory usage, as undo uses a file in memory.

TODO: endian conversions won't work on compressed keys right now.
June 13, 2014, 23:37 (GMT)
repositioning handled
June 13, 2014, 23:28 (GMT)
cleanup related to EGL contexts
added EGL 1.5 entry points to glew-es
glew-es was assuming that EGL and ES always go together, but you can use EGL to initialize non-ES contexts
moved swap interval implementation to GHOST_Context classes
added EGLDisplay parameter to EGLEWInit in order to work around ARM Mali bug (but seems sensible compared to other EGL functions)
more checks before calling eglBindAPI, no need if there is no EGL display
June 13, 2014, 22:40 (GMT)
resizing meshes accordingly, tweaks in SDF method call
June 13, 2014, 22:27 (GMT)
Polyfill2d: use kd-tree

Simple search for intersections became slow for larger concave ngons (100+)
Tested to work with ngons up to 75k sides, performance is approx ~6x faster then scanfill.

This is a 2D version of BLI_kdtree with modifications:
- nodes can be removed
- an index -> node map is stored (especially for tessellation)
June 13, 2014, 22:21 (GMT)
Polyfill2d: avoid calculating polygon winding (its known in all cases)
June 13, 2014, 22:21 (GMT)
Polyfill2d: Switch directions on concave triangles

Better topology and minor speedup
June 13, 2014, 22:21 (GMT)
Polyfill2d: replace array with linklist, faster resizing

approx 4.0x speedup
June 13, 2014, 21:40 (GMT)
Cycles: Add support for uchar4 attributes.

* Added support for uchar4 attributes to Cycles' attribute system.
* This is used for Vertex Colors now, which saves some memory (4 unsigned characters, instead of 4 floats).
* GPU Texture Limit on sm_20 and sm_21 decreased from 95 to 94, because we need a new texture for the uchar4 attributes. This is no problem for sm_30 or newer.

Part of my GSoC 2014.
June 13, 2014, 21:35 (GMT)
Attempt to fix sign conversion error happening on buildbot
June 13, 2014, 21:24 (GMT)
Code optimization.
The system create a new vertex group, to put the results.
June 13, 2014, 21:23 (GMT)
Implement GLSL code for XYZ nodes.
June 13, 2014, 21:10 (GMT)
Follow up for previous commit: need to tweak args for scons as well
June 13, 2014, 21:08 (GMT)
OSX: update codesigning rules to 2.71
June 13, 2014, 21:02 (GMT)
Cycles: Fix compilation error of AVX2 kernel with GCC/Clang
June 13, 2014, 20:26 (GMT)
Code cleanup.
June 13, 2014, 20:26 (GMT)
Cycles: Add an AVX2 CPU kernel.

This kernel is compiled with AVX2, FMA3, and BMI compiler flags. At the moment only Intel Haswell benefits from this, but future AMD CPUs will have these instructions as well.

Makes rendering on Haswell CPUs a few percent faster, only benchmarked with clang on OS X though.

Part of my GSoC 2014.
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021