blender/intern/cycles
Sergey Sharybin b01233b07f Movies support for Cycles
This adds support of movie textures for Cycles rendering.

Uses the same builtin images routines as packed/generated images,
but with some extra non-rna hookups from blender_session side.

Basically, it's not so clear how to give access to video frames
via C++ RNA -- it'll require exposing ImBuf to API, doing some
threading locks and so. Ended up adding two more functions which
are actually bad level call, but don't consider it's so much bad
-- we have few bad calls already, which are actually related.

Changed a bit how builtin images names are passing to image
manager. Now it's not just an ID datablock name, but also a frame
number concatenated via '@' character, which makes itpossible to
easily know frame number to be used for movie images, without
adding extra descriptors to image manager.

Decoding of builtin name is a bit slower now, but it should be
still nothing in comparison with rendering complexity.

Also exposed image user's frame_current to python API, which
is needed to get absolute frame number of movie from node's
image user.

P.S. Generated/packed images are also using bad level call but
only does it to make things more clear here.  Either all images
are using C++ RNA here or no images does. That's the most clear
for now.
2013-01-16 17:07:25 +00:00
..
app Cycles: merge some changes from a local branch to bring network rendering a bit 2012-12-21 11:13:46 +00:00
blender Movies support for Cycles 2013-01-16 17:07:25 +00:00
bvh Cycles Hair: Introduction of Cardinal Spline Curve Segments and minor fixes. 2013-01-15 19:44:41 +00:00
cmake Cycles / CMake: 2012-11-09 18:31:04 +00:00
device Cycles: 2013-01-15 19:02:17 +00:00
doc edits to cycles cmake files so cmake_consistency_check.py can parse them. 2011-11-08 20:27:37 +00:00
kernel Fix CUDA compile after last commit. 2013-01-15 20:13:19 +00:00
render Cycles Hair: Introduction of Cardinal Spline Curve Segments and minor fixes. 2013-01-15 19:44:41 +00:00
subd Cycles Hair: refactoring to support generic attributes for hair curves. There 2013-01-03 12:08:54 +00:00
util For non-windows systems, check for CUDA compiler during runtime 2013-01-14 19:33:16 +00:00
CMakeLists.txt Remove usage WITH_CYCLES_CUDA_BINARIES in code, use check for 2013-01-14 17:30:33 +00:00
SConscript Remove usage WITH_CYCLES_CUDA_BINARIES in code, use check for 2013-01-14 17:30:33 +00:00