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
2017-08-18Eevee: Add some utils functionsClément Foucault
2017-08-18Eevee: MinmaxZ: Avoid unecessary conversions.Clément Foucault
2017-08-18GPU_texture : Add RG8 format.Clément Foucault
2017-08-18Eevee: Fix some problem with Glass & Diffuse BSDF with SSRClément Foucault
Diffuse was not outputing the right normal. (this is not a problem with SSR actually) Glass did not have proper ssr_id and was receiving environment lighting twice. Also it did not have proper fresnel on lamps.
2017-08-18Fix ubo vec3 alignment issueDalai Felinto
This fixes the Principled shader in Eevee, among other nodes. Basically before we were treating all the vec3 as vec4 as far as memory goes. We now only do it when required (aka, when the vec3 is not followed by a float). We can be even smarter about that and move the floats around to provide padding for the vec3s. However this is for a separate patch. That said, there seems to be some strong consensus in corners of the internet against using vec3 at all [1]. Basically even if we get all the padding correct, we may still suffer from poor driver implementations in some consumer graphic cards. It's not hard to move to vec4, but I think we can avoid doing it as much as possible. By the time 2.8 is out hopefully most drivers will be implementing things correctly. [1] - https://stackoverflow.com/questions/38172696
2017-08-18PyAPI: Gawain checks for rangeCampbell Barton
Raise error on vert-buffer data overflow. Also exception on attempting to fill data thats already on the GPU.
2017-08-18Fix building w/o AudaspaceCampbell Barton
2017-08-18Audaspace: Moving audaspace 1.3 into extern.Jörg Müller
Deleting the old internal audaspace. Major changes from there are: - The whole library was refactored to use C++11. - Many stability and performance improvements. - Major Python API refactor: - Most requested: Play self generated sounds using numpy arrays. - For games: Sound list, random sounds and dynamic music. - Writing sounds to files. - Sequencing API. - Opening sound devices, eg. Jack. - Ability to choose different OpenAL devices in the user settings.
2017-08-18Cleanup: use lowercase prefix for local API'sCampbell Barton
Also some minor corrections.
2017-08-18PyAPI: Iniital gawain API for PythonCampbell Barton
Wraps vertex-format, vertex-buffer and batch's (enough for drawing). Doesn't yet expose index-buffers or shaders.
2017-08-18RNA: don't register manipulator properties by nameCampbell Barton
Matching behavior for operators.
2017-08-17Fix blenderplayerDalai Felinto
2017-08-17Merge branch 'master' into blender2.8mano-wii
2017-08-17Remove unnecessary #include "ED_transform.h"mano-wii
2017-08-17Transform: remove unused functionmano-wii
2017-08-17DwM: use batch select for vertex paint modeCampbell Barton
2017-08-16DwM: Use Batch's for drawing selectionCampbell Barton
Use mesh batch cache for mesh selection. Note that we could create the batches and free immediately so they don't take up memory. This resolves a problem where selection was limited to immediate-mode buffer size.
2017-08-16Transform: Move enum `SnapSelect` to `ED_transform_snap_object_context`mano-wii
2017-08-16Fix zombie manipulators when deleting collection from outlinerDalai Felinto
ND_LAYER and ND_LAYER_CONTENT both need to trigger manipulators updates.
2017-08-16Cleanup: rename GPU gawain functionsCampbell Barton
Were using Batch_ prefix still
2017-08-16Fix T52415: Copy/Pasting a mesh immediately crashes blenderDalai Felinto
Since the paste object is pasted in the active collection, and not on its original one, we need to flush/calculate the new collection base settings (visibility, selectability, ...). DEG_id_tag_update() for the scene now. Though it may be better to tag only the object specific IDs in the future.
2017-08-16Update code comments from DAG_id_tag_update to DEG_id_tag_updateDalai Felinto
2017-08-16Gawain: remove GWN_batch_discard_allCampbell Barton
Use ownership flags instead.
2017-08-16Fix T52414: Blender 2.79 crash on object duplication via menu.Bastien Montagne
Caused by own recent changes in handling of verts/edges/etc. arrays storage for raycasting (rBe324172d9ca6690e8). Issue was actually even weirder - there is absolutely no reason at all to release DM here, those finaldm are stored in Object or EditMesh structs and handled by general update system, other code shall never try to release them!
2017-08-16Depsgraph/Layers: Keep original visibility when doing full scene copyDalai Felinto
Originally we were not respecting the original visibility flags of the collections. However this is required for Copy-on-write (CoW). Remember to update the svn lib tests folder. I had to update some of the json files there. Also adding a new unittest for this particular issue: Test render_layer_scene_copy_f
2017-08-16DwM: use gawain ownership flags for mesh drawingCampbell Barton
2017-08-16Pass EvaluationContext instead of bContextCampbell Barton
2.8x branch added bContext arg in many places, pass eval-context instead since its not simple to reason about what what nested functions do when they can access and change almost anything. Also use const to prevent unexpected modifications. This fixes crash loading files with shadows, since off-screen buffers use a NULL context for rendering.
2017-08-15Attempt to fix GLSL errors on Blender startup.Brecht Van Lommel
I couldn't reproduce either, but calling min() with different argument data types and indexing vectors with an index not known at compile time seem likely to cause problems. Ref T52404, T52404.
2017-08-15Merge branch 'master' into blender2.8Brecht Van Lommel
2017-08-15macOS build: simplify python install for new 10.9 libraries.Brecht Van Lommel
We stop using the .zip file and just have all files now in lib/darwin/python/lib, along with numpy, numpy headers and requests. This makes it consistent with Linux and simplifies code. For old libraries the .zip stays, code for that gets removed when we fully switch to new libraries.
2017-08-15Fix missing clear of Object->drawdata listbase in new copying code.Bastien Montagne
2017-08-15Fix remaining issues with new Scene copying.Bastien Montagne
Some idprops were not correctly merged from source into destination.
2017-08-15Bring new IDP_MergeGroup() on par with other copying logic.Bastien Montagne
We now have to support more complex copying types, which are controlled by flags, so all copying logic will need to take those at some point (at least, all potentially dealing with IDs).
2017-08-15Fix scene_collection_copy always afecting IDs usercount.Bastien Montagne
_copy_data() functions shall not do that at all anymore. Kept as option for now even though that helper is only called from here... Also moar varnames renaming to standard _src/_dst sufixes.
2017-08-15Cleanup: use 'gwn' prefix for gawain filenamesCampbell Barton
Looking up names project wide or setting breakpoints wasn't so. Names like common.h or element.h are also too generic.
2017-08-15Correct last commitCampbell Barton
2017-08-15Cleanup: rename vars with proper _src/_dst postfixes in new Scene ID data ↵Bastien Montagne
copy func.
2017-08-15Cleanup/refactor: no new general arg-less macros enforcing var names please!Bastien Montagne
We do have an history of those pieces of evil in our code, would be nice to get fully rid of it, but at the very least let's not add more of them in new code. :)
2017-08-15Fix new Scene ID copying code.Bastien Montagne
Missed depsgraph_legacy new pointer to nullify when merged/adapted new ID copying code to blender2.8.
2017-08-15Merge branch 'master' into blender2.8Sybren A. Stüvel
# Conflicts: # source/blender/makesrna/intern/rna_render.c
2017-08-15Manipulator: border editable only w/ selected cameraCampbell Barton
While this isn't really needed, active border was annoying.
2017-08-15Alembic import: report object name in face color index out of bounds errorSybren A. Stüvel
2017-08-15Alembic import: fix crash when face color index is out of bounds.Sybren A. Stüvel
This can happen with Alembic files exported from Maya. I'm unsure as to the root cause, but at least this fixes the crash itself. Thanks to @looch for reporting this with a test file. The test file has to remain confidential, though, so it's on my workstation only.
2017-08-15Fix blenderplayerDalai Felinto
2017-08-15Error in last commitCampbell Barton
Get/set mismatch, reading from pchan, writing to bone.
2017-08-15Manipulator: Add b-bone spline editingCampbell Barton
This needs some improvements since matching handles *exactly* is a bit involved.
2017-08-15Manipulator: grab3d use own vars to store offsetCampbell Barton
Was complicating general use case, also support for transforming with matrix_space set. Add matrix_space support for manipulator_window_project_2d too.
2017-08-15Manipulator: store initial-final matrix for reuseCampbell Barton
Also take matrix_space into account when calculating final pixel size.
2017-08-15Cycles/BI: Add a pixel size option for speeding up viewport renderingLukas Stockner
This patch adds "Pixel Size" to the performance options, which allows to render in a smaller resolution, which is especially useful for displays with high DPI. Reviewers: Severin, dingto, sergey, brecht Reviewed By: brecht Subscribers: Severin, venomgfx, eyecandy, brecht Differential Revision: https://developer.blender.org/D1619
2017-08-14Merge branch 'master' into blender2.8Bastien Montagne