Blender Git Commits

Blender Git "master" branch commits.

Page: 2176 / 5574

Revision 4f4a484 by Luca Rood
March 23, 2017, 06:52 (GMT)
Cloth refactor: Remove goal springs and some other cleanup

This removes the goal springs, in favor of simply calculating the goal forces on the vertices directly. The vertices already store all the necessary data for the goal forces, thus the springs were redundant, and just defined both ends as being the same vertex.

The main advantage of removing the goal springs, is an increase in flexibility, allowing us to much more nicely do some neat dynamic stuff with the goals/pins, such as animated vertex weights. But this also has the advantage of simpler code, and a slightly reduced memory footprint.

This also removes the `f`, `dfdx` and `dfdv` fields from the `ClothSpring` struct, as that data is only used by the solver, and is re-computed on each step, and thus does not need to be stored throughout the simulation.

Reviewers: sergey

Reviewed By: sergey

Tags: #physics

Differential Revision: https://developer.blender.org/D2514
Revision 09ad684 by Mike Erwin
March 23, 2017, 05:46 (GMT)
cleanup use of GPU matrix API

Take advantage of 2D functions, rotation about the X Y or Z axis, uniform scale factors.

We no longer need to call gpuMatrixBegin_legacy() before using the new API locally in functions.

related to T49450
March 23, 2017, 04:33 (GMT)
OpenGL: `paint_cursor` port to immediate mode (Part 2)

Part of T49043
Revision 4d82d52 by Mai Lavelle
March 23, 2017, 04:14 (GMT)
Cycles: Fix building for some compilers
March 23, 2017, 04:05 (GMT)
Cleanup: remove redundant temp dir init

This is already called by wm_init_userdef, in old code
different initialization methods were used but now it's not needed.

Confusing since prefs are loaded in this function that don't initialize temp.
Revision b69f047 by Mike Erwin
March 23, 2017, 01:33 (GMT)
OpenGL: remove GLU option from build system

Also remove linking in glu libs.

T49042 is now done!
Revision 005b7bf by Mike Erwin
March 23, 2017, 01:33 (GMT)
remove mention of GLU from comments

related to T49042
Revision 559bfd9 by Mike Erwin
March 23, 2017, 01:33 (GMT)
convert last remaining GLU calls in BGE

Focus is on getting rid of GLU. We expect UPBGE to replace current BGE.

Part of T49042
March 22, 2017, 23:42 (GMT)
Cleanup: minor wm_homefile_read simplification

Logic in this function is a bit scattered,
minor changes to avoid confusion.

Also rename 'from_memory' to 'use_factory_settings'.
March 22, 2017, 22:43 (GMT)
OpenGL: `paint_cursor` port to immediate mode (Part 1)

Part of T49043
March 22, 2017, 20:29 (GMT)
Object Mode Engine: New grid drawing.

Move the grid drawing to the Object mode engine and implement a new infinite grid.
Everything is done but it needs better parameters to be intuitive.
March 22, 2017, 20:29 (GMT)
Draw Module: Move the Global Ubo block definition to it's own file.
Revision 762319e by Mike Erwin
March 22, 2017, 20:26 (GMT)
fix redundant assignment

Thanks clang for the warning.
Revision 4646ecf by Mike Erwin
March 22, 2017, 19:52 (GMT)
OpenGL: use new API for persp & ortho projection

Still using legacy GL within the GPU library itself, but we'll be able to switch soon.

Part of T49450
March 22, 2017, 19:33 (GMT)
Cleanup: remove BLI_getlastdir

Replace with BLI_path_name_at_index
March 22, 2017, 18:54 (GMT)
Pydoc: Change Wikipedia links and grammar in mathutils matrix code
Revision 98a0dd6 by Mike Erwin
March 22, 2017, 18:48 (GMT)
OpenGL: load projection matrix with new API

New API does not share legacy OpenGL's concept of matrix modes.

Part of T49450
Revision 0c2fd13 by Mike Erwin
March 22, 2017, 18:45 (GMT)
OpenGL: fix new projection matrix API

Now using the correct GL enum.
Part of T49450
March 22, 2017, 18:42 (GMT)
Cleanup/optimization: Simplify some usages of uiItemFullO/_ptr, avoid multiple search of same op.
March 22, 2017, 18:24 (GMT)
Cleanup: ignore open-blend as startup/prefs basis

No reason startup/prefs would ever be blend-file relative.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021