Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
AgeCommit message (Collapse)Author
2015-07-18Cycles: Point density texture supportSergey Sharybin
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!
2015-07-18Point density: Add utility function to sample density outside of render pipelineSergey Sharybin
Not currently used, it's a preparation for the further work. Should not be functional changes.
2015-07-18Use gpu-buffers for UV-edge drawingCampbell Barton
2015-07-18Fix/enhance behavior of VES's 'alt-rmb' selection.Bastien Montagne
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!
2015-07-18Replace MFace w/ MLoopTri in imapaint_pick_uvCampbell Barton
D1415 by @scorpion81, with minor edits
2015-07-18Fix (IRC reported) inverted behavior of select more/less in VSE.Bastien Montagne
Also, cleaned up a bit that code, and added releavnt entries in Select menu. Reported on IRC by Leon Cheung, thanks!
2015-07-18Cleanup: whitespace & break placementCampbell Barton
2015-07-18CMake: Add option to enable -Werror cflag in some areasSergey Sharybin
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
2015-07-18Cleanup: whitespace (CMake)Campbell Barton
2015-07-17Cleanup: wsCampbell Barton
2015-07-17Only use material callback when enabledCampbell Barton
Vert/Face select in painting modes weren't drawing after recent changes.
2015-07-17Add check for GPU materials enable stateCampbell Barton
2015-07-17Avoid getting the original index if its not neededCampbell Barton
2015-07-17Absent-mindedness...Remove testing codeAntony Riakiotakis
2015-07-17Fix GLSL code not working correctly for Macs without VBO, again reportAntony Riakiotakis
by scorpion81 on irc
2015-07-17Fix T45469: Vertex Group weight = 0.0 in scene 2.Bastien Montagne
2015-07-17Fix T45464: Blender Sequencer "Select Strips to the Left" produces opposite ↵Bastien Montagne
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.
2015-07-17Fix issue reported by scorpion81 on irc: material mode + flat shadingAntony Riakiotakis
artifacts in cycles textured mode.
2015-07-17Avoid double index lookup mesh/selection drawingCampbell Barton
2015-07-17Avoid accessing MTFace drawing subsurfCampbell Barton
2015-07-17Fix another index error, made multimaterial mapped meshes drawAntony Riakiotakis
incorrectly.
2015-07-17Change winding of looptris in subsurf so they point to the sameAntony Riakiotakis
direction as the surface.
2015-07-17Fix crash texpainting on subsurfed meshes.Antony Riakiotakis
Unfortunately, loops and polys are generated, therefore we need to keep copies. Still not painting after this commit but at least no crash now.
2015-07-17Cleanup: ws & correct commentCampbell Barton
2015-07-17Projection Paint: move to looptri dataCampbell Barton
2015-07-17Don't create MFace's when calculating normalsCampbell Barton
Instead only create MFace layer when its requested
2015-07-17Add macro BKE_MESH_TESSTRI_VINDEX_ORDERCampbell Barton
gives the index of a vertex in a looptri
2015-07-17Fix T45465Antony Riakiotakis
Easy one, we don't draw quads anymore. Also normal didn't use polygon index
2015-07-17Fix no longer being possible to display a suzanne with 8 levels ofAntony Riakiotakis
subdivision. Classic integet overflow/size_t substitution case. Machines are getting powerful enough to easily expose these kinds of error now.
2015-07-17Cleanup image's poll funcs.Bastien Montagne
Checking space returned from CTX_wm_space_image() is SPACE_IMAGE type... tssst. :)
2015-07-17Fix T45462: Do not enale 'replace image' op with packed images.Bastien Montagne
2015-07-17Let's use proper helpers for debug-only vars...Bastien Montagne
2015-07-17Make strict flags happy in release buildsSergey Sharybin
2015-07-16Remove MTFace DM_paint_uvlayer_active_get funcCampbell Barton
2015-07-16Fix for error in looptri commitCampbell Barton
Sculpting w/ subsurf crashed
2015-07-16Split ray_face_intersection into quad/tri versionsCampbell Barton
Since many callers only need a single triangle
2015-07-16Add tessellation data to DerivedMesh (LoopTri)Campbell Barton
This stores loop indices into the loop array giving easier acess to data such as vertex-colors and UV's, removing the need to store an MFace duplicate of custom-data. This doesn't yet move all internal code from MFace to LoopTri just yet. Only applies to: - opengl drawing - sculpting (pbvh) - vertex/weight paint Thanks to @psy-fi for review, fixes and improvements to drawing!
2015-07-16Fix T45428: Sometimes in a dupligroup linked actuators are not triggeredDalai Felinto
Revert "BGE: Cleanup : merge 3 loop in 1 in function DupliGroupRecurse." This reverts commit 371e5f25a054759014efa27c6fe4d497854ed64e. The fix is basically to revert the cleanup commit 371e5f25 (and 3d658bf7) Also 5dc22fbbf had to be adapted to the reverted code. Conflicts: source/gameengine/Ketsji/KX_Scene.cpp
2015-07-16Fix T45459: Edge Length with Separate Units Displayed As 1m 100cm.Bastien Montagne
Our 'unit epsilon' was too small, given the fact we only display up to four digits usually...
2015-07-16Fix T45451: File Browser crash on 16bits PNG image previews.Bastien Montagne
Issue was that with those files, Blender generate a float image by default, not a byte one... Now, we ensure in two places we only get a byte imbuf for our thumbnails!
2015-07-16Fix for the previous commit: overallocation of an arraySergey Sharybin
2015-07-16Fix T45446: Crash when baking a certain objectSergey Sharybin
Issue was caused by deform vert layer existing in the mesh. Solved in quite simple way, but it still might be missing some other layers. Any custom data experts around to check if it's correct?
2015-07-16Sculpt draw code:Antony Riakiotakis
Remove legacy code completely, now dyntopo, multires et al even work on GL 1.1 for really hardcore users :p Real purpose here though is to be able to have fast multires drawing even with VBO off, since it requires using indices for vertex buffers. Also made own code elf puke an eaten normal update function which made multires not update normals in solid mode...sorry.
2015-07-16Fix T45456: Error's in splash don't restore cursorCampbell Barton
2015-07-16Disable check for recent-files.txt existingCampbell Barton
slows startup on remote, network fs... etc.
2015-07-16Optimize Vertex Color updateCampbell Barton
Avoid recalculating the material color when its the same as the last.
2015-07-15Icons: Add new 'library_data_broken' one.Bastien Montagne
2015-07-15 VBO offscreen selection drawing, cdderivedmeshAntony Riakiotakis
Get rid of legacy drawing, it's only used for selection, in which case we can prepare a temporary color buffer and draw at once. Code is not complete here because we still redundantly set the draw color in the draw function and don't ommit hidden faces automatically. Still it works 100% without immediate mode now.
2015-07-15Fix own stupid error in yesterday's refactor of recursive dir creation.Bastien Montagne
Missed adding return value in one place. Thanks a lot to Thomas Szepe for reporting the issue and finding the solution! Question remains: how could MSVC allow such a code to compile in some cases (own win64 + scons buildbot win32 were OK with that it seems!). Crappy compiler, not comming to the rescue of stupid dev...
2015-07-15Fix T45439 crash with subsurf when many materials present.Antony Riakiotakis
Silly oversight on the viewport patch