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
AgeCommit message (Collapse)Author
2018-03-13Cycles: Add BVH8 and packeted triangle intersectioncycles_bvh8Sergey Sharybin
This is an initial implementation of BVH8 optimization structure and packated triangle intersection. The aim is to get faster ray to scene intersection checks. Scene BVH4 BVH8 barbershop_interior 10:24.94 10:10.74 bmw27 02:41.25 02:38.83 classroom 08:16.49 07:56.15 fishy_cat 04:24.56 04:17.29 koro 06:03.06 06:01.45 pavillon_barcelona 09:21.26 09:02.98 victor 23:39.65 22:53.71 Original BVH8 patch from Anton Gavrikov. batched triangles intersection from Victoria Zhislina. Extra work and tests and fixes from Maxym Dmytrychenko.
2018-03-13Fix T54302 - Wrong added scene when adding a scene strip to the SequencerJoshua Leung
When adding scene strips to the sequencer, the wrong scenes were getting getting added if some were skipped. For example: Given 4 scenes (A, B, C, D) if you're trying to add the last 3 scenes (B, C, D) as strips to the first scene (A), it would ended up adding "A, B, C" instead of "B, C, D" as expected. Fix provided by Andrew (signal9).
2018-03-13Use Action datablock's own icon (instead of Animation Data's one) for File ↵Joshua Leung
Browser's lib icons
2018-03-13Cleanup: long lines, use doxy sectionsCampbell Barton
2018-03-12Fix T54299: crash rendering objects with motion blur disabled, after recent ↵Brecht Van Lommel
changes.
2018-03-12Cycles: reorganize tests in more evenly distributed groups.Brecht Van Lommel
2018-03-12Cycles: add constant folding to displacement nodes.Brecht Van Lommel
2018-03-12Fix type in commentSergey Sharybin
2018-03-12Depsgraph: Make timing profile a command line optionSergey Sharybin
This way we can add even more statistics, even one which will be print to the console. Would be nice if we also have verbosity level control.
2018-03-12Fix T54296: Cycles viewport render stuck on constant re-renderSergey Sharybin
Need Clear ID recalc flag on load. Otherwise it's possible to have some IDs considered always updated by Cycles, when they were saved in a tagged-for-update state. Thanks Bastien for feedback and review!
2018-03-12Cleanup: remove misleading array sizeCampbell Barton
2018-03-12Cleanup: typoCampbell Barton
2018-03-12Cleanup: sync EDBM_uv_* functions w/ 2.8Campbell Barton
They're nearly the same, so keep names matching to avoid conflicts.
2018-03-12UV: internal changes to pickingCampbell Barton
Nothing user visible, only things needed for multi-object support, making picking functions more flexible too. - Support passing in an initialized hit-struct, so it's possible to do multiple nearest calls on the same hit data. - Replace manhattan distance w/ squared distance so they can be compared. - Return success to detect changes to a hit-data which might already be initialized (also more readable).
2018-03-11fix Collada: wrong usage of pointer and hidden redeclarationGaia Clary
* Suspicious usage of pointer: short *type = 0; // this creates a null pointer When this is later used for anything then blender would crash. After following the code and check what happens i strongly believe the author wanted to use a short and not a pointer to a short here. * local variable where reused later in same function While this did no harm, i still felt it was better to use a different name here to make things more separated: - moved variable declaraiotns into loop (for int a=0; ...) - renamed uv_images to uv_image_set - renamed index variable from i to j in inner loop that reused same index name from outer loop
2018-03-11Cleanup Collada: Removed duplicate variable settingGaia Clary
2018-03-11Cleanup: avoid redeclaration of iterator in same functionGaia Clary
The iterator was redeclared 3 times. I fixed this to avoid future issues. I commit separately because so the changes are less cluttered all over the place.
2018-03-11Cleanup Collada: Avoid unintentional reuse of previous defined variableGaia Clary
The variable child was redeclared multiple times in the same function. While this has not created any issues i still changed this to avoid confusion and keep the usage of the variables more local.
2018-03-11Fix Collada: Avoid unnecessary and even wrong check on unavailable dataGaia Clary
The function validateConstraints() potentially causes a null pointer exception. I changed this so that the function returns a failure as soon as the validation fails. This avoids falling into the null pointer trap.
2018-03-11Cleanup Collada: Make sure index variables are not reusedGaia Clary
The variables i and j have been declared before in the same function. I changed the names to mi and mj to keep things clear.
2018-03-11Cleanup Collada: make sure float array is initialisedGaia Clary
This is just to silence a compiler warning and keeping the code clean. The actual code never uses uninitialised array elements.
2018-03-11Refactor Collada: combined 2 almost identical functions into oneGaia Clary
The 2 methods add_bezt() and create_bezt() do almost the same. I combined them both into add_bezt() and added the optional parameter eBezTriple_Interpolation ipo
2018-03-11Fix T54274, and rename option --window-borderless to --window-fullscreenArto Kitula
2018-03-11Cleanup: long linesCampbell Barton
2018-03-10Cycles: add roughness baking support, using squared roughness convention.Brecht Van Lommel
2018-03-10Cycles: switch to squared roughness convention for all nodes.Brecht Van Lommel
This was already done for the Principled BSDF to be compatible with typical baked roughness maps in PBR workflows.
2018-03-10Code cleanup: fix compiler warning.Brecht Van Lommel
2018-03-10Fix T54279: viewport update bug with volume meshes.Brecht Van Lommel
Meshes without vertex normals were not handled correctly.
2018-03-10Code refactor: reduce number of loops over meshes.Brecht Van Lommel
2018-03-10Fix T54278: volume artifacts with small density and color after recent changes.Brecht Van Lommel
2018-03-10Fix T54269: saved EXR file files unreadable some editors in Blender.Brecht Van Lommel
Don't write the multichannel metadata when there is only a single layer, and don't unnecessarily consider single layer images with Blender metadata as multi layer.
2018-03-10Code cleanup: use spaces for aligned indentation.Brecht Van Lommel
2018-03-10Cycles: support arbitrary number of motion blur steps for objects.Brecht Van Lommel
2018-03-10Cycles: support arbitrary number of motion blur steps for cameras.Brecht Van Lommel
2018-03-10Code refactor: motion blur cleanups, preparing for next commit.Brecht Van Lommel
2018-03-10Code refactor: don't expose UpdateObjectTransformState in header.Brecht Van Lommel
2018-03-10Code refactor: make Transform always affine, dropping last row.Brecht Van Lommel
This save a little memory and copying in the kernel by storing only a 4x3 matrix instead of a 4x4 matrix. We already did this in a few places, and those don't need to be special exceptions anymore now.
2018-03-10Code refactor: add DecomposedTransform.Brecht Van Lommel
This is in preparation of making Transform affine only, and also gives us a little extra type safety so we don't accidentally treat it as a regular 4x4 matrix.
2018-03-10Code refactor: add ProjectionTransform separate from regular Transform.Brecht Van Lommel
This is in preparation of making Transform affine only.
2018-03-10Code refactor: avoid motion transform copy, remove unused curved code.Brecht Van Lommel
The purpose of the previous code refactoring is to make the code more readable, but combined with this change benchmarks also render about 2-3% faster with an NVIDIA Titan Xp.
2018-03-10Code refactor: use KernelShader and KernelParticle instead of float arrays.Stefan Werner
Original patch by Stefan with modifications by Brecht.
2018-03-10Code refactor: use KernelLight instead of float4 arrays.Stefan Werner
Original patch by Stefan with modifications by Brecht.
2018-03-10Code refactor: use KernelOject struct instead of float4 array.Stefan Werner
Original patch by Stefan with modifications by Brecht.
2018-03-09Don't add "Report a Bug" button for official tracker to non-official add-onsJulian Eisel
If no custom URL was set, add-ons would get a "Report a Bug" button opening the default developer.blender.org bug tracker. Now we only add this default button if the add-on is bundled and not installed by the user.
2018-03-09Fix Pose Lib: pose is applied when selected bones don't overlap with poseSybren A. Stüvel
Premise: When pose bones are selected, applying a pose library should only affect the selected bones. This commit fixes a bug where the pose was also applied when there was no overlap between the selected bones and the bones in the pose. For example, applying a pose which contains only keyframes for the left hand, while only right-hand bones are selected, would apply the pose to the left hand anyway. The code is now also slightly more efficient; the removed 'selcount' counter was only used as a binary (i.e. zero or non-zero). It's now stored as a bitflag instead.
2018-03-09FFmpeg: Add regression testsSergey Sharybin
Currently only covering handful of files from reports about wrong fps detected. It will need D3083 applied first to get tests passed, also tests themselves are to be committed to svn. But there are some python code which needs to be reviewed, like blendfile passed to run_blender(). Reviewers: sybren, mont29 Reviewed By: sybren, mont29 Subscribers: mont29 Differential Revision: https://developer.blender.org/D3096
2018-03-09Fix T53857: Incorrect framerate for videos imported from OBSSergey Sharybin
This is an issue with which value to trust: fps vs. tbr. They both cam be somewhat broken. Currently the idea is: - If file was saved with FFmpeg AND we are decoding with FFmpeg we trust tbr. - If we are decoding with Libav we use fps (there does not seem to be tbr in Libav, unless i'm missing something). - All other cases we use fps. Seems to work all good for files from T53857, T54148 and T51153. Ideally we would need to collect some amount of regression files to make further tweaks more scientific. Reviewers: mont29 Reviewed By: mont29 Differential Revision: https://developer.blender.org/D3083
2018-03-08Cleanup: Rename view3d context set functionCampbell Barton
Use common prefix so adding related functions share the prefix.
2018-03-08Cleanup: use edit/active objects from view contextCampbell Barton
Needed to implement multiple edit-objects.
2018-03-08Cleanup: set the view-context onceCampbell Barton