Blender Git Loki

Kaikki Blender Git kommitit.

Page: 4446 / 8462

April 13, 2016, 12:25 (GMT)
Cycles: Resolve ridiculous amount of memory used by spatial split builder

This was only visible on systems with lots of threads and root of the issue
was that we've been pre-allocating too much memory for all the threads.

Now we only pre-allocate data for the main thread and rest of the threads
does allocation on-demand.

This brings down memory usage from 36Gig to 6.9Gig when building spatial
split for the Bunny.blend file on our Intel beast.

Originally regression was happened by the threaded spacial split builder
commit.
April 13, 2016, 11:41 (GMT)
Removed particle DNA.
April 13, 2016, 09:45 (GMT)
Removed particle system and particle instance modifiers.
April 13, 2016, 08:49 (GMT)
Removed blenkernel particle code.
April 13, 2016, 08:39 (GMT)
Fix T47813: Cycles Standalone not respecting integrator sample_clamp_direct
April 13, 2016, 07:45 (GMT)
Cleanup string includes after versioning commits
April 13, 2016, 07:45 (GMT)
Show version number in UI as well
April 13, 2016, 07:45 (GMT)
Tweaks to the version string formation

Couple of things:

- No need to use string streams to format the version string,
we can do it at compile time and don't bother with anything
at runtime.

- Function declaration was wring and would have caused linking
conflicts in cases when util_version.h was included from
multiple places.

We should have an utility function to get Cycles version so
applications which are linked to Cycles dynamically can query
the version, but that can't be done as an inlined function in
header and would need to be a function properly exported to a
global symbol table (aka, be implemented in a .cpp file).
April 13, 2016, 07:45 (GMT)
Add a version number to Cycles standalone

Now Cycles has its own versioning, that is mainly interesting for external projects, which integrate the engine.

We start with version 1.7.0. Reasons for that:

* The engine is too mature for a 1.0 release.
* We assume that Cycles inside of Blender 2.61 was version 0.1. We count upwards in 0.1 steps, therefore Cycles inside of Blender 2.77 would be 1.7.

We use a common versioning scheme here, with 3 decimals for the major, minor and patch level.

At the moment cycles --version can be used to display the version, easy to parse for external projects. The info will be added to the UI later aswell.
April 13, 2016, 06:58 (GMT)
Cycles: Minor cleanup, whitespace around keyword and preprocessor indent
April 12, 2016, 23:37 (GMT)
Cycles microdisplacement: preserve smooth normals for linear subdivison

This way we prevent cracks in the model due to discontinuous normals, by using
smooth normals for displacement instead of always getting flat normals after
linear subdivision.

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D1916
April 12, 2016, 22:51 (GMT)
Correction to previos commit: Use int for region size
April 12, 2016, 22:45 (GMT)
Use non-fixed screen size for lens distortion shader

Was assuming 1920x1080. Also minor cleanup.
April 12, 2016, 19:17 (GMT)
Fix OSLRenderServices not finding attributes when subdivision is enabled
April 12, 2016, 17:10 (GMT)
Use size_t in LRU to allow cache sizes larger than 4gb
April 12, 2016, 16:26 (GMT)
Removed most particle system code from RNA.
April 12, 2016, 16:12 (GMT)
Merge remote-tracking branch 'maiself/microdisp' into microdisp
April 12, 2016, 16:11 (GMT)
Revert local commits to allow merging Mai's branch in
April 12, 2016, 15:16 (GMT)
Fix T47754: Meshes glitch on cycling Viewport Shading mode with Linked Groups

This is a regression since 4310128 which is cased by really bad logic:
there might be dependencies between dupli-objects, which means _if_ we
really want to ensure derived mesh on dupli creation we have to do it
before any matrix is overwritten.

I'm not sure if such derived mesh trick is really the only way to go
without major refactor, but seems simple fix for now will do it.
April 12, 2016, 15:10 (GMT)
Fix bug in offset calculation of attributes for subdivision patches
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021