Brecht Van Lommel
9b31cba74e
Cycles: some warning fixes, cpu device task tweaks, avoid unnecessary
...
tonemap in non-viewport render, and some utility functions.
2011-09-08 18:58:07 +00:00
Brecht Van Lommel
6b134ae357
Cycles: set minimum required boost version lower.
2011-09-06 17:48:06 +00:00
Brecht Van Lommel
7d9d9fa976
Cycles: use workgroup size from opencl, attempt to fix issue with apple opencl.
2011-09-05 12:24:28 +00:00
Brecht Van Lommel
f3ee10ce5c
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?
2011-09-05 08:23:01 +00:00
Antony Riakiotakis
6edb09fe93
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.
2011-09-04 15:39:09 +00:00
Brecht Van Lommel
db1664ed4c
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 ..
2011-09-03 10:49:54 +00:00
Brecht Van Lommel
67030aaf84
Cycles: optimizations for instances in scene updates before render starts,
...
should load a non-trivial mesh instanced many times quite a bit faster now.
2011-09-02 16:15:18 +00:00
Brecht Van Lommel
1135875ab1
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
2011-09-02 14:55:06 +00:00
Thomas Dinges
f10a5c9dc7
Cycles UI:
...
* If only CUDA or OpenCL is available, show the available one in the device button.
2011-09-02 12:46:37 +00:00
Brecht Van Lommel
b56ffd2cdb
Cycles: svn merge -r39669:39870 https://svn.blender.org/svnroot/bf-blender/trunk/blender
2011-09-02 12:33:29 +00:00
Campbell Barton
15afd240e0
paranoid check that RNA string functions set the string, would have helped solve keymap search bug.
...
disabled in release mode.
2011-09-02 10:43:51 +00:00
Sergey Sharybin
7a496bfbcf
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.
2011-09-02 09:39:21 +00:00
Campbell Barton
612e2d4dbe
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 )
2011-09-02 08:35:46 +00:00
Campbell Barton
8276989f63
fix [ #28460 ] SEGFAULT when trying to make empty display as image
2011-09-02 08:20:30 +00:00
Campbell Barton
1d9ddcd319
tweak to WM_operatortype_find to perform better when called with empty strings (as the keymap editor does a lot)
2011-09-02 08:01:01 +00:00
Campbell Barton
e6ff3df5b9
fix for keymap search, was using uninitialized memory when the keymaps operator couldn't be found.
2011-09-02 07:51:19 +00:00
Campbell Barton
dc7f56455c
fix for error in recent commit, when audaspace is enabled
2011-09-02 04:34:58 +00:00
Mitchell Stokes
4280e0a04f
BGE animations: adding a missing comma.
2011-09-02 03:57:37 +00:00
Campbell Barton
dc463db6c2
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.
2011-09-02 03:42:16 +00:00
Campbell Barton
1f7b41775b
minor warning fixes, also correct some float -> double promotions in shadeoutput.c
2011-09-02 03:32:57 +00:00
Thomas Dinges
fefbdc4376
Cycles: Remove warning of OpenCL not working from cmake, could be made enabled by default too, but will leave that for Brecht. :)
2011-09-02 00:53:00 +00:00
Brecht Van Lommel
3c7dcd7a47
Cycles: compile opencl kernels in non-blocking thread, and don't crash on
...
build failure but show error message in status text.
2011-09-02 00:10:03 +00:00
Brecht Van Lommel
5feb921eba
Cycles: revert fix for integrator preset refresh, it causes continuous
...
redraw leading to high cpu usage, need to find better solution.
2011-09-01 22:53:11 +00:00
Brecht Van Lommel
1f7ac51c36
Cycles: fix opencl device bug that crashed on windows. Now shows diffuse
...
meshes here on windows/nvidia.
2011-09-01 22:40:52 +00:00
Mitchell Stokes
99d5fa70de
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.
2011-09-01 21:47:46 +00:00
Mitchell Stokes
0f2be67bbf
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.
2011-09-01 19:53:14 +00:00
Brecht Van Lommel
8ddef5163f
Cycles: fix broken kernel compile after recent change, some tweaks
...
to UI to only show options when available, fix linux lib detection.
2011-09-01 19:43:57 +00:00
Brecht Van Lommel
27102bfec4
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/
2011-09-01 19:00:23 +00:00
Thomas Dinges
af7171524a
Cycles UI:
...
* Added selector for CUDA/OpenCL.
2011-09-01 18:45:50 +00:00
Brecht Van Lommel
cf9d1e23c8
Cycles: fix missing update when setting integrator preset.
2011-09-01 16:27:40 +00:00
Brecht Van Lommel
df625253ac
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
2011-09-01 15:53:36 +00:00
Joshua Leung
f940e5fdd9
Feature Request #28449 : Pose Library poses can be renamed from
...
Properties Editor
2011-09-01 10:56:16 +00:00
Campbell Barton
a8e49cd55a
use a fixed 32byte buffer for getting an rna string from python. gives a slight speedup when drawing heavy UI's
2011-09-01 09:47:21 +00:00
Campbell Barton
473292dcd7
fix for building without audaspace, since pepper merge
2011-09-01 09:46:07 +00:00
Campbell Barton
255a81c3bf
wip doc for py api tips and tricks.
2011-09-01 07:07:18 +00:00
Campbell Barton
2365c64014
whitespace bge edits
2011-09-01 02:12:53 +00:00
Campbell Barton
00143a3d55
spaces -> tabs (configure you're editors right!)
2011-09-01 01:48:50 +00:00
Campbell Barton
a22dc764bb
fix for error in patch from r39821.
2011-09-01 01:13:50 +00:00
Dalai Felinto
22676a434e
making carbon to build again (note: NDOF is not working here)
...
- fix typo
- isolate NDOF callsi in #ifdefs
2011-09-01 00:03:20 +00:00
Mitchell Stokes
1ad8ed8a60
BGE animations: Updating some constant names. They were still the originally proposed names instead of the ones that are actually used now.
2011-08-31 23:46:31 +00:00
Mitchell Stokes
812d5d2e5c
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().
2011-08-31 22:32:14 +00:00
Jens Verwiebe
d8394b9d67
set OSX default python to static
2011-08-31 14:46:27 +00:00
Jens Verwiebe
5e8d191930
OSX/scons: fix compile with static python, my patch was a bit outdates, sorry
2011-08-31 14:15:14 +00:00
Campbell Barton
fde215025e
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)
2011-08-31 10:43:22 +00:00
Nathan Letwory
d0d82c69e9
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.
2011-08-31 09:37:14 +00:00
Mitchell Stokes
f63d049adc
BGE: Adding two new functions to bge.render to allow users to change the anisotropic filtering level used by textures:
...
* setAnisotropicFiltering(level)
* getAnisotropicFiltering()
2011-08-31 05:51:51 +00:00
Campbell Barton
471c005137
typo fix: end of lines ;; --> ;
2011-08-31 01:07:55 +00:00
Campbell Barton
79249f8aed
fix [ #28430 ] Image with Stampinfo does not get saved correctly with alpha
2011-08-31 01:05:40 +00:00
Jens Verwiebe
2457c2134a
OSX: additionally choice to link against python-framework again
2011-08-30 23:52:12 +00:00
Campbell Barton
2883e035c8
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.
2011-08-30 23:37:46 +00:00