Blender Git Loki

Kaikki Blender Git kommitit.

Page: 4762 / 8462

July 14, 2015, 19:41 (GMT)
Usual i18n messages fixes...
July 14, 2015, 19:23 (GMT)
Merge branch 'master' into temp_display_optimization
July 14, 2015, 19:09 (GMT)
Merge branch 'master' into temp-ui-widget-refactor
July 14, 2015, 19:06 (GMT)
Fix weirdly appearing and disappearing compile error
July 14, 2015, 16:57 (GMT)
Fix T45424: Blender able to create folders with invalid characters at the end of the name.

In fact, filebrowser was not making any checks for invalid file/dir names here!

Added checks in the three places that should be protected:
* Renaming.
* Creating dirs.
* Typing in filename field.
July 14, 2015, 16:57 (GMT)
BLI_path_utils: fix/enhance BLI_filename_make_safe(), add BLI_path_make_safe().

BLI_filename_make_safe had several issues:
* Would replace all dots ('.'), not a great idea since it would break extensions.
* Was not checking for 'control' ASCII chars (though unlikely, better to be safe here).
* Win32 only: was not checking for forbidden names (con, aux, ltp0, com0, etc.).

New BLI_path_make_safe() simply checks each path's item with BLI_filename_make_safe().
July 14, 2015, 16:57 (GMT)
BLI_fileops: Make BLI_dir_create_recursive() return success/error status.

Handy to know directly whether a file creation succeeded or not.

Also, made a few more changes in this func, and harmonized a bit win32/*nix versions.
July 14, 2015, 16:52 (GMT)
Particle Info node support for GLSL mode and the internal render.

With this patch "Particle Info" node from Cycles works in GLSL and BI

Alexander (Blend4Web Team)

Reviewers: psy-fi
Note: moved particle info to object render instance instead of
shadeinput during review - Antony.

Differential Revision: https://developer.blender.org/D1313
July 14, 2015, 16:50 (GMT)
OpenSubdiv: Cleanup of include directories
July 14, 2015, 16:48 (GMT)
OpenSubdiv: Remove code responsible for topology creation from DM

It was moved to Blender side, no need to do bad level data access.
July 14, 2015, 16:45 (GMT)
OpenSubdiv: Implement topology refiner converter from Blender side

This way it's possible to avoid having bad level calls to DM code from
intern/opensubdiv and also makes it possible to create topology refiner
from CCGSubSurf structure in the future.
July 14, 2015, 15:27 (GMT)
Another alternative BVH Tree representation for totally custom user
geometry.

The new constructor method allows creating a BVHTree from a list of
vertices and triangles directly, without a separate mesh representation.
July 14, 2015, 15:25 (GMT)
OpenSubdiv: Optimize topology refiner

Avoid allocation and gathering of edge and face connectivity information
when ordering vertex edges/faces.

Still not totally optimal, but gives 2x speedup for refiner creation.
July 14, 2015, 15:03 (GMT)
GP Sculpt: Shift-F affects brush strength, and Ctrl-F affects brush size

These hotkeys do not work when the brush is being used...
July 14, 2015, 14:57 (GMT)
GP Sculpt: Dampen Pinch brush strength

By trial and error, it seems that dividing the influence by 5 makes this tool
more manageable.
July 14, 2015, 14:56 (GMT)
OpenSubdiv: Fix some typos from previous commit
July 14, 2015, 14:51 (GMT)
GP Sculpt: Pinch brush can now be inverted using Ctrl (i.e. "Inflate")

Just like with the mesh sculpting tools, holding Ctrl can now be used to
apply the inverse transform when using the pinch brush. So, instead of
drawing the points towards the brush, Inflate will push them away.
July 14, 2015, 14:48 (GMT)
Display optimizations part 1.

This patch changes the way we draw meshes by introducing
indexed drawing. This makes it possible to easily
upload and rearrange faces ad lib according to any criteria.

Currently we use material sorting but textured sorting and
hiding will be added to optimize textured drawing and skip
per face testing.

It also adds support for vertex buffers for subsurf
modifiers (Except from GLSL drawing), making drawing of
subsurf much faster without need for bogus modifiers.

Tests show that we gain approximately 20-25% performance
by that for solid mode drawing with up to 50% gains for
material drawing. Textured drawing should also have a
small performance gain, but more substantial optimizations
are possible there.

Reviewers: campbellbarton

Differential Revision: https://developer.blender.org/D1406
July 14, 2015, 14:46 (GMT)
OpenSubdiv: Initial wok over separation of legacy and new evaluators

Since the CCGSubSurf.c file started to grow rather insanely and not being
possible at this moment to drop old evaluator it makes sense to split
evaluators into own files. This way code becomes a bit easier to follow,
plus in the future it should help isolating and removing code which is
no longer used.

Still some polishing is possible, but need to get started somewhere.
July 14, 2015, 14:42 (GMT)
GP Sculpt: Initial implementation of "Pinch" Brush

This brush draws all the points inwards towards the midpoint of the brush.
I'm not sure if this brush is really that useful or not, so I'll leave it
as-is for now.

Watch out for how strong you set the brush to be; even with 0.3, you can already
get some really strong/rapidly changing results.
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021