Age | Commit message (Collapse) | Author |
|
|
|
|
|
D1418 by @scorpion81 with edits
|
|
D1419 by @lichtwerk
|
|
This still fails to build, but at least fail where its supposed to (using unsupported API's).
|
|
|
|
The tesselated silhouettes were not used in Freestyle for Blender at all.
|
|
Removed unnecessary header files and replaced some other heade files with
forward class declarations.
|
|
Member variables and auto variables were changed from real (double) to float
in most part of the FEdgeXDetector (except for curvature computations).
|
|
effect.
|
|
construction of winged edges.
|
|
detection.
Several class member variables were removed (at the cost of computing their values
when retrieved) or changed to a type of smaller size. Also fixed whitespace.
|
|
|
|
|
|
array instead of std::string.
|
|
Also 'com' as abbreviation for center-of-mass is a bit confusing, rename to 'center'.
|
|
Patch D1417 by Martin Felke, with minor edits thanks!
|
|
Code was actually skipping setting color selection indices and previous
commit actually broke mask selection in texture painting.
All should work now.
|
|
Caused by own changes to framebuffer selection code, code was not
packing color ids correctly.
|
|
There was possible race condition in the point density sampling caused
by access to the same data in particle system from sampling thread and
sampling initialization.
Could have happened when two different point density textures were using
same particle system
|
|
This commit implements point density texture for Cycles shading nodes.
It's done via creating voxel texture at shader compilation time, Not
totally memory efficient, but avoids adding sampling code to kernel
(which keeps render time as low as possible), In the future this will
be compensated by using OpenVDB for more efficient storage of sparse
volume data.
Sampling of the voxel texture is happening at blender side and the
same code is used as for Blender Internal's renderer.
This texture is controlled by only object, particle system and radius.
Linear falloff is used and there's no turbulence. This is because
falloff is expected to happen using Curve Mapping node. Turbulence
will be done as a distortion on the input coordinate. It's already
possible to fake it using nose textures and in the future we can add
more proper turbulence distortion node, which then could also be used
for 2D texture mapping.
Particle color support is done by Lukas, thanks!
|
|
Not currently used, it's a preparation for the further work.
Should not be functional changes.
|
|
|
|
Main issue in previous code was that you could not shift-alt-rmb select several
contiguous strips, result was pretty much unusable.
Also, enhanced general behavior of this selection mode, now (similar to alt-rm clicking
on handles), when you alt-rmb click on a same strip several times, you alternate between:
* Strip is selected, neighbor handles are selected;
* Strip and its handles are selected, neighbor handles are selected.
…which allows you to either grab or slide the strip.
And refactored a bit code too, linked_handle has a complete different logic
than without this option, simpler and clearer to completely separate them in code.
Initial issue reported by Leon Cheung on IRC, thanks!
|
|
D1415 by @scorpion81, with minor edits
|
|
Also, cleaned up a bit that code, and added releavnt entries in Select menu.
Reported on IRC by Leon Cheung, thanks!
|
|
|
|
It is rather annoying attitude nowadays to use const qualifier all over the
place, including using it for multi-dimensional arrays. This isn't really
supported in GCC prior to version 5.0 because it considers such an arrays
to be a "pointer to a const pointer" which gives implicit casting errors.
It's not possible to disable this particular type of warnings treated as
errors in any GCC version prior to 5.0 as well, meaning currently usage of
-Werror globally in Blender code is not possible at all.
This commit makes it possible to use -Werror in areas which are complaint
with older GCC versions. New advanced CMake options are:
- WITH_COMPOSITOR_WERROR
- WITH_LIBMV_WERROR
- WITH_CYCLES_WERROR
|
|
|
|
|
|
Vert/Face select in painting modes weren't drawing after recent changes.
|
|
|
|
|
|
|
|
by scorpion81 on irc
|
|
|
|
behavior to what is intended.
Logic was just broken for the LEFT case here.
Also cleaned up and made behavior more consistant between strips and markers.
|
|
artifacts in cycles textured mode.
|
|
|
|
|
|
incorrectly.
|
|
direction as the surface.
|
|
Unfortunately, loops and polys are generated, therefore we need to keep
copies. Still not painting after this commit but at least no crash now.
|
|
|
|
|
|
Instead only create MFace layer when its requested
|
|
gives the index of a vertex in a looptri
|
|
Easy one, we don't draw quads anymore. Also normal
didn't use polygon index
|
|
subdivision.
Classic integet overflow/size_t substitution case. Machines are getting
powerful enough to easily expose these kinds of error now.
|
|
Checking space returned from CTX_wm_space_image() is SPACE_IMAGE type... tssst. :)
|