blender.git
9 years agoCycles:
Thomas Dinges [Mon, 12 Sep 2011 11:59:13 +0000 (11:59 +0000)]
Cycles:
* Remove RE_DO_RENDERED again, check for view_draw callback is sufficient.

9 years agoCycles Render API:
Thomas Dinges [Sun, 11 Sep 2011 23:44:20 +0000 (23:44 +0000)]
Cycles Render API:
* Show Rendered Viewport Shading only when the engine supports it.
Only enabled for Cycles now.
* Added RenderEngine flag RE_DO_RENDERED, which is an optional flag.
Exposed as bl_use_rendered in Python.

ToDo: When you are in Rendered mode and change to a engine which does not support it, the enum doesn't set properly to OB_SOLID.

9 years ago* Remove last occurrences of the OB_SHADED flag.
Thomas Dinges [Sun, 11 Sep 2011 21:41:30 +0000 (21:41 +0000)]
* Remove last occurrences of the OB_SHADED flag.

9 years agoCycles: fix windows build, some minor tweaks.
Brecht Van Lommel [Fri, 9 Sep 2011 16:38:15 +0000 (16:38 +0000)]
Cycles: fix windows build, some minor tweaks.

9 years agoCycles:
Brecht Van Lommel [Fri, 9 Sep 2011 12:04:39 +0000 (12:04 +0000)]
Cycles:
* OpenCL now only uses GPU/Accelerator devices, it's only confusing if CPU
  device is used, easy to enable in the code for debugging.
* OpenCL kernel binaries are now cached for faster startup after the first
  time compiling.
* CUDA kernels can now be compiled and cached at runtime if the CUDA toolkit
  is installed. This means that even if the build does not have CUDA enabled,
  it's still possible to use it as long as you install the toolkit.

9 years agoCycles: some warning fixes, cpu device task tweaks, avoid unnecessary
Brecht Van Lommel [Thu, 8 Sep 2011 18:58:07 +0000 (18:58 +0000)]
Cycles: some warning fixes, cpu device task tweaks, avoid unnecessary
tonemap in non-viewport render, and some utility functions.

9 years agoCycles: set minimum required boost version lower.
Brecht Van Lommel [Tue, 6 Sep 2011 17:48:06 +0000 (17:48 +0000)]
Cycles: set minimum required boost version lower.

9 years agoCycles: use workgroup size from opencl, attempt to fix issue with apple opencl.
Brecht Van Lommel [Mon, 5 Sep 2011 12:24:28 +0000 (12:24 +0000)]
Cycles: use workgroup size from opencl, attempt to fix issue with apple opencl.

9 years agoCycles: remove -Werror from opencl compile options, apple opencl on lion
Brecht Van Lommel [Mon, 5 Sep 2011 08:23:01 +0000 (08:23 +0000)]
Cycles: remove -Werror from opencl compile options, apple opencl on lion
seems to give "no previous prototype for function" warning, but it doens't
make much sense in opencl, seems like a compiler bug?

9 years agoCompile fixes for MinGW, checked with basic initial setup, no CUDA, gcc 4.5.2.
Antony Riakiotakis [Sun, 4 Sep 2011 15:39:09 +0000 (15:39 +0000)]
Compile fixes for MinGW, checked with basic initial setup, no CUDA, gcc 4.5.2.
OpenImageIO still gives link-time errors, will try to make a lib for MinGW, see if it is fixed.

9 years agoCycles:
Brecht Van Lommel [Sat, 3 Sep 2011 10:49:54 +0000 (10:49 +0000)]
Cycles:
* Compute MD5 hash to deal with nvidia opencl compiler cache not recognizing
  changes in #included files, makes it possible to do kernel compile only
  once and remember it for the next time blender is started.
* Kernel tweak to compile with ATI/linux. Enabling any more functionality than
  simple clay render still chokes the compiler though, without a specific error
  message ..

9 years agoCycles: optimizations for instances in scene updates before render starts,
Brecht Van Lommel [Fri, 2 Sep 2011 16:15:18 +0000 (16:15 +0000)]
Cycles: optimizations for instances in scene updates before render starts,
should load a non-trivial mesh instanced many times quite a bit faster now.

9 years agoCycles:
Brecht Van Lommel [Fri, 2 Sep 2011 14:55:06 +0000 (14:55 +0000)]
Cycles:
* Fix crash in light path node
* Fix struct alignment issue for cuda
* Fix issue with instances taking up too much memory
* Fix issue with ray visibility working incorrect on some objects
* Enable OpenCL always and remove option, it has no dependencies so may as well
* Refuse to load kernel if OpenCL version < 1.1, recent drivers are needed
* Better error handling for OpenCL device
* 3D views with rendered draw mode will now revert to wireframe on file load

9 years agoCycles UI:
Thomas Dinges [Fri, 2 Sep 2011 12:46:37 +0000 (12:46 +0000)]
Cycles UI:
* If only CUDA or OpenCL is available, show the available one in the device button.

9 years agoCycles: svn merge -r39669:39870 https://svn.blender.org/svnroot/bf-blender/trunk...
Brecht Van Lommel [Fri, 2 Sep 2011 12:33:29 +0000 (12:33 +0000)]
Cycles: svn merge -r39669:39870 https://svn.blender.org/svnroot/bf-blender/trunk/blender

9 years agoparanoid check that RNA string functions set the string, would have helped solve...
Campbell Barton [Fri, 2 Sep 2011 10:43:51 +0000 (10:43 +0000)]
paranoid check that RNA string functions set the string, would have helped solve keymap search bug.
disabled in release mode.

9 years agoPartial fix for #28441: Tab width in texteditor ignored if used tabs as spaces
Sergey Sharybin [Fri, 2 Sep 2011 09:39:21 +0000 (09:39 +0000)]
Partial fix for #28441: Tab width in texteditor ignored if used tabs as spaces

Scroll to cursor when displaying text datablock was changed.
This behavior was lost in 2.5x.

9 years agopatch [#28473] Outliner Simple Todo
Campbell Barton [Fri, 2 Sep 2011 08:35:46 +0000 (08:35 +0000)]
patch [#28473] Outliner Simple Todo
from Julien DUROURE (julien)

---

* right click --> rename, as proposed on http://wiki.blender.org/index.php/Dev:2.5/Source/Development/Todo/Simple_Todos

* implementation of Toggle visibility/rendarability/selectability on right click on Groups ( was in menu, but not implemented )

9 years agofix [#28460] SEGFAULT when trying to make empty display as image
Campbell Barton [Fri, 2 Sep 2011 08:20:30 +0000 (08:20 +0000)]
fix [#28460] SEGFAULT when trying to make empty display as image

9 years agotweak to WM_operatortype_find to perform better when called with empty strings (as...
Campbell Barton [Fri, 2 Sep 2011 08:01:01 +0000 (08:01 +0000)]
tweak to WM_operatortype_find to perform better when called with empty strings (as the keymap editor does a lot)

9 years agofix for keymap search, was using uninitialized memory when the keymaps operator could...
Campbell Barton [Fri, 2 Sep 2011 07:51:19 +0000 (07:51 +0000)]
fix for keymap search, was using uninitialized memory when the keymaps operator couldn't be found.

9 years agofix for error in recent commit, when audaspace is enabled
Campbell Barton [Fri, 2 Sep 2011 04:34:58 +0000 (04:34 +0000)]
fix for error in recent commit, when audaspace is enabled

9 years agoBGE animations: adding a missing comma.
Mitchell Stokes [Fri, 2 Sep 2011 03:57:37 +0000 (03:57 +0000)]
BGE animations: adding a missing comma.

9 years agoCredits generator which cross references with the patch tracker to credit the origina...
Campbell Barton [Fri, 2 Sep 2011 03:42:16 +0000 (03:42 +0000)]
Credits generator which cross references with the patch tracker to credit the original authors.

the script has a unix-name <> real-name mapping which is not totally complete since I couldn't find everyones real names.

In this case the commit name is credited.

Also added a link to the credits page in the splash.

9 years agominor warning fixes, also correct some float -> double promotions in shadeoutput.c
Campbell Barton [Fri, 2 Sep 2011 03:32:57 +0000 (03:32 +0000)]
minor warning fixes, also correct some float -> double promotions in shadeoutput.c

9 years agoCycles: Remove warning of OpenCL not working from cmake, could be made enabled by...
Thomas Dinges [Fri, 2 Sep 2011 00:53:00 +0000 (00:53 +0000)]
Cycles: Remove warning of OpenCL not working from cmake, could be made enabled by default too, but will leave that for Brecht. :)

9 years agoCycles: compile opencl kernels in non-blocking thread, and don't crash on
Brecht Van Lommel [Fri, 2 Sep 2011 00:10:03 +0000 (00:10 +0000)]
Cycles: compile opencl kernels in non-blocking thread, and don't crash on
build failure but show error message in status text.

9 years agoCycles: revert fix for integrator preset refresh, it causes continuous
Brecht Van Lommel [Thu, 1 Sep 2011 22:53:11 +0000 (22:53 +0000)]
Cycles: revert fix for integrator preset refresh, it causes continuous
redraw leading to high cpu usage, need to find better solution.

9 years agoCycles: fix opencl device bug that crashed on windows. Now shows diffuse
Brecht Van Lommel [Thu, 1 Sep 2011 22:40:52 +0000 (22:40 +0000)]
Cycles: fix opencl device bug that crashed on windows. Now shows diffuse
meshes here on windows/nvidia.

9 years agoBGE animations: This is an attempt to help smooth out some more compatibility issues...
Mitchell Stokes [Thu, 1 Sep 2011 21:47:46 +0000 (21:47 +0000)]
BGE animations: This is an attempt to help smooth out some more compatibility issues with the new action actuator. It now has a similar pulse behavior to the old actuator. This has worked well in most of my tests, but YoFrankie still has problems, and it appears to have gotten a little worse.

9 years agoBGE: Undoing r39729 and applying a simpler fix (ensuring that the viewport is correct...
Mitchell Stokes [Thu, 1 Sep 2011 19:53:14 +0000 (19:53 +0000)]
BGE: Undoing r39729 and applying a simpler fix (ensuring that the viewport is correct for PostRenderScene()). This way both 2d filters and post_draw callbacks with with multiple viewports.

9 years agoCycles: fix broken kernel compile after recent change, some tweaks
Brecht Van Lommel [Thu, 1 Sep 2011 19:43:57 +0000 (19:43 +0000)]
Cycles: fix broken kernel compile after recent change, some tweaks
to UI to only show options when available, fix linux lib detection.

9 years agoCycles: OpenCL library is now dynamically loaded so that blender doesn't crash
Brecht Van Lommel [Thu, 1 Sep 2011 19:00:23 +0000 (19:00 +0000)]
Cycles: OpenCL library is now dynamically loaded so that blender doesn't crash
if it's not installed on the system.

Code copied from clew.h/clew.c in CLCC:
http://clcc.sourceforge.net/

9 years agoCycles UI:
Thomas Dinges [Thu, 1 Sep 2011 18:45:50 +0000 (18:45 +0000)]
Cycles UI:
* Added selector for CUDA/OpenCL.

9 years agoCycles: fix missing update when setting integrator preset.
Brecht Van Lommel [Thu, 1 Sep 2011 16:27:40 +0000 (16:27 +0000)]
Cycles: fix missing update when setting integrator preset.

9 years agoCycles:
Brecht Van Lommel [Thu, 1 Sep 2011 15:53:36 +0000 (15:53 +0000)]
Cycles:
* Add max diffuse/glossy/transmission bounces
* Add separate min/max for transparent depth
* Updated/added some presets that use these options
* Add ray visibility options for objects, to hide them from
  camera/diffuse/glossy/transmission/shadow rays
* Is singular ray output for light path node

Details here:
http://wiki.blender.org/index.php/Dev:2.5/Source/Render/Cycles/LightPaths

9 years agoFeature Request #28449: Pose Library poses can be renamed from
Joshua Leung [Thu, 1 Sep 2011 10:56:16 +0000 (10:56 +0000)]
Feature Request #28449: Pose Library poses can be renamed from
Properties Editor

9 years agouse a fixed 32byte buffer for getting an rna string from python. gives a slight speed...
Campbell Barton [Thu, 1 Sep 2011 09:47:21 +0000 (09:47 +0000)]
use a fixed 32byte buffer for getting an rna string from python. gives a slight speedup when drawing heavy UI's

9 years agofix for building without audaspace, since pepper merge
Campbell Barton [Thu, 1 Sep 2011 09:46:07 +0000 (09:46 +0000)]
fix for building without audaspace, since pepper merge

9 years agowip doc for py api tips and tricks.
Campbell Barton [Thu, 1 Sep 2011 07:07:18 +0000 (07:07 +0000)]
wip doc for py api tips and tricks.

9 years agowhitespace bge edits
Campbell Barton [Thu, 1 Sep 2011 02:12:53 +0000 (02:12 +0000)]
whitespace bge edits

9 years agospaces -> tabs (configure you're editors right!)
Campbell Barton [Thu, 1 Sep 2011 01:48:50 +0000 (01:48 +0000)]
spaces -> tabs (configure you're editors right!)

9 years agofix for error in patch from r39821.
Campbell Barton [Thu, 1 Sep 2011 01:13:50 +0000 (01:13 +0000)]
fix for error in patch from r39821.

9 years agomaking carbon to build again (note: NDOF is not working here)
Dalai Felinto [Thu, 1 Sep 2011 00:03:20 +0000 (00:03 +0000)]
making carbon to build again (note: NDOF is not working here)
- fix typo
- isolate NDOF callsi in #ifdefs

9 years agoBGE animations: Updating some constant names. They were still the originally proposed...
Mitchell Stokes [Wed, 31 Aug 2011 23:46:31 +0000 (23:46 +0000)]
BGE animations: Updating some constant names. They were still the originally proposed names instead of the ones that are actually used now.

9 years agoBGE Animations: The return type for KX_GameObject.getActionFrame() was an integer...
Mitchell Stokes [Wed, 31 Aug 2011 22:32:14 +0000 (22:32 +0000)]
BGE Animations: The return type for KX_GameObject.getActionFrame() was an integer when it should have been a float. I've fixed this and converted the tabs in the new BGE animation docs to space. I have also added more info on return types for KX_GameObject.getActionFrame() and KX_GameObject.isPlayingAction().

9 years agoset OSX default python to static
Jens Verwiebe [Wed, 31 Aug 2011 14:46:27 +0000 (14:46 +0000)]
set OSX default python to static

9 years agoOSX/scons: fix compile with static python, my patch was a bit outdates, sorry
Jens Verwiebe [Wed, 31 Aug 2011 14:15:14 +0000 (14:15 +0000)]
OSX/scons: fix compile with static python, my patch was a bit outdates, sorry

9 years agopatch [#28218] During-render callback functionality
Campbell Barton [Wed, 31 Aug 2011 10:43:22 +0000 (10:43 +0000)]
patch [#28218] During-render callback functionality
from Jesse Kaukonen (gekko)

--- text from the patch.

Recently Campbell Barton added callback functionality for Python's usage, but this only includes pre- and post-render callbacks. There are no callbacks for the duration of the render. This patch adds the few lines required for executing a callback while Blender Render is working. The callback resides in the rendering pipeline stats function, so whenever statistics are printed, the callback is executed. This functionality is required if one wants to:

1) Observe what is happening while Blender is rendering via the command line
2) Add custom statistics that Blender prints while the renderer works
3) The user wants to continue executing his Python script without the code halting at bpy.ops.render.render()

Personally I'm currently using this for printing out more detailed progress reports at Renderfarm.fi (such as CPU time, time spent rendering, total progress in regards to the entire rendering process). Tested on Windows, Linux and OS X.

Example on how to use the callback:

  def statscall(context): print("Thanks for calling!")
  bpy.app.handlers.render_stats.append(statscall)
  bpy.ops.render.render(animation=False, write_still=True)

9 years agoCOLLADA: Take parent bone length and direction instead of using bone pointing up...
Nathan Letwory [Wed, 31 Aug 2011 09:37:14 +0000 (09:37 +0000)]
COLLADA: Take parent bone length and direction instead of using bone pointing up with length 1. Looks much nicer and less confusing on larger armatures now.

9 years agoBGE: Adding two new functions to bge.render to allow users to change the anisotropic...
Mitchell Stokes [Wed, 31 Aug 2011 05:51:51 +0000 (05:51 +0000)]
BGE: Adding two new functions to bge.render to allow users to change the anisotropic filtering level used by textures:
  * setAnisotropicFiltering(level)
  * getAnisotropicFiltering()

9 years agotypo fix: end of lines ;; --> ;
Campbell Barton [Wed, 31 Aug 2011 01:07:55 +0000 (01:07 +0000)]
typo fix: end of lines ;; --> ;

9 years agofix [#28430] Image with Stampinfo does not get saved correctly with alpha
Campbell Barton [Wed, 31 Aug 2011 01:05:40 +0000 (01:05 +0000)]
fix [#28430] Image with Stampinfo does not get saved correctly with alpha

9 years agoOSX: additionally choice to link against python-framework again
Jens Verwiebe [Tue, 30 Aug 2011 23:52:12 +0000 (23:52 +0000)]
OSX: additionally choice to link against python-framework again

9 years agofix for error in my recent change to image save.
Campbell Barton [Tue, 30 Aug 2011 23:37:46 +0000 (23:37 +0000)]
fix for error in my recent change to image save.
- relative path wasn't being made absolute.
- saving renders was always defaulting to multilayer exr, now use the output format set.

9 years agocatch exception and report an error when failing to write exr files - was crashing...
Campbell Barton [Tue, 30 Aug 2011 23:08:38 +0000 (23:08 +0000)]
catch exception and report an error when failing to write exr files - was crashing with debug builds.

9 years agoSVN maintenance.
Guillermo S. Romero [Tue, 30 Aug 2011 19:38:32 +0000 (19:38 +0000)]
SVN maintenance.

9 years agoWhen creating a multisample window for Win32, the first context created, which checks...
Mitchell Stokes [Tue, 30 Aug 2011 17:30:35 +0000 (17:30 +0000)]
When creating a multisample window for Win32, the first context created, which checks for multisample support, was never being deleted.

9 years agoCheck for potential crasher.
Nathan Letwory [Tue, 30 Aug 2011 15:43:00 +0000 (15:43 +0000)]
Check for potential crasher.

Reported and suggested in [#27687] by Dean Giberson. Couldn't redo crash myself, but better safe than sorry :)

9 years agoFix #28427: smooth faces flash momentarily when extruded using "extrude and move...
Sergey Sharybin [Tue, 30 Aug 2011 15:30:38 +0000 (15:30 +0000)]
Fix #28427: smooth faces flash momentarily when extruded using "extrude and move on normals" tool (E key)

Update normals just after extrude -- topology is changing when extruding
and normals for non-extruded faces should be recalculated after this.

9 years agoFix for [#28425] when user prefs -> editing -> align to == "view" newly inserted...
Thomas Dinges [Tue, 30 Aug 2011 14:41:23 +0000 (14:41 +0000)]
Fix for [#28425] when user prefs -> editing -> align to == "view" newly inserted objects do not show the applied rotation in the tools panel

Patch by Andrew Wiggin, thanks! :)

9 years ago2.5 Game UI:
Thomas Dinges [Tue, 30 Aug 2011 12:45:56 +0000 (12:45 +0000)]
2.5 Game UI:
*Fix for clutter after pepper merge, 3 booleans in one row, is 1 too much here ;-)

9 years agoEnable libsndfile by default on win32 too.
Nathan Letwory [Tue, 30 Aug 2011 12:40:15 +0000 (12:40 +0000)]
Enable libsndfile by default on win32 too.

9 years agoFix for my last commit.
Thomas Dinges [Tue, 30 Aug 2011 11:31:48 +0000 (11:31 +0000)]
Fix for my last commit.

9 years agominor edits, pep8 - also correct float -> double promotion for blf.
Campbell Barton [Tue, 30 Aug 2011 10:49:58 +0000 (10:49 +0000)]
minor edits, pep8 - also correct float -> double promotion for blf.

9 years ago2.5 UI Files:
Thomas Dinges [Tue, 30 Aug 2011 10:44:02 +0000 (10:44 +0000)]
2.5 UI Files:
* Code cleanup after Pepper merge.

9 years agoFix for [#25062] Sound Actuator - Positional Audio.
Joerg Mueller [Tue, 30 Aug 2011 10:09:10 +0000 (10:09 +0000)]
Fix for [#25062] Sound Actuator - Positional Audio.

Now all sounds that are not mono but have 3D checked automatically get reduced to mono during BGE conversion time.
Also removed the now unneeded function sound_get_channels and added a missing header file to audaspace's CMakeLists.txt.

9 years agoFixes for snprintf usage:
Brecht Van Lommel [Tue, 30 Aug 2011 10:07:50 +0000 (10:07 +0000)]
Fixes for snprintf usage:
* replace by BLI_snprintf in various places, note _snprintf on windows
  does not properly null terminate the string.
* fix overflow in sequencer proxy code due to buffer being smaller than
  specified size.
* fix some usage of snprintf as strcpy, this is will go wrong if the
  string contains % characters.
* remove BLI_dynstr_printf function in gpu module, use BLI_dynstr_appendf

9 years agofix for some warnings with the recent merge, also tag unused args.
Campbell Barton [Tue, 30 Aug 2011 09:50:31 +0000 (09:50 +0000)]
fix for some warnings with the recent merge, also tag unused args.

9 years agoRemoving outdated files.
Joerg Mueller [Tue, 30 Aug 2011 09:26:59 +0000 (09:26 +0000)]
Removing outdated files.

9 years agoMerging pepper to trunk at revision 39791.
Joerg Mueller [Tue, 30 Aug 2011 09:15:55 +0000 (09:15 +0000)]
Merging pepper to trunk at revision 39791.

Important note: I used rsync to do the local merge, as "svn merge --reintegrate ^/branches/soc-2011-pepper" doesn't work with our svn server right now!

9 years ago* Merge trunk up to r39790. soc-2011-pepper
Joerg Mueller [Tue, 30 Aug 2011 08:22:03 +0000 (08:22 +0000)]
* Merge trunk up to r39790.
* Subversion bump (also for init_userdef_do_versions).
* Minor fix for compilation without ffmpeg.

9 years agoLast bunch of minor fixes before merge.
Joerg Mueller [Tue, 30 Aug 2011 07:57:55 +0000 (07:57 +0000)]
Last bunch of minor fixes before merge.
* Use NULL in AUD_Reference.h
* Use SETLOOPER in sound.c
* Move flags to the end of Speaker struct.

9 years agofix [#28413] bpy.ops.nla.bake can't bake from frame 0
Campbell Barton [Tue, 30 Aug 2011 04:13:48 +0000 (04:13 +0000)]
fix [#28413] bpy.ops.nla.bake can't bake from frame 0

9 years agoCycles: integrator presets, patch by Thomas.
Brecht Van Lommel [Mon, 29 Aug 2011 17:55:14 +0000 (17:55 +0000)]
Cycles: integrator presets, patch by Thomas.

9 years agoFix #28295 Outliner, mouse button on menu's pass through.
Sergey Sharybin [Mon, 29 Aug 2011 17:46:07 +0000 (17:46 +0000)]
Fix #28295 Outliner, mouse button on menu's pass through.

It was introduced in rev33603 with not good patch -- release event
was catching by outliner after clicking on menu item.

Use KM_CLICK instead of KM_RELEASE to deal with icon drag/drop.
This not changes drag/drop behavior, but prevents unneeded event be handled.
Also make consistent behavior of activating and extending selection.

9 years agoCycles: some tweaks to try to get sm_13 shader compiling.
Brecht Van Lommel [Mon, 29 Aug 2011 17:17:40 +0000 (17:17 +0000)]
Cycles: some tweaks to try to get sm_13 shader compiling.

9 years agoCycles: pause button to interrupt viewport renders, in the 3d view header.
Brecht Van Lommel [Mon, 29 Aug 2011 16:54:13 +0000 (16:54 +0000)]
Cycles: pause button to interrupt viewport renders, in the 3d view header.

9 years agoFix #28347: VBO's highlights wrong faces when Mirror modifier is in use
Sergey Sharybin [Mon, 29 Aug 2011 16:07:44 +0000 (16:07 +0000)]
Fix #28347: VBO's highlights wrong faces when Mirror modifier is in use

Added callback to drawMappedFaces which checks if two faces have got equal draw options.

After discussion with Brecht we found it's nicest solution for now:
- Disabling VBOs in edit mode for this case wouldn't be nicer for this case -
  some additional flag stored in DM should be added in this case.
- Adding new callback in DM isn't nicer that this solution.
- Handling face selection in drawobject would lead to duplicated code
  which is also not nice.

Hopefully, this callback could handle all cases in the future.

Also, Brecht mentioned current VBO implementation isn't perfect, so maybe
when we'll redesign this area dealing with edit mode wouldn't be so tricky.

9 years ago* Reverting Titlecard commit r37537
Joerg Mueller [Mon, 29 Aug 2011 15:01:55 +0000 (15:01 +0000)]
* Reverting Titlecard commit r37537
* Reverting update recent files commit r37155
* Turning reference counts into unsigned ints
* Minor things

9 years agoCycles UI file:
Thomas Dinges [Mon, 29 Aug 2011 13:59:11 +0000 (13:59 +0000)]
Cycles UI file:
* Import bpy.types.Panel at the beginning, like in Trunk

9 years agoFix player build error after envmap commit.
Brecht Van Lommel [Mon, 29 Aug 2011 12:57:46 +0000 (12:57 +0000)]
Fix player build error after envmap commit.

9 years agoCycles: fix cuda assertion that could be triggerd sometimes, when trying to
Brecht Van Lommel [Mon, 29 Aug 2011 11:47:03 +0000 (11:47 +0000)]
Cycles: fix cuda assertion that could be triggerd sometimes, when trying to
tonemap an empty image.

9 years agoCycles: preview passes setting to set the max number of passes to render in
Brecht Van Lommel [Mon, 29 Aug 2011 10:21:10 +0000 (10:21 +0000)]
Cycles: preview passes setting to set the max number of passes to render in
the viewport working now, set to 0 for unlimited (well, actually 2147483647).

9 years agoBGE Animations: Various changes to make code reviewers happy:
Mitchell Stokes [Mon, 29 Aug 2011 06:19:55 +0000 (06:19 +0000)]
BGE Animations: Various changes to make code reviewers happy:
  * Naming/style changes
  * Taking advantage of switch statements
  * Removing unneeded NULL checks
  * etc

9 years agobge bugfix: [#28362] Controllers names appear incorrectly with a python query
Dalai Felinto [Mon, 29 Aug 2011 03:20:15 +0000 (03:20 +0000)]
bge bugfix: [#28362] Controllers names appear incorrectly with a python query
the uniquename was never fully implemented for sensors and actuators, only for controllers.
at some point we either get rid of all of them, or bring them all on.

For now removing the "unique name" of controllers

9 years agoclear some warnings with new proxy code.
Campbell Barton [Mon, 29 Aug 2011 01:00:14 +0000 (01:00 +0000)]
clear some warnings with new proxy code.

9 years agoSVN maintenance.
Guillermo S. Romero [Sun, 28 Aug 2011 23:44:43 +0000 (23:44 +0000)]
SVN maintenance.

9 years agopatch [#28355] Better Environment Map scripting
Campbell Barton [Sun, 28 Aug 2011 23:24:34 +0000 (23:24 +0000)]
patch [#28355] Better Environment Map scripting
from Tom Edwards (artfunkel), with minor edits.

This patch makes the following improvements to environment map scripting:

* Adds a "is_valid" RNA property to envmaps. True if the map is ready for use, False if it needs rendering.
* Adds a "clear" RNA function to envmaps. Deletes any envmap image data.
* Adds a "save" RNA function to envmaps. Writes the envmap to disc with a configurable layout. (Defaults to the current hard-coded layout.)
* Updates bpy.ops.texture.envmap_save with configurable layout support as above.

These changes, particularly configurable layouts, make exporting envmaps to other software much easier.

9 years agoSVN maintenance.
Guillermo S. Romero [Sun, 28 Aug 2011 21:48:52 +0000 (21:48 +0000)]
SVN maintenance.

9 years agofix [#28401] OpenGL render option disables border clipping
Campbell Barton [Sun, 28 Aug 2011 21:13:03 +0000 (21:13 +0000)]
fix [#28401] OpenGL render option disables border clipping

9 years ago== Sequencer / proxies ==
Peter Schlaile [Sun, 28 Aug 2011 19:58:33 +0000 (19:58 +0000)]
== Sequencer / proxies ==

fixed crash pointed out by blendervse:
100%-proxy could lead to a segfault under certain conditions.

9 years agoMissed notifier was found when looking at #28393
Sergey Sharybin [Sun, 28 Aug 2011 18:54:02 +0000 (18:54 +0000)]
Missed notifier was found when looking at #28393

9 years agoarmature object animation bug fix.
Sukhitha Prabhath Jayathilake [Sun, 28 Aug 2011 18:30:18 +0000 (18:30 +0000)]
armature object animation bug fix.

9 years ago== Sequencer ==
Peter Schlaile [Sun, 28 Aug 2011 14:46:03 +0000 (14:46 +0000)]
== Sequencer ==

This patch adds:

* support for proxy building again (missing feature from Blender 2.49)
  additionally to the way, Blender 2.49 worked, you can select several
  strips at once and make Blender build proxies in the background (using
  the job system)
  Also a new thing: movie proxies are now build into AVI files, and
  the proxy system is moved into ImBuf-library, so that other parts
  of blender can also benefit from it.

* Timecode support: to fix seeking issues with files, that have
  a) varying frame rates
  b) very large GOP lengths
  c) are broken inbetween
  d) use different time code tracks

  the proxy builder can now also build timecode indices, which are
  used (optionally) for seeking.

  For the first time, it is possible, to do frame exact seeking on
  all file types.

* Support for different video-streams in one video file (can be
  selected in sequencer, other parts of blender can also use it,
  but UI has to be added accordingly)

* IMPORTANT: this patch *requires* ffmpeg 0.7 or newer, since
  older versions don't support the pkt_pts field, that is essential
  for building timecode indices.

  Windows and Mac libs are already updated, Linux-users have to build
  their own ffmpeg verions until distros keep up.

9 years ago* Removing mocap GSoC (is an addon already).
Joerg Mueller [Sun, 28 Aug 2011 14:21:44 +0000 (14:21 +0000)]
* Removing mocap GSoC (is an addon already).
* Fixing ffmpeg-0.8 errors.
* Fixing Ketsji paths.
* Removing DoSound from BGE.
* Fixing audio scene update to use only current scene objects.

9 years agoCycles:
Brecht Van Lommel [Sun, 28 Aug 2011 13:55:59 +0000 (13:55 +0000)]
Cycles:
* Add alpha pass output, to use set Transparent option in Film panel.
* Add Holdout closure (OSL terminology), this is like the Sky option in the
  internal renderer, objects with this closure show the background / zero
  alpha.
* Add option to use Gaussian instead of Box pixel filter in the UI.
* Remove camera response curves for now, they don't really belong here in
  the pipeline, should be moved to compositor.

* Output full float values for rendering now, previously was only byte precision.
* Add a patch from Thomas to get a preview passes option, but still disabled
  because it isn't quite working right yet.
* CUDA: don't compile shader graph evaluation inline.
* Convert tabs to spaces in python files.

9 years agoAssorted comment clarification in response to code review notes
Joshua Leung [Sun, 28 Aug 2011 11:39:18 +0000 (11:39 +0000)]
Assorted comment clarification in response to code review notes

9 years agoRNA_property_as_string now escapes the string (so operator redo can include strings...
Campbell Barton [Sun, 28 Aug 2011 09:28:41 +0000 (09:28 +0000)]
RNA_property_as_string now escapes the string (so operator redo can include strings with ", \n etc), also fixed a bug in string escape length limit.

9 years ago- use static vars and functions where possible.
Campbell Barton [Sun, 28 Aug 2011 05:06:30 +0000 (05:06 +0000)]
- use static vars and functions where possible.
- use NULL rather than 0 when used as pointers.