Blender Git Commit Log

All Blender Git commits.

Page: 4445 / 8462

April 14, 2016, 03:04 (GMT)
Remove redundant abs ray/line point functions
April 14, 2016, 02:05 (GMT)
Merge branch 'master' into temp-curve-draw
April 14, 2016, 02:04 (GMT)
Math Lib: ray_point_factor_v3 functions

Gives a bit better precision than creating a line in some cases,
use for ED_view3d_win_to_3d.
April 14, 2016, 02:04 (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 14, 2016, 02:04 (GMT)
Work in progress, initial drawing on surface option
April 14, 2016, 02:00 (GMT)
Math Lib: ray_point_factor_v3 functions

Gives a bit better precision than creating a line in some cases,
use for ED_view3d_win_to_3d.
April 13, 2016, 22:41 (GMT)
Merge branch 'master' into alembic_basic_io
April 13, 2016, 19:47 (GMT)
Tweak corner detection

Only consider points above the angle limit to begin with.
April 13, 2016, 19:19 (GMT)
Add orig-index argument to map the output curve back to the input data.
April 13, 2016, 18:30 (GMT)
Corner handle calculation could fail (for larger curves especially)

Replace this with an optional return array of corner indices on final output curve.
April 13, 2016, 17:59 (GMT)
Merge branch 'master' into HMD_viewport
April 13, 2016, 17:56 (GMT)
Fix crash when stopping HMD session

OpenHMD context should only be closed when deleting GHOST_OpenHMDManager, forgot to change that in rB0c029b7f86a0.
April 13, 2016, 17:41 (GMT)
Don't split view in lens distortion shader

We don't want to do this in lens distortion shader since we can't add the view offset needed for the 3D effect.
April 13, 2016, 17:08 (GMT)
Change curve fitting not to store duplicate points.

Return an array of [handle, knot, handle]'s instead of [knot, handle, handle, knot].
April 13, 2016, 16:10 (GMT)
Removed remaining use of pointers to particle types as well as boids headers.
April 13, 2016, 16:04 (GMT)
Add curve/pressure option
April 13, 2016, 15:00 (GMT)
Add doxygen headers
April 13, 2016, 14:58 (GMT)
Partially revert 82ec9c87a7d8ee28b65555c7fcbd8cdb156249e9, to add back point cache operators.

Eventually point cache will also be replaced, but it can be kept working at first even without particles.
April 13, 2016, 14:31 (GMT)
Initial cubic fitting, curve freehand drawing
April 13, 2016, 12:47 (GMT)
Cycles: Use dedicated BVH for triangles and hair

This is a required step forward OBB type of BVH which will be more optimal
for hair but less optimal for triangles. Which means, we'll need to have
dedicated hair BVH once we'll start working on OBB BVH.

This commits does exactly that: there are now two separate BVH, one is
fully dedicated to triangles and another one is fully dedicated to hair.
They are built separately and also traversed separately.

This allows:

- Get rid of triangle storage for curve primitives, which solves memory
usage issue without slowdown of triangles intersection test.

- Perform test against triangles for shadow rays, which will often lead
to som speed gain because ray often hits opaque triangle and in this
case it's not needed to do any ray-to-curve intersections.

Unfortunately, current implementation used 7 more textures, which is quite
bad on lower end GPUs due to tight number of textures limit, which means
less image textures can be used now.

Here are some numbers:

Master Patch
Koro.blend
Memory during render(Mb): 910 814
Peak memory(Mb): 984 963
Render time: 5m 51s 5m 21s

Bunny.blend
Memory during render(Mb): 8034 6375
Peak memory(Mb): 9058 7713
Render time: 9, 25s 7m 44s

There are some render result difference with low number of samples,
probably because of different order of geometry hits when there are
multiple primitives at the same depth. But that's to be doublechecked.

There should be no affect on scenes with just triangles.

Since there are some interesting results already decided to put it
online for some more tests.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021