blender/intern/cycles/util
Dalai Felinto 8c4fa687e0 Cycles bugfix: AUTO wasn't working for Equisolid Fisheye lens
Now one no longer needs to match the sensor dimensions with the render dimensions manually.

IMPORTANT NOTE: if you were using AUTO before with mismathing sensor aspect ratio (comparing to the render dimensions)
this will change your render! We can doversion this, but apart from Tube project I don't know if anyone else
is using this yet (part due to this bug and the only recently fixed 3dview preview aspect ratio).

That should help more artists to take advantage of this fantastic Blender feature.
It still helps to know the parameters of kwnown cameras/lens though.
For example:

Nikon DX2S with a 10.5mm fisheye can be set with:
Render resolution: 4288 x 2848
Sensor 23.7 x 15.70 (15.70 can be ommitted if AUTO is used as fit method)

Note: some cameras render different sizes according to the recording mode.
For example, a Red Scarlet in 5k (@12 fps) can render a full circular fisheye with a sigma 4.5 lens.
The same camera in the 30fps recording mode renders 4k in a cropped circular image.
So it's not only the resolution that changes, but the actual sensor been used.

So just keep in mind that the more information you have from the camera/lens you want to emulate the better.
Bug found at/patch written as a follow up of the BlenderPRO2012, patch reviewed by Brecht Van Lommel
2012-11-21 01:07:30 +00:00
..
CMakeLists.txt code cleanup: 2012-10-17 04:13:03 +00:00
util_algorithm.h Cycles render engine, initial commit. This is the engine itself, blender modifications and build instructions will follow later. 2011-04-27 11:58:34 +00:00
util_args.h Cycles render engine, initial commit. This is the engine itself, blender modifications and build instructions will follow later. 2011-04-27 11:58:34 +00:00
util_attribute.cpp Cycles: 4 new nodes. 2012-11-06 19:59:02 +00:00
util_attribute.h Fix for Cycles (CUDA) compilation (again ...). Moved the AttributeStandard enum typedef and the attribute_standard_name mapping function to util_attribute/util_types headers, so they can properly be used by kernel and render files alike. This should avoid any std C includes which are not available in CUDA. Thanks to Sergey for help! 2012-09-07 11:06:45 +00:00
util_boundbox.h Cycles bugfix: AUTO wasn't working for Equisolid Fisheye lens 2012-11-21 01:07:30 +00:00
util_cache.cpp Additional fix #32074, by Sven-Hendrik Haase (svenstaro). Boost version header must be included in cycles in order to expand the version check macro. 2012-07-29 13:52:38 +00:00
util_cache.h Cycles: add option to cache BVH's between subsequent renders, storing the BVH on 2012-01-16 13:13:37 +00:00
util_color.h code cleanup: quiet all warnings about double promotion (either by changing the type or explicitly casting). 2012-06-09 17:45:22 +00:00
util_cuda.cpp Cycles: suppress path to nvcc appearing in the console in cases 2012-10-18 13:48:02 +00:00
util_cuda.h style cleanup: assignment & indentation. 2012-06-09 18:56:12 +00:00
util_debug.h Cycles render engine, initial commit. This is the engine itself, blender modifications and build instructions will follow later. 2011-04-27 11:58:34 +00:00
util_dynlib.cpp Cycles render engine, initial commit. This is the engine itself, blender modifications and build instructions will follow later. 2011-04-27 11:58:34 +00:00
util_dynlib.h Cycles render engine, initial commit. This is the engine itself, blender modifications and build instructions will follow later. 2011-04-27 11:58:34 +00:00
util_foreach.h Cycles render engine, initial commit. This is the engine itself, blender modifications and build instructions will follow later. 2011-04-27 11:58:34 +00:00
util_function.h Cycles render engine, initial commit. This is the engine itself, blender modifications and build instructions will follow later. 2011-04-27 11:58:34 +00:00
util_hash.h style cleanup: assignment & indentation. 2012-06-09 18:56:12 +00:00
util_image.h Cycles render engine, initial commit. This is the engine itself, blender modifications and build instructions will follow later. 2011-04-27 11:58:34 +00:00
util_list.h Cycles render engine, initial commit. This is the engine itself, blender modifications and build instructions will follow later. 2011-04-27 11:58:34 +00:00
util_map.h Cycles: first batch of windows build fixes, not quite there yet. 2011-05-03 18:29:11 +00:00
util_math.h Cycles: improve Anisotropic BSDF node, changing the Roughness U/V inputs to 2012-11-04 22:31:32 +00:00
util_md5.cpp style cleanup: assignment & indentation. 2012-06-09 18:56:12 +00:00
util_md5.h Cycles OSL: refactoring and fixes 2012-11-03 14:32:13 +00:00
util_memarena.cpp Cycles: remove deprecated strict aliasing flag for opencl, fix missing update 2011-09-19 11:57:31 +00:00
util_memarena.h Cycles: remove deprecated strict aliasing flag for opencl, fix missing update 2011-09-19 11:57:31 +00:00
util_opencl.cpp Cycles: disable OpenCL in builds for now, since it's not working and is only 2012-11-06 19:58:51 +00:00
util_opencl.h style cleanup: assignment & indentation. 2012-06-09 18:56:12 +00:00
util_opengl.h Cycles: build without GLUT test app by default. 2011-05-01 10:00:21 +00:00
util_param.h Cycles render engine, initial commit. This is the engine itself, blender modifications and build instructions will follow later. 2011-04-27 11:58:34 +00:00
util_path.cpp Cycles OSL: shader script node 2012-11-03 14:32:35 +00:00
util_path.h Cycles OSL: shader script node 2012-11-03 14:32:35 +00:00
util_progress.h Cycles: persistent images option 2012-11-09 08:46:53 +00:00
util_set.h Cycles: first batch of windows build fixes, not quite there yet. 2011-05-03 18:29:11 +00:00
util_stats.h Cycles: no need in spin lock in memory statistics 2012-11-09 08:47:08 +00:00
util_string.cpp Cycles: compile opencl kernels in non-blocking thread, and don't crash on 2011-09-02 00:10:03 +00:00
util_string.h Cycles: compile opencl kernels in non-blocking thread, and don't crash on 2011-09-02 00:10:03 +00:00
util_system.cpp style cleanup: block comments 2012-06-09 17:22:52 +00:00
util_system.h Fix #29259: cycles issues on certain processors. Now two versions of the kernel 2011-11-15 15:13:38 +00:00
util_task.cpp Fix #33107: cycles fixed threads 1 was still having two cores do work, 2012-11-07 21:00:49 +00:00
util_task.h Fix #33107: cycles fixed threads 1 was still having two cores do work, 2012-11-07 21:00:49 +00:00
util_thread.h Cycles OSL: windows build fixes. 2012-11-14 17:18:47 +00:00
util_time.cpp Cycles render engine, initial commit. This is the engine itself, blender modifications and build instructions will follow later. 2011-04-27 11:58:34 +00:00
util_time.h Cycles render engine, initial commit. This is the engine itself, blender modifications and build instructions will follow later. 2011-04-27 11:58:34 +00:00
util_transform.cpp Fix #32974: cycles curved motion blur is not working well combined with rotation, 2012-11-11 15:02:05 +00:00
util_transform.h Fix #32974: cycles curved motion blur is not working well combined with rotation, 2012-11-11 15:02:05 +00:00
util_types.h Cycles: 4 new nodes. 2012-11-06 19:59:02 +00:00
util_vector.h Cycles: clang build fixes. 2011-08-10 19:45:08 +00:00
util_view.cpp style cleanup: assignment & indentation. 2012-06-09 18:56:12 +00:00
util_view.h Cycles render engine, initial commit. This is the engine itself, blender modifications and build instructions will follow later. 2011-04-27 11:58:34 +00:00
util_xml.h Cycles render engine, initial commit. This is the engine itself, blender modifications and build instructions will follow later. 2011-04-27 11:58:34 +00:00