Campbell Barton
c0078a9879
osl style cleanup and update man-page.
2012-12-04 03:18:08 +00:00
Brecht Van Lommel
dbd44e3bf5
Fix scons not installing closure/ directory for runtime compiles of CUDA kernel.
2012-12-03 16:51:05 +00:00
Campbell Barton
4a9c522125
quiet float -> double conversion warnings and do some osl style edits.
2012-12-03 13:58:08 +00:00
Brecht Van Lommel
41f98978e3
Fix cycles issue when NaN is used for RGB ramp, can access array out of bounds then.
...
OSL noise() function is generating NaN's in certain cases, fix for that goes to our
OSL branch.
Also add missing minimum weight and max closure checks to OSL, forgot to add these
when fixing another bug.
2012-12-03 12:21:44 +00:00
Antony Riakiotakis
4e7a4960f7
get rid of annoying redefinition warning on cycles compilation for mingw64
2012-12-02 20:08:11 +00:00
Bastien Montagne
818a345be3
Silent a bunch of gcc warnings (usually dummy, but noisy!).
2012-12-02 16:01:06 +00:00
Campbell Barton
432193552c
fix GhostSDL displaying text in multiple views.
...
add support for multi-sample.
2012-12-02 15:58:26 +00:00
Bastien Montagne
1d09d0a9c5
Silent some warnings (the one in bmesh_operator.c was even preventing build in -Werror mode).
2012-12-02 13:35:33 +00:00
Brecht Van Lommel
b8d822eb35
Fix performance issue in OSL geometry node, compiler fails to optimize out the
...
tangent computation, tweaked the code so this works.
2012-12-02 08:25:40 +00:00
Brecht Van Lommel
9865ee7637
Fix another cycles SVM issue with closures, was not using correct sample weight
...
leading to some extra noise compared to a few revisions ago.
2012-12-01 22:00:25 +00:00
Brecht Van Lommel
7c0a0bae79
Fix #33375 : OSL geom:trianglevertices gave wrong coordinates for static BVH.
...
Also some simple OSL optimization, passing thread data pointer directly instead
of via thread local storage, and creating ustrings for attribute lookup.
2012-12-01 19:15:05 +00:00
Brecht Van Lommel
75cce01a61
Fix #33364 : cycles tile rendering artifacts.
2012-11-30 18:55:04 +00:00
Brecht Van Lommel
ceedd5bd35
Fix cycles CUDA sm 1.3 build with 32 bit compiler, tweaked voronoi
...
and brick code so that it can be uninlined.
2012-11-30 07:27:17 +00:00
Brecht Van Lommel
1246ef714e
Fix #33351 : cycles OSL not loading grayscale images as RGB correctly.
2012-11-30 06:10:25 +00:00
Brecht Van Lommel
e7f594b0df
Fix #33347 : cycles OSL crash connecting string to vector socket.
2012-11-30 06:10:16 +00:00
Brecht Van Lommel
f1745706ad
Fix cycles motion blur + OSL + object texture coordinates issue.
2012-11-29 16:11:37 +00:00
Brecht Van Lommel
186bdbd8d8
Fix #33344 : cycles motion blur was still crashing on CUDA sm 2.0. Solution now
...
is also an optimization, use quaternion nlerp instead of slerp, there's no good
reason to use slerp, and nlerp is faster too.
2012-11-29 13:07:45 +00:00
Daniel Genrich
d387dcd110
Fix compile error with clang.
...
Patch by sambler via irc
2012-11-29 12:22:07 +00:00
Brecht Van Lommel
0d6976ad0c
Fix #32900 : object motion blur not working on the GPU. To make this work I disabled motion
...
blurring of scale animation, probably not a big loss in practice since it's not so common
to animate this, can be added back later.
2012-11-29 00:43:50 +00:00
Brecht Van Lommel
bb0195e039
Fix #33337 : cycles crash with progressive refine and multiple render layers.
2012-11-28 19:57:29 +00:00
Brecht Van Lommel
33f81187fb
Fix #33335 : cycles SVM closure issue in recent bugfix, incorrectly tagging
...
node as done.
2012-11-28 19:13:34 +00:00
Brecht Van Lommel
4c13633582
Fix #33334 : missing glossy label for OSL phong ramp caused assert.
2012-11-28 16:42:32 +00:00
Sergey Sharybin
a8905364c3
Typo fix in comment. No functional changes.
2012-11-28 09:49:26 +00:00
Brecht Van Lommel
f4c93ae935
Fix #33328 : cycles not rendering dupliframes, needs an exception.
2012-11-27 21:47:55 +00:00
Brecht Van Lommel
5f8fded639
Fix cycles OSL shader loading warnings after recent bugfix.
2012-11-27 16:02:12 +00:00
Brecht Van Lommel
ceed3ef640
Fix #32907 : failure rendering a complex node setup, hitting fixed max number
...
of closures limit. Optimized the code now so it can handle more.
Change SVM mix/add closure handling, now we transform the node graph so that
the mix weights are fed into the closure nodes directly.
2012-11-26 21:59:41 +00:00
Jason Wilkins
f5d8cd34cd
-fno-rtti is a gcc option which gives a warning when using MSVC
2012-11-26 13:48:48 +00:00
Brecht Van Lommel
58ee2bdfc0
Fix: cycles light sampling crash, happens on rare occasions due to float
...
rounding errors.
2012-11-26 11:05:22 +00:00
Campbell Barton
7ef78723b7
code cleanup: doxy comment corrections and correct own typo animation player docs.
2012-11-26 00:59:11 +00:00
Brecht Van Lommel
ed986b62e8
Fix #33152 : cycles SVM crash with certain shader nodes setups where closures would
...
appear multiple times after flattening the mix/add shader part of the graph into a
tree structure.
2012-11-24 14:50:21 +00:00
Campbell Barton
ae9675a585
disable GL_MULTISAMPLE_ARB by default on X11 (same as OSX cocoa)
2012-11-24 01:06:54 +00:00
Brecht Van Lommel
d8c257faa7
IK Solver:
...
* Rename Legacy to Standard, it's not being deprecated as far as I know.
* Make option to toggle off Location solving work with Standard.
* Make it converge a bit better in some cases by enforcing a minimum number of
iterations before giving up.
* Move IK solver choice out of bone panel, it's an armature level setting and
should be set there.
2012-11-24 00:18:34 +00:00
Brecht Van Lommel
2a9b5e8f81
Fix #33267 : cycles math node power gave different results for CPU and GPU. The
...
GPU variants do not support pow(-1, 2), it doesn't check for even exponents, do
manually now.
2012-11-23 17:39:41 +00:00
Jason Wilkins
69b88cf719
Patch [ #33196 ] Warning Fixes 11-16-2012
...
* MEM_CacheLimitier - Size type to int conversion, should be safe for now (doing my best Bill Gates 640k impression)
* OpenNL CMakeLists.txt - MSVC and GCC have slightly different ways to remove definitions (DEBUG) without the compiler complaining
* BLI_math inlines - The include guard name and inline option macro name should be different. Suppressed warning about not exporting any symbols from inline math library
* BLI string / utf8 - Fixed some inconsistencies between declarations and definitions
* nodes - node_composite_util is apparently not used unless you enable the legacy compositor, so it should not be compiled in that case.
Leaving out changes to BLI_fileops for now, need to do more testing.
2012-11-23 15:12:13 +00:00
Brecht Van Lommel
c25cfd3044
Fix cycles AO issue, still was missing AO pass for black/non-diffuse objects.
2012-11-23 13:41:25 +00:00
Campbell Barton
8ab5aa6e8d
code cleanup: warning & style
2012-11-23 06:35:06 +00:00
Daniel Genrich
ef67ddeba9
Bugfix [ #29186 ] Object contribute to fluid sim animation start earlier than keyframe
...
Also fix:
- Fluid simulation was always lagging 1 frame behind: E.g. the 250th frame in blender showed 249th frame of the fluid simulation.
Change:
- Animated enabled/disabled property only gets counted as "on" if value >= 1
Note that this bugfix should solve many problems with timings of animated fluid sim properties.
2012-11-23 05:00:07 +00:00
Dalai Felinto
f403ca34c7
final fix for Sensor Fit (AUTO, HOR, VERT) in panorama lens - patch by Brecht Van Lommel and me
2012-11-23 02:10:13 +00:00
Brecht Van Lommel
a72c03bc1c
Fix cycles OSL wrong reflection texture coordinate.
2012-11-22 22:24:34 +00:00
Brecht Van Lommel
f4297c2ec5
Cycles: disable anisotropic BSDF on CUDA sm 1.x, to try to get it building again.
2012-11-22 16:08:18 +00:00
Sergey Sharybin
eb75e43685
Solved descriptors leak in OCIO module on windows
...
Seems was simply caused by wrong destructor used in processorRelease
2012-11-22 12:48:09 +00:00
Brecht Van Lommel
d4222c2240
Tweak macbook trackpad version check, now assumes to be there for version >= 10.
2012-11-22 11:50:15 +00:00
Jens Verwiebe
b3b3d00e06
Fix #33185 correct now, forgot stringlength incrased
2012-11-22 11:26:21 +00:00
Jens Verwiebe
d8958e02d2
Fix #33185 by taking new sysctl hw.model into accont
2012-11-22 10:59:46 +00:00
Brecht Van Lommel
6094011c90
Fixes for OS X default locale: use pclose and do error checking for file read.
2012-11-21 15:14:19 +00:00
Jens Verwiebe
d314eef7a7
OSX/locale: moved command up, so errorchecking also happens
2012-11-21 14:29:34 +00:00
Jens Verwiebe
d0b7b0d228
OSX/locale: workaround to get osx system locale from user defaults
2012-11-21 13:54:54 +00:00
Sergey Sharybin
cdcab16d12
Style cleanup: mixed tabs/spaces were used for indentation in osl_closures.h
2012-11-21 13:45:37 +00:00
Sergey Sharybin
b118512448
Cycles: solve -Wmissing-declarations for osl kernel
2012-11-21 13:41:47 +00:00
Brecht Van Lommel
a9c601ceff
Fix #33257 : cycles camera clipping did not work through transparent objects.
2012-11-21 13:22:24 +00:00