Brecht Van Lommel
78cf502c80
Cycles: border render now works in the viewport, when looking through the
...
camera, same as in render. It draws objects in solid draw mode outside of
the border.
2012-06-06 23:27:43 +00:00
Brecht Van Lommel
5ebc88266e
Cycles: small code fix for disabled code.
2012-06-06 23:27:38 +00:00
Thomas Dinges
46945d805f
Revert my own commit r47544, this does not seem to be the correct fix. :/
2012-06-06 23:01:42 +00:00
Campbell Barton
d5032657ed
style cleanup
2012-06-06 22:38:39 +00:00
Thomas Dinges
379c4ae4d8
Cycles / OSL:
...
* Missing header kernel_passes.h, needed for "direction_to_panorama" in kernel_triangle.h
2012-06-06 22:36:07 +00:00
Thomas Dinges
47c96b6e40
Cycles / OSL:
...
* Fixes for some silly typos in the checker shader.
* Added missing GPL licence block to node_fresnel.h.
2012-06-06 16:00:21 +00:00
Thomas Dinges
da38a0348a
Cycles / OSL:
...
* Fixes for r46114, object_fetch_transform missed time argument.
* Syntax fixes for Checker texture.
2012-06-05 15:40:02 +00:00
Thomas Dinges
2221b994bc
Cycles / OSL:
...
* Remove oslexec_pvt.h header and some typo fixes.
* This file needs deeper updates for changes done in OSL 0.6.0, see
11ce51418b
2012-06-05 09:29:47 +00:00
Campbell Barton
2d290040a1
style cleanup
2012-06-04 22:44:58 +00:00
Benoit Bolsee
8db6e682e9
Fix [ #31544 ]: iTaSC assertion when creating armature with no joint. This degenerated case can be obtained by having a single bone in the IK chain and locking all 3 axis. This case was causing an assert in the KDL library. The bug is fixed by simply not creating the IK scene in this case.
2012-06-04 22:29:17 +00:00
Thomas Dinges
0d3b19e734
Cycles / OSL:
...
* Fixes for changes in the OSL register_closure() API.
2012-06-04 20:50:59 +00:00
Campbell Barton
5189356d58
style cleanup
2012-06-04 20:11:09 +00:00
Thomas Dinges
510f98576a
Cycles / OSL:
...
* Compile fixes, missing ShaderClosure argument for eval functions. (r40163)
2012-06-04 19:53:50 +00:00
Brecht Van Lommel
4e338e894f
Cycles: support for image sequences in image/environment texture node.
2012-06-04 19:38:33 +00:00
Brecht Van Lommel
d9589bf0dd
Cycles: fix spot lamp emitting light in two directions.
2012-06-04 19:38:10 +00:00
Thomas Dinges
ca7197b620
Cycles / OSL:
...
* __OSL__ is now defined for CPU when building with OSL.
* First batch of compile fixes, remove some unneeded std namespace declarations and added missing includes.
2012-06-04 19:00:13 +00:00
Campbell Barton
c517247fc6
include cleanup, also raskter wasn't building on osx
2012-06-04 17:27:22 +00:00
Brecht Van Lommel
6548f7efef
Cycles: spot lamp support.
2012-06-04 17:17:10 +00:00
Campbell Barton
68a9dd54ec
mask mode for clip editor developed by Sergey Sharybin, Pete Larabell and myself.
...
see:
http://wiki.blender.org/index.php/User:Nazg-gul/MaskEditor
note - mask editing tools need continued development, feather option is not working 100%
2012-06-04 16:42:58 +00:00
Campbell Barton
a3f855f35d
raskter rasterizer by Pete Larabell, from tomato branch
2012-06-04 15:38:55 +00:00
Thomas Dinges
f9856c1c2d
Cycles / OSL:
...
* Update the Oren Nayar shader to incorporate updates / fixes from r41968 and r44330.
2012-06-03 18:04:52 +00:00
Benoit Bolsee
e063ea222c
Fix bug [ #31588 ]: iTaSC does not handle armature scaling correctly. iTaSC solver operates in world reference, therefore armature scale is used to build the ik scene. But the scaling was not taken out when applying the pose at the end of the simulation.
2012-06-03 12:06:42 +00:00
Benoit Bolsee
9ec2139c81
Fix Eigen3 unaligned array in iTaSC. The unaligned array cause crash when SSE2 is enabled. The source of unaligned array were: matrix passing by value in std::make_pair() and offset of matrix member in structure.
2012-06-03 12:00:41 +00:00
Campbell Barton
1aa27e240c
code cleanup: replace some non utf8 chars
2012-06-03 11:16:13 +00:00
Brecht Van Lommel
66f4ab396f
Cycles: different fix for object info random range issue.
2012-06-03 09:50:17 +00:00
Thomas Dinges
345a8d8170
Cycles / OSL Textures:
...
* Ported my checker texture to OSL. :)
2012-06-03 00:02:24 +00:00
Thomas Dinges
a4f3475846
Cycles / OSL Textures:
...
* More fixes, replaced all remaining size variables with scale ones.
* Remove nonzero check in OSL textures, not needed anymore, was there to prevent division by zero for the size variable.
2012-06-02 22:57:26 +00:00
Thomas Dinges
014105f35d
Cycles / OSL:
...
* More fixes for r41599, removed clouds and distorted noise textures and ported the Noise texture to OSL.
ToDo: Color output is still commented, needs a closer look.
* Some more fixes (comments, uninitialized variables)
2012-06-02 21:34:25 +00:00
Thomas Dinges
298d311bd6
Cycles / Object Info Node:
...
* The random output had a range from -0.5 to 0.5, added an offset of 0.5 to bring it into the 0.0 / 1.0 range, which is in alignment with Shader Node Guidelines.
Patch by Agustin Benavidez, thanks!
2012-06-02 21:04:16 +00:00
Thomas Dinges
d6128ae3c6
Cycles / OSL:
...
* Forgot to rename Gradient OSL file.
2012-06-02 19:25:12 +00:00
Thomas Dinges
a5b2d2a2be
Cycles / OSL:
...
* More OSL fixes for r41599, removed marble and wood texture and ported Wave Texture to OSL.
2012-06-02 19:14:14 +00:00
Thomas Dinges
cf929c7796
Cycles / Wave Texture:
...
* Found an issue in the shader code, it used the x coordinate twice.
2012-06-02 17:44:28 +00:00
Thomas Dinges
d61e6e15e4
Cycles / OSL Fixes:
...
* OSL textures were never updated after the refactor in november 2011.
* Remove stucci texture and renamed blend to gradient.
2012-06-02 17:10:59 +00:00
Campbell Barton
07ce209c64
code cleanup: warnings
2012-06-01 14:59:06 +00:00
Thomas Dinges
2b5eed9689
Cycles:
...
* Added missing GPL licence block to kernel_textures.h
2012-05-31 20:26:36 +00:00
Campbell Barton
b3bc5edffc
replaced last instance of BF_GHOST_DEBUG
2012-05-30 17:14:55 +00:00
Lukas Toenne
0e9b0f6d9e
Fix #31645 , mix node results in crash upon render. This happens when unused mix nodes are removed from the cycles graph. In case the inputs are both unconnected it still tried to reconnect them.
2012-05-30 15:47:12 +00:00
Brecht Van Lommel
9e2f377273
Fix #31556 : cycles object info random value was not properly randomized for
...
dupligroups.
2012-05-29 10:34:16 +00:00
Sergey Sharybin
df8880a81f
Fix compilation error of Cycles after recent py node removal
2012-05-29 09:51:16 +00:00
Thomas Dinges
a7c68afc72
Cycles / CUDA:
...
* Remove double declaration of cosf.
2012-05-28 23:51:06 +00:00
Thomas Dinges
d3c6c6babd
Cycles / CUDA:
...
* Remove -use_fast_math flag from scons as well.
2012-05-28 19:49:26 +00:00
Brecht Van Lommel
131de4352b
Cycles: fixes to make CUDA 4.2 work, compiling gave errors in shadows and
...
other places, was mainly due to instancing not working, but also found
issues in procedural textures.
The problem was with --use_fast_math, this seems to now have way lower
precision for some operations. Disabled this flag and selectively use
fast math functions. Did not find performance regression on GTX 460 after
doing this.
2012-05-28 19:21:13 +00:00
Thomas Dinges
04c30c5efb
Scons / MSVC - Windows x64
...
* SSE/SSE2 is an unknown option for the compiler (Command line warning D9002 : ignoring unknown option '/arch:SSE2'), so it can be left out because on x64 it automatically builds with SSE and SSE2.
2012-05-28 09:20:04 +00:00
Campbell Barton
b33f0ef0e3
style cleanup
2012-05-27 19:40:36 +00:00
Daniel Genrich
1e13168183
Smoke:
...
a) Another boundary fix. Resulted in smoke getting "sucked" back into the domain
b) Disabling substeps (internal thing). Fixes arbitrary explosions/instabilities.
Part of my Blender Smoke Development.
2012-05-27 18:45:16 +00:00
Campbell Barton
2ab62ce126
code cleanup: defines with braces - end with '(void)0' so callers must end with ';' like normal function.
...
... without this some editors dont parse the source so well.
2012-05-27 12:21:13 +00:00
Campbell Barton
857dedbc58
style cleanup
2012-05-27 00:36:50 +00:00
Miika Hamalainen
eda0f3b186
Fix for smoke boundary conditions: "Open borders" behaved differently for positive and negative axises.
...
+ Some code cleanup.
2012-05-26 21:36:19 +00:00
Campbell Barton
76599a4989
update python script memory printout to python3 and some style cleanup
2012-05-26 13:59:34 +00:00
Campbell Barton
88e646b0d4
style cleanup: our own malloc code
2012-05-26 13:36:12 +00:00