Blender Git Loki

Blenderin Git "master"-kehityshaaran kommitit.

Page: 2779 / 5574

September 25, 2014, 21:59 (GMT)
Fix build errors in atomic ops and warning in aligned malloc on OS X.
September 25, 2014, 21:12 (GMT)
OpenGL fix: GL_COLOR_ARRAY is client state
September 25, 2014, 20:03 (GMT)
Cycles: Keep ccl_always_inline always inlining the stuff

It works around strange shading bug when building with MSVC.
If such weirdeness continues, we perhaps would need to use
proper inline flags all the time.

Anyway, lets see how things will behave now.
September 25, 2014, 19:34 (GMT)
Cycles: Accidentally inverted the logic of NDEBUG macro
September 25, 2014, 19:02 (GMT)
Cycles: Better feedback about experimental features being used

Instead of having a label which basically duplicated the information
about experimental feature set being used (which had a bug because
it claimed experimental GPU kernel is used even if compute device is
CPU btw) now we've got an enum item icon.

So once you switched to experimental feature set you'll see an
exclamation mark icon in the enum, so you know something might be
unstable or slow.
September 25, 2014, 18:40 (GMT)
Guardedalloc: Implement atomic peak memory update

Updating maximum requires a bit of a cycle which usually does 1 iteration only,
sometimes needs a bit more but seems there's no speed regressions.

For now the code is commented out. This way it's easier for others to verify
there's no speed regressions.

Reviewers: campbellbarton

Differential Revision: https://developer.blender.org/D626
September 25, 2014, 18:33 (GMT)
Atomics: Add CAS (compare-and-swap) functions
September 25, 2014, 18:27 (GMT)
Cycles: Fix for the MSVC which doesn't have default osteram constructor
September 25, 2014, 18:07 (GMT)
Cycles: Make CUDA backend aware of sm_52 (Maxwell).

In order to compile the new kernel you need to specify sm_52 in SCons / CMake, and use CUDA Toolkit 6.5.19, from here: https://developer.nvidia.com/cuda-downloads-geforce-gtx9xx

Note: sm_52 is not enabled per default yet, so it won't be bundled with the Buildbot builds. That will be addressed later.
September 25, 2014, 17:28 (GMT)
Cycles: Add support for cameras inside volume

Basically the title says it all, volume stack initialization now is aware that
camera might be inside of the volume. This gives quite noticeable render time
regressions in cases camera is in the volume (didn't measure them yet) because
this requires quite a few of ray-casting per camera ray in order to check which
objects we're inside. Not quite sure if this might be optimized.

But the good thing is that we can do quite a good job on detecting whether
camera is outside of any of the volumes and in this case there should be no
time penalty at all (apart from some extra checks during the sync state).

For now we're only doing rather simple AABB checks between the viewplane and
volume objects. This could give some false-positives, but this should be good
starting point.

Need to mention panoramic cameras here, for them it's only check for whether
there are volumes in the scene, which would lead to speed regressions even if
the camera is outside of the volumes. Would need to figure out proper check
for such cameras.

There are still quite a few of TODOs in the code, but the patch is good enough
to start playing around with it checking whether there are some obvious mistakes
somewhere.

Currently the feature is only available in the Experimental feature sey, need
to solve some of the TODOs and look into making things faster before considering
the feature is ready for the official feature set. This would still likely
happen in current release cycle.

Reviewers: brecht, juicyfruit, dingto

Differential Revision: https://developer.blender.org/D794
September 25, 2014, 17:17 (GMT)
Fix T39823: SSS scatter doesn't update volume stack, causing shading artifacts

Basically the title says it all, we need to update volume stack when doing ray
scatter for SSS. This leads to speed regressions in cases scene does have both
volume and SSS (performance in case there's no SSS or no volume should be the
same).

We might try optimizing kernel_path_subsurface_update_volume_stack() a bit by
either recording all intersections or using some more appropriate visibility
flags.

Reviewers: brecht, juicyfruit, dingto

Differential Revision: https://developer.blender.org/D795
September 25, 2014, 13:38 (GMT)
Expose show brush property for UV sculpting.
September 25, 2014, 12:33 (GMT)
Fix previous commit rB34abb614f1344a6, which broke addons translations.

Ghash comp callbacks must return false in case a & b are equal!

Also slightly cleaned up gash code using those comp func,
since those return booleans now, let's compare tham against booleans!
September 25, 2014, 11:08 (GMT)
Cycles: Add method to dump current shader graph to the graphiz file

This is rather useful to see how good optimization went and so.

Currently uses quite simple notation: shader nodes are nodes on the
graph, connects between graph nodes are named by the sockets names,
so i.e. connection between BSDF and Mix would be named bsdf:closure1.

Could be improved in the feature to draw fancier graph, but it's good
enough already.

Use in the following way:
- To create graphix file call graph->dump_graph("graph.dot")
- To visualize the grapf call: dot -Tpng graph.dot -o graph.png
September 25, 2014, 11:08 (GMT)
Cycles: Don't inline functions for debug CPU kernel

Nobody will use debug mode for benchmarks anyway and this way it's much easier
to set breakpoints on inlined functions to catch all their usages.
September 25, 2014, 11:08 (GMT)
Cycles: Add support of Glog logging

This commit makes it possible to use Glog library for the debug logging.
For now only possible when using CMake and in order to use the logging
the WITH_CYCLES_LOGGING configuration variable is to be enabled.

When this option is not enabled or when using Scons there's no difference
in Cycles behavior at all, when using logging and no output to the console
impact is gonna to be minimal.

This is done in order to make it possible to have debug logging persistent
in code (without need to add it when troubleshooting some bug and removing
it afterwards).

For now actual logging is not placed yet, only all the functions needed for
the logging are written and so.
September 25, 2014, 11:04 (GMT)
Tracking: Decouple C-API module into more granular files

This way maintaining the C-API is a bit less tedious job
and makes code cleaner to follow.

Should be no functional changes.
September 25, 2014, 11:04 (GMT)
Fix ghash comparator used by translation

It now need to return bool whether element matched or not.
September 25, 2014, 10:44 (GMT)
Quick Smoke: Only generate Fire/Smoke Nodes when actually used, this is a bit faster for the renderer.
September 25, 2014, 07:04 (GMT)
Update Ceres to latest upstream version

As usual brings fixes and speed improvements.
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021