049ab98469
Cycles: device code refactoring, no functional changes.
2012-01-04 18:06:32 +00:00
c0eec8f379
svn merge ^/trunk/blender -r43062:43085
2012-01-03 02:16:52 +00:00
84437bb5e9
Fix #29695 : cycles particle emitter not being properly hidden.
2012-01-02 19:44:13 +00:00
1e96b5f284
Fix #29740 : missing cycles viewport update with animated node socket values.
2012-01-02 19:44:07 +00:00
2077b7e3b7
Fix #29755 : cycles crash with array modifier that can produce material indices
...
that are out of bounds.
2012-01-02 15:51:49 +00:00
Alex Fraser
15dc3d4609
Fixes two crashers for games, with GHOST under SDL:
...
- Fixes SDL fullscreen mode for game engine (blenderplayer). Mode switching (resolution changes) not supported yet though.
- Fixes embedded game engine exit.
See patch tracker [#29748 ].
2012-01-02 12:35:06 +00:00
Alex Fraser
c2bb285750
Mode switching for GHOST under X11: adds the ability to change screen resolutions in the blenderplayer on GNU/Linux.
...
Code ported from Quake 2.
2012-01-02 12:25:14 +00:00
b64f352270
svn merge ^/trunk/blender -r43033:43062
2012-01-02 02:57:36 +00:00
b5595298d3
Cycles code refactoring: change displace kernel into more generic shader
...
evaluate kernel, added background shader evaluate.
2011-12-31 15:18:13 +00:00
78a4e24614
svn merge ^/trunk/blender -r43009:43033
2011-12-31 12:03:36 +00:00
bac6757ea0
Fix for compilation error when compiling dualcon with mingw
2011-12-31 11:08:04 +00:00
ba8d1b940f
option to build without remesh modifier for cmake and scons
2011-12-31 03:34:44 +00:00
65c74f1570
workaround for error building with clang and quiet some warnings building without libmv.
2011-12-31 03:01:18 +00:00
289c8b5758
Add remesh modifier (dual contouring).
...
This patch adds a new remeshing modifier. The algorithm is based on
the paper "Dual Contouring of Hermite Data", and the implementation
was contributed to Blender by Dr. Tao Ju.
The contributed code is in intern/dualcon, and was modified to compile
under gcc and work on 64-bit systems. Files not needed for Blender
were removed and a small C wrapper was added in order to interface it
with Blender. The rest of the patch is just standard modifier stuff.
Reviewed by Sergey, code review link:
http://codereview.appspot.com/5491053/
The remesh icon was contributed by Zafio:
http://blenderartists.org/forum/showthread.php?240751-Request-for-modifier-icon/page2 .
Thanks to everyone in that thread for the icon proposals and
discussion.
Documentation and examples on the Blender wiki:
http://wiki.blender.org/index.php/User:Nicholasbishop/RemeshModifier
In case the history is needed for anything, check the remesh-modifier
branch of this git repository:
https://gitorious.org/~nicholasbishop/blenderprojects/nicholasbishop-blender
2011-12-30 21:11:40 +00:00
50ca81154e
svn merge ^/trunk/blender -r42973:42991
2011-12-30 09:23:06 +00:00
6d965f4493
style edits for function declarations
2011-12-30 07:55:15 +00:00
e32a117c8b
Fix: cycles camera dof object with non-uniform scale gave incorrect distance.
2011-12-29 23:34:25 +00:00
6b587bc5a1
svn merge ^/trunk/blender -r42957:42967
2011-12-29 06:44:51 +00:00
Dalai Felinto
b4c95833ab
bugfix: [ #29711 ] Cycles - HSV Node - Hue Change Bug
...
* Adding hue instead of removing it.
fmod doesn't work as % when it comes to negative numbers:
fmod( 1.3, 1) == 1.3 % 1 == 0.3
fmod(-0.3, 1) != -0.3 % 1
2011-12-29 05:40:48 +00:00
ea36d4eb22
svn merge ^/trunk/blender -r42953:42957
2011-12-29 01:58:47 +00:00
85a97f64a7
add UNLIKELY / LIKELY util defines to help optimize iterators that are called a lot, only defined for gcc at the moment.
...
also some cmake formatting edits.
2011-12-29 01:46:58 +00:00
cb8090d4c8
svn merge ^/trunk/blender -r42940:42953
2011-12-28 22:55:45 +00:00
9d3f5ea334
Fix #29715 : cycles and glsl normal node not working correct.
2011-12-28 19:42:22 +00:00
c9830549ea
Fix #29689 , #29702 : cycles render crash with node setups with non-cycles nodes,
...
after group socket refactoring.
2011-12-28 19:42:08 +00:00
f63e33303f
svn merge ^/trunk/blender -r42871:42882
2011-12-26 21:39:16 +00:00
50cc053690
Add a glClear() in GHOST/X11 between creating the GLX context and
...
displaying the window.
This fixes a brief flash of random data on Blender startup on my
system (Ubuntu 11.10, ATI Mobility Radeon HD 5650, Gallium drivers.)
Code review link:
http://codereview.appspot.com/5505071/
2011-12-26 19:12:13 +00:00
2cd5436a81
svn merge ^/trunk/blender -r42839:42871
2011-12-25 21:31:19 +00:00
a06358570e
Cycles Test App:
...
* Added some new integrator parameters to the xml reading.
* Added ability to specify window width/height, if not set it uses film/camera width/height.
* Added back the xml exporter script from cycles branch, with modifications to hock up into the UI. To use it, copy the script into 2.61/scripts/startup.
Note: This is intended for developers for now, but the standalone Cycles app has potential to be used as benchmark for example.
2011-12-25 13:34:18 +00:00
eb3beca8d4
replace u_int64_t with cc99's uint64_t as suggested by Nicholas Bishop.
2011-12-24 03:03:42 +00:00
33bd38ebc7
minor edits to cycles c/python module
...
- rename 'bcycles' --> '_cycles', since this is the python convention when a py module uses a C module internally.
- use macros for returning None
- make with_osl an attribute rather then a function.
- changes methods METH_VARARGS --> METH_O when single args are used.
2011-12-24 02:47:13 +00:00
27074062ab
Formatting edits <120 length lines
2011-12-24 02:32:08 +00:00
4ced91da47
svn merge ^/trunk/blender -r42778:42839
2011-12-23 08:41:53 +00:00
e68f0ff3c0
Another Fix after Cucumber Merge:
...
* Cycles did not displayed the Scene panels anymore, due to addition of COMPAT_ENGINE to them.
2011-12-22 22:34:23 +00:00
4d7c44717a
Code cleanup: fix some clang static checker warnings.
2011-12-22 20:29:44 +00:00
51016c4dea
split >120 length lines (mostly if statements)
2011-12-22 00:03:20 +00:00
c287a09b40
Cycles: support for multiple render layers. It currently renders each layer
...
entirely before moving on to the next.
2011-12-21 20:51:55 +00:00
b65061e2ae
Cycles: code refactoring, to do render layer visibility test a bit different,
...
replacing the camera visibility flag with object layer flags.
2011-12-21 20:51:43 +00:00
34909c64e5
Cycles: some small code refactoring related to buffer parameters.
2011-12-21 13:48:35 +00:00
1fef05084e
svn merge ^/trunk/blender -r42761:42776
2011-12-20 22:08:24 +00:00
2d1de2e78d
Cycles/CUDA:
...
* Rename shader model to compute capability in error messages.
2011-12-20 18:59:10 +00:00
690de79580
Cycles: some tweaks for apple opencl with ATI cards, to get it working up to
...
the level of ambient occlusion render, shaders still fail. Fixes found with
much help from Jens and Dalai.
2011-12-20 17:36:56 +00:00
40259cfe7b
Cycles: avoid using float3 in kernel constant memory, just so we're sure alignment
...
is working compatible between cpu and gpu.
2011-12-20 12:25:45 +00:00
72d2d05770
Cycles: border rendering support, includes some refactoring in how pixels are
...
accessed on devices.
2011-12-20 12:25:37 +00:00
efb4eff353
svn merge ^/trunk/blender -r42722:42742
2011-12-20 01:33:14 +00:00
27df40f87f
Fix #29653 : fix wrong cycles depth of field distance when rendering with a
...
scaled camera.
2011-12-19 14:23:24 +00:00
a0af3f7ffe
OS X: add BLENDER_SOFTWAREGL environment variable to force using software OpenGL
...
renderer, for debugging OpenGL issues.
2011-12-19 14:23:08 +00:00
2457d4f5ab
svn merge ^/trunk/blender -r42680:42722
2011-12-19 10:40:48 +00:00
Lukas Toenne
5f6bd44c82
Generalized node groups for Cycles.
...
This allows group nodes inside other group nodes in cycles and makes the
code more generic for all possible cases, like direct group
input-to-output links and unused group sockets.
Previous code tried to connect external nodes and internal group sockets
by following links until a "real" node input/output. This quickly
becomes complicated in corner cases as described above and can lead to
unexpected behavior when the group socket is of a different type than
the internal/external sockets, but that conversion is skipped.
The new code uses the concept of "proxy nodes" similar to what the new
compositor does. Each group socket is replaced with a proxy node with a
single input and output, to which other nodes in the same tree and
internal nodes can link to. After all groups have been expanded in the
graph, these proxy nodes are removed again, adding converter nodes if
necessary.
2011-12-18 15:34:06 +00:00
5c6ee6b523
svn merge ^/trunk/blender -r42670:42680
2011-12-17 02:41:53 +00:00
e5b1f9c28d
svn merge ^/trunk/blender -r42660:42669
2011-12-16 23:26:29 +00:00