Blender Git Commit Log

All Blender Git commits.

Page: 4242 / 8462

Revision 23d7ae1 by Mike Erwin (master)
August 15, 2016, 08:00 (GMT)
OpenGL: backtrace on errors (--debug-gpu)

Backtrace so we can pinpoint where the GL error came from. Then fflush
on severe errors in case it's severe enough to crash Blender.
August 14, 2016, 23:01 (GMT)
Revert "Cycles: Use half storage for 16bit files (e.g. 16bit pngs) as well."

After discussion in IRC, 16bit int should not be converted to half, too much precision loss.
August 14, 2016, 22:04 (GMT)
Fix CUDA compilation after OpenCL changes.
August 14, 2016, 20:24 (GMT)
Cycles: Use half storage for 16bit files (e.g. 16bit pngs) as well.

Note: This only works for textures loaded from disk via OIIO, not packed textures. That's still a ToDo.
Revision 9396e11 by Mai Lavelle (master)
August 14, 2016, 19:04 (GMT)
Cycles microdisplacement: Move call to tessellate() from addon to Cycles

By calling `tessellate()` from the mesh manager in Cycles we can do pre/post
processing or even threaded tessellation without concerning client side code
with the details.
August 14, 2016, 18:21 (GMT)
Cycles: Add single channel texture support for OpenCL.

This way OpenCL devices can also benefit from a smaller memory footprint, when using e.g. bumpmaps (greyscale, 1 channel).

Additional target for my GSoC 2016.
August 14, 2016, 16:42 (GMT)
Merge branch 'master' into soc-2016-multiview
August 14, 2016, 16:09 (GMT)
Curves: Fillet and chamfer

Fixed a calculation error in the fillet operator. Limited the chamfer algorithm to just run on the points inbetween the first and the last handles, since it makes no sense to chamfer the start of a line. This brings a problem with cyclic splines though, which will be addressed in a later commit.
August 14, 2016, 15:30 (GMT)
Curves: Fillet and chamfer operator

Replaced calls to memcpy with BezTriples with calls to ED_curve_beztcpy, to prevent errors.
August 14, 2016, 15:03 (GMT)
Curves: Operator's interface

Added interface options to call all operators. They are available on the tool shelf, under Curve Tools->Modelling, and on the Edit Curve Specials menu.
August 14, 2016, 14:25 (GMT)
Curves: Offset operator

Added support for collinear handles and cyclic splines.
Changed the way offset direction is corrected. Previously, the code checked for intersections between the offset spline and the original one. I replaced this with vector calculus.
August 14, 2016, 11:14 (GMT)
AssetEngine previews: fix some issues, make Amber generate dummy ones as test/example.

So now, amber generates dummy mosaic-like random previews (with a 100ms delay to mimic
really slow process), everything seems to work just fine. ;)
Revision f1ad348 by Mike Erwin (master)
August 14, 2016, 05:27 (GMT)
get latest OpenGL version on Windows + AMD

When we ask for GL 3.2 compatibility profile:
AMD (Radeon HD 6970) gives us exactly this version
NVIDIA (Quadro K600) gives at least this version
Still need to check Intel behavior

We want *at least* the version requested, plus more recent features if
available.

Both GPUs tested & mentioned above are capable of GL 4.5. With this
commit they both give 4.5 to Blender.
Revision 91f04b8 by Mike Erwin (master)
August 14, 2016, 02:33 (GMT)
early out for ortho grid drawing

Helps most when real-world units are used.

Previous code started at the smallest visible unit (e.g. Inches) then
followed to Feet, Yards, Chains, Furlongs, Miles. Always to the largest
unit of the set, even though most would be way off screen.

New code knows whether it skipped any grid lines for the next unit to
fill in, can stop once all lines are on screen.
Revision 90c4ad7 by Mike Erwin (master)
August 14, 2016, 02:13 (GMT)
Mac fixes for new ortho grid drawing

Previous commit works on Windows, found some issues after trying on Mac.

- benign warnings about && within ||
- replaced nearbyint() with round() to avoid floating point environment
surprises
- remquo function appears to be broken on Mac (!) results were way way
off. Replaced with simple division.
- minor tweaks to debug output
August 13, 2016, 22:53 (GMT)
refactored some more. This commit also contains texture mode implementation in vertex paint.
Revision db5ad6a by Mike Erwin (master)
August 13, 2016, 22:14 (GMT)
draw ortho grid with new immediate mode

Work toward T49043, with a side of client vertex arrays.

Not a straightforward port from glVertex to immVertex since Gawain needs
to know how many vertices we'll be drawing *before* we start drawing.

Fixed these not-so-great aspects of grid drawing:
- coarse grids would draw atop some lines from the finer grids
- visible axes would draw atop lines from coarse grid
- axes were drawn even if they weren't in view
- terrible misuse of vertex arrays
- each line issued its own draw call

New code draws each line exactly once. The entire grid is one draw call.

Bonus: I had to / got to learn how the units system works!
August 13, 2016, 21:55 (GMT)
fix for openvdb caching
August 13, 2016, 21:20 (GMT)
more refactoring. Removed OpenMP flags since the multithreading support isn't really OpenMP.
Revision e36af2c by Mike Erwin (master)
August 13, 2016, 20:31 (GMT)
Gawain: increase size of immediate mode buffer

New value of 4MB should handle our needs without taking up too many GPU
resources.

Old value of 1KB was for observing what happens when the buffer fills up
and we need to flush and start a new one.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021