Commit Graph

32584 Commits

Author SHA1 Message Date
Campbell Barton
97e58e499d use CMake's CUDA_NVCC_EXECUTABLE rather then own hard coded CYCLES_CUDA variable. 2011-10-17 11:54:43 +00:00
Thomas Dinges
c18e9a1bc6 Cycles:
* Auto detection of CUDA toolkit, using FIND_PACKAGE(CUDA). (Requires at least CMAKE 2.8)
2011-10-17 11:24:20 +00:00
Brecht Van Lommel
d537a1586d Cycles: fix crash using uv + generated texture coordinates on a single mesh. 2011-10-16 22:07:55 +00:00
Thomas Dinges
590a524323 Cycles:
Add cmake path for the CUDA toolkit (default installation) on windows.
2011-10-16 22:06:35 +00:00
Brecht Van Lommel
7b06c1718b Cycles: material "sample as light" option, to make the integrator sample the
object as a mesh light or not. This may result in more/less noisy renders
depending on the situation, but should converge to the same result.
2011-10-16 20:58:48 +00:00
Brecht Van Lommel
5fd67a3ba5 Cycles: enable multi closure sampling and transparent shadows only on CPU and
CUDA cards with shader model >= 2 for now (GTX 4xx, 5xx, ..). The CUDA compiler
can't handle the increased kernel size currently.
2011-10-16 18:54:27 +00:00
Brecht Van Lommel
33691eb0e7 Cycles: revert unneeded branch change to particles UI script. 2011-10-16 17:55:39 +00:00
Brecht Van Lommel
e5f544dd92 Cycles: add transparent shadow support, i.e. shadows through Transparent BSDF
shaders, enabled by default.
2011-10-16 17:54:43 +00:00
Brecht Van Lommel
60bc63c7b8 Cycles: enable improved closure sampling, this should give less noise for mix, add
and glass shaders. How well this will work on non-fermi GPU's is unclear still, it's
a bit heavy on register usage.
2011-10-16 17:40:47 +00:00
Brecht Van Lommel
11f3029267 Cycles: fix F12 render not using render resolution for modifiers. 2011-10-16 17:19:29 +00:00
Brecht Van Lommel
7600c687b2 Cycles: fix sampling issue with certain (transparent) max bounce settings, and
tweak presets/defaults to use 128 instead of 1024.
2011-10-16 17:06:01 +00:00
Brecht Van Lommel
7b1ef0f416 Cycles: use mesh normals computed by Blender instead of computing our own,
solves an issue with poor mesh geometry.
2011-10-16 17:00:48 +00:00
Brecht Van Lommel
5c3d8c1eb6 Cycles: fix missing node editor redraw when assiging/removing materials. 2011-10-16 16:53:24 +00:00
Thomas Dinges
60b72a7a41 Cycles:
* World background was emitting light, even after removal of World shader nodes.
2011-10-16 14:11:53 +00:00
Brecht Van Lommel
d5b679253a Cycles:
* Sun, area and point lights with size now supported
* Cast shadow option to disable shadow casting for lamps
* Emission strength of materials tweaked such that setting strength to 1.0
  basically makes the material "shadeless" in that the value of the color
  input will be the resulting color in the image.
2011-10-15 23:49:01 +00:00
Brecht Van Lommel
d293d74942 Cycles: more tweaks to get old/new shading systems working better together, for
now also made non-material/world/lamp stuff use old texture datablocks, no time
to get this fully working now. Still some python tweaks to do to ensure the right
panels show.
2011-10-15 20:43:45 +00:00
Brecht Van Lommel
9c959d98fe Cycles: make Attribute node work, code for it was implemented in kernel, only
missing was the ability to specify the attribute name in the node. This makes
it possible to use multiple uv or vertex color layers now.
2011-10-15 20:13:35 +00:00
Brecht Van Lommel
19a42adc61 Cycles: fix nodes gone missing after new/old shading node compatibility changes. 2011-10-15 16:20:41 +00:00
Brecht Van Lommel
9ebfcea8f3 Cycles: revert commit that joined surface/volume socket into a single shader socket,
on second thought this makes it a bit too difficult to understand what's going on.
2011-10-12 23:03:12 +00:00
Brecht Van Lommel
310b25c388 Cycles: code refactoring to split out code from mapping node. 2011-10-12 22:42:13 +00:00
Brecht Van Lommel
7d86c6b157 Cycles: add compatibility check to node link menu. 2011-10-12 16:09:35 +00:00
Brecht Van Lommel
4c3b94fdbd Cycles: image texture node now uses UV as default texture coordinate,
instead of generated.
2011-10-12 16:01:37 +00:00
Brecht Van Lommel
aff03aa778 Cycles: tag shading nodes as being compatible with the old/new shading system,
so they only appear in the list when needed. Old shading nodes were previously
disabled entirely, breaking internal renderer compatibility.
2011-10-12 15:54:53 +00:00
Brecht Van Lommel
c3c44f8736 Cycles: don't use glsl in textured draw mode, to keep things simpler and faster
there for now. Also add viewport color setting for materials for solid draw mode.
2011-10-12 15:48:26 +00:00
Brecht Van Lommel
9ec1114765 Cycles: make node with multiple input sockets with the same name work. Previously
nodes like Mix had their sockets renamed to Color1/Color2, but doing this breaks
compatibility for the internal renderer, so restored it now.
2011-10-12 15:45:52 +00:00
Brecht Van Lommel
7503a7edfb Cycles: replace surface/volume sockets in output nodes with a single shader socket,
decided it's better to render objects as either surface or volume.

This may break the volume rendering patch, but shaders with volume closures still
get tagged as having volume closures, so it should be fixable without too many
changes.
2011-10-12 15:42:35 +00:00
Brecht Van Lommel
85818c8209 Cycles: add python render engine option to use new shading nodes or not, instead
of hardcoded check for cycles. Also some other minor code cleaning tweaks.
2011-10-11 17:19:55 +00:00
Brecht Van Lommel
4f33d65ba1 Cycles: svn merge -r40411:40934 ^/trunk/blender 2011-10-11 14:30:53 +00:00
Campbell Barton
79f21f88c2 fix for drag-n-drop ID's for renaming (own fault when fixing #24016) 2011-10-11 10:59:52 +00:00
Xiao Xiangquan
f7b922fe93 rna source files are not needed in POTFILE.in, and small fix on readme 2011-10-11 06:24:11 +00:00
Dalai Felinto
435a0ccda7 Adding FA (Persian - Farsi) language to po + flipping Arabic name in the Language Enum 2011-10-11 05:52:58 +00:00
Campbell Barton
93e4de7552 fix for py/rna assigning an invalid index. also give better error message in this case. 2011-10-11 05:45:59 +00:00
Campbell Barton
85a2280c86 fix for crash in BLI_join_dirfile() when the dir is longer then the target string.
starting blender in a dir longer then 240 chars would crash.
2011-10-11 05:21:24 +00:00
Xiao Xiangquan
45ad9faf34 Handle "Open Recent..." 2011-10-11 05:02:45 +00:00
Campbell Barton
751aa8c7f4 py api: bpy_extras.io_utils.path_reference() - added library argument so exporters get the paths of linked images right. 2011-10-11 04:36:27 +00:00
Campbell Barton
fa5275cdfa - bpy.path.abspath(), added optional library argument since any paths from linked datablocks are relative to this, not the blend files path, this saves kludgy path code wherever libraries may be used.
- Image "Edit Externally" operator can now edit relative library images.

also minor edits to navmesh.
2011-10-11 04:09:11 +00:00
Campbell Barton
e8bcccae33 create navmesh operator would crash on non-mesh objects, add type check and report if no mesh objects are selected. 2011-10-10 22:06:07 +00:00
Joerg Mueller
9cabc57a62 Sequencer audio waveform drawing fix, now assured to be within the strip bounds. 2011-10-10 14:59:13 +00:00
Sergey Sharybin
21a755b4f5 Fix #28857: 2.60 rc1 regression?
If displacement mapping is used, normals shouldn't be flipped.
2011-10-10 14:32:08 +00:00
Campbell Barton
90b3bd84da fix [#28850] With "Auto-keyframe" on, the "Selection to Cursor" option doesn't create keyframe. 2011-10-10 12:56:21 +00:00
Sergey Sharybin
92c4fe8713 Revert "Fix #28863: Inconsistent UI inside of the UV/ImageEditor window"
This reverts commit 40899 due to UI department feedback.
2011-10-10 10:35:18 +00:00
Campbell Barton
ac1e737aa8 correct operator name from my own recent changes and edit navmesh rna prop name for consistency 2011-10-10 10:24:26 +00:00
Campbell Barton
54adf3de62 fix bad svn ID tags 2011-10-10 09:44:14 +00:00
Campbell Barton
bc40f11093 header cleanup (no functional changes) 2011-10-10 09:38:02 +00:00
Bastien Montagne
1c0ff6109d Now append/link will start at current blend file directory, if available (lastest used lib keeps priority). 2011-10-10 08:25:28 +00:00
Campbell Barton
317d11214e add in empty modifier slot so dynamic paint files don't break. 2011-10-10 07:50:39 +00:00
Sergey Sharybin
849c64dc50 Fix #28863: Inconsistent UI inside of the UV/ImageEditor window
Make panels which are on left be toggled by T, and which are on right by N.
2011-10-10 07:40:44 +00:00
Campbell Barton
2de1bd7dc5 updates to navmesh
- 2 new navmesh operators, reset and clear navmesh data.
- rename operators to be more consistent with existing names.
- some minor edits to draw function, was getting the custom data for every index when it already had the array.
2011-10-10 07:21:42 +00:00
Campbell Barton
70cd4b77bb edit error macro formatting (confuses some editors) 2011-10-10 07:10:53 +00:00
Campbell Barton
aa3b531839 fix for using uninitialized stack memory in mesh_foreachScreenFace__mapFunc(), used for face selection. 2011-10-10 06:56:28 +00:00