Brecht Van Lommel
f7a0499f16
Cycles: fix nan's generated by glossy BSDF in some cases.
2012-04-06 16:08:14 +00:00
Thomas Dinges
732806225d
Ghost:
...
* Typo fix, preventing mingw to compile.
Found by XercesBlue in IRC:
2012-04-06 10:24:15 +00:00
Campbell Barton
df29e91a69
code cleanup: header cleanup, remove commented workaround for mingw since its no longer needed.
2012-04-06 04:46:47 +00:00
Brecht Van Lommel
91eeddc973
Fix windows compile error in previous commit.
2012-04-05 16:23:47 +00:00
Thomas Dinges
d024238fb2
Cycles / OpenCL:
...
* Enable __KERNEL_SHADING__ per default for OpenCL.
This enables basic shading (color, emission, textures...) for AMD cards.
You need the latest AMD catalyst driver in order to have this work.
2012-04-05 16:19:51 +00:00
Brecht Van Lommel
6e93e33294
Cycles: add rejection of inf/nan samples, in principle these should not happen
...
but this makes it more reliable for now.
Also add an integrator "Clamp" option, to clamp very light samples to a maximum
value. This will reduce accuracy but may help reducing noise and speed up
convergence.
2012-04-05 15:17:45 +00:00
Brecht Van Lommel
eefdeebae5
Fix #30710 : cycles wrong render time after pause/unpause in viewport.
2012-04-04 16:11:44 +00:00
Brecht Van Lommel
d7d8c668ca
Fix #30803 : shader node Mapping location property conflicted with based class
...
location property (for the node editor), now renamed to "translation".
2012-04-04 16:11:39 +00:00
Brecht Van Lommel
e12adeb8c9
Fix #30551 : cycles passes combining did not always give identical result combined
...
with antialiasing/defocus, now divide out color at the very end instead of for each
sample.
2012-03-28 12:18:12 +00:00
Brecht Van Lommel
755f018324
Cycles: shadow pass support. Note that this only takes into account lamps,
...
emitting objects or world lighting do not contribute to the shadow pass.
Consider this more as a pass useful for some compositing tricks, unlike
other lighting passes this pass can't be used to exactly reconstruct the
combined pass.
2012-03-28 10:39:21 +00:00
Brecht Van Lommel
d87995a6b1
Cycles: add rendered draw mode option in 3d view header to show the active
...
render layer rather than the viewport layers.
2012-03-28 09:07:35 +00:00
Brecht Van Lommel
33740c5eb5
Cycles: viewport rendered draw mode now shows background images, also changed the
...
image editor checkerboard pattern to be the same as cycles viewport.
2012-03-28 09:07:10 +00:00
Campbell Barton
83e83e5eff
quiet some warnings for gcc 4.7
2012-03-26 20:49:33 +00:00
Brecht Van Lommel
53dab9ec69
Cycles: fix for ColorRamp node alpha output.
2012-03-26 13:21:43 +00:00
Brecht Van Lommel
bbc3d820f4
Cycles: add ColorRamp node.
2012-03-26 12:45:14 +00:00
Thomas Dinges
d3c596035b
Cycles / CUDA:
...
* Make Cycles aware of Computing Capability 3.0, used by the new Kepler Cards.
You'll need the CUDA 4.2 Toolkit to compile it.
2012-03-25 17:52:50 +00:00
Guillermo S. Romero
d6fd5266d0
SVN maintenance.
2012-03-24 01:42:08 +00:00
Campbell Barton
385c11d92c
last commit broke cycles, also add BMESH_TODO's for python scripts that need upgrading.
2012-03-23 00:56:22 +00:00
Campbell Barton
d89c5077f3
patch [ #30636 ] Enable full screen mode with SDL2
...
from Wander Costa (walac)
2012-03-22 18:47:52 +00:00
Dalai Felinto
a00594837a
patch [ #30635 ] Fix SDL2 version check by Wander Costa (walac)
2012-03-22 14:06:42 +00:00
Joerg Mueller
112ef14422
Fix for [ #30499 ] video sequencer crashes when moving around within a sequence.
2012-03-21 09:04:34 +00:00
Campbell Barton
303cecf139
spelling cleanup: tesselate -> tessellate (last of these found)
2012-03-20 22:56:26 +00:00
Brecht Van Lommel
b26d3f371a
Fix #30603 : cycles incorrect ray differentials when rendering with panorama
...
camera, causing bump map issues.
2012-03-20 19:32:12 +00:00
Brecht Van Lommel
8b4c1f729b
Cycles: fix issue reported in IRC, rendering a material that mixes a transparent
...
and glass BSDF would give a different result with/without using light passes.
2012-03-20 16:16:17 +00:00
Alexander Kuznetsov
f11a6d3a84
Adds support for utf paths on Windows.
...
Not all file formats/calls are supported yet. It will be expended.
Please from now on use BLI_fopen, BLI_* for file manipulations.
For non-windows systems BLI_fopen just calls fopen.
For Windows, the utf-8 string is translated to utf-16 string in order to call UTF version of the function.
2012-03-20 02:17:37 +00:00
Nicholas Bishop
ccbed13343
Quiet warnings about unused functions and variables.
...
Commented or '#if 0' these functions/variables and marked with
'UNUSED' comment so they can be restored in the future if needed.
2012-03-19 22:21:40 +00:00
Campbell Barton
4f19c1a995
spelling cleanup
2012-03-18 07:38:51 +00:00
Guillermo S. Romero
dd8504ed87
SVN maintenance.
2012-03-18 01:58:16 +00:00
Alexander Kuznetsov
ed44ddd816
Patch by Psy-Fi + my minor changes
...
Adds conformation on exit for windows. Needs to be enabled in user perf.
Tried to edit blender.exe.manifest for more modern dialog look, but didn't work out.
2012-03-16 17:37:45 +00:00
Campbell Barton
08f17b2a53
SDL ghost update to work with SDL2.
...
this gives some problems because SDL2 Needs a window before fullscreen is set, the player currently doesnt have a window created when fullscreen is called.
2012-03-13 20:24:05 +00:00
Campbell Barton
59303e35fc
WITH_GHOST_SDL working again (missing std:: update)
2012-03-13 14:28:58 +00:00
Campbell Barton
2fbb5ce833
bmesh py api: more comprehensive intro page, also fix some spelling errors.
2012-03-13 06:22:43 +00:00
Campbell Barton
a04f44f486
fix [ #30472 ] 3d view objects not rendered, cycles.
...
holdout layer wasnt initializes in some cases.
2012-03-12 01:34:38 +00:00
Thomas Dinges
e13e78495b
Cycles UI files:
...
* Minor cleanup and raise blender version to 2.62 in the addon.
2012-03-11 16:25:58 +00:00
Brecht Van Lommel
36b2f4a009
Cycles: another tooltip tweak.
2012-03-09 19:01:44 +00:00
Brecht Van Lommel
077deb1453
Cycles: improve F/Stop number tooltip description.
2012-03-08 20:13:33 +00:00
Brecht Van Lommel
284fcd2df2
Cycles: fix UI when material has nodes but use nodes option is disabled, it
...
didn't show this option then.
2012-03-08 19:53:01 +00:00
Brecht Van Lommel
9b8dae71a5
Cycles: support for environment texture "Mirror Ball" projection mode, next to
...
existing "Equirectangular". This projection is useful to create light probes
from a chrome ball placed in a real scene. It expects as input a photograph of
the chrome ball, cropped so the ball just fits inside the image boundaries.
Example setup with panorama camera and mixing two (poor quality) photographs
from different viewpoints to avoid stretching and hide the photographer:
http://www.pasteall.org/pic/28036
2012-03-08 19:52:58 +00:00
Campbell Barton
ee84084f99
style cleanup: pep8 + picky edits
2012-03-08 05:36:05 +00:00
Brecht Van Lommel
cb45a5bbb0
Cycles: option to specify camera aperture in radius or f/stop:
...
http://wiki.blender.org/index.php/Doc:2.6/Manual/Render/Cycles/Camera#Depth_of_Field
Patch by Ejner Fergo.
2012-03-07 13:01:30 +00:00
Brecht Van Lommel
e6c2f05efa
Cycles: mask layers were still confusing, now they work more like in the original
...
commit again and less like blender internal, see documentation:
http://wiki.blender.org/index.php/Doc:2.6/Manual/Render/Cycles/Passes
2012-03-07 12:27:38 +00:00
Brecht Van Lommel
9fba458a7f
Cycles: float texture support. Due to GPU limitations there are now 95 byte,
...
and 5 float image textures. For CPU render this limit will be lifted later
on with image cache support. Patch by Mike Farnsworth.
Also changed color space option in image/environment texture node, to show
options Color and Non-Color Data, instead of sRGB and Linear, this is more
descriptive, and it was not really correct to equate Non-Color Data with
Linear.
2012-03-07 12:27:18 +00:00
Lukas Toenne
92322b57d4
Fix for 30439, Cycles node group conversion wasn't checking node->id pointer (group node without internal node tree). This is a somewhat unusual case (UI buttons don't allow unlinking group tree), but not entirely forbidden.
...
Also fixed similar issue in node_templates.c where the group tree is used to generate a button name.
2012-03-06 11:34:57 +00:00
Sergey Sharybin
a3a6f30403
Boolean modifier:
...
- Fixed convex quad detection (in some special cases non-convex quad was detecting as convex)
- Do not add faces with zero area to the output object.
This should resolve #30395 : Degenerated triangles from BMesh + Difference
2012-02-29 13:48:19 +00:00
Mike Erwin
8600c8df43
ndof button handling improvements: Spaceball5000's A,B,C buttons can now be keymapped, ndof modifiers (shift,alt,etc.) are almost ready but still hardcoded to act like keyboard for now. added a check to prevent crash on Linux when device is plugged in after blender starts. also fixed a bug introduced by my last commit that affected the SpaceTraveler and serial devices.
2012-02-29 02:44:08 +00:00
Brecht Van Lommel
8a76aa2e47
Cycles: fix AO pass not rendering with AO enabled for world, and make mask
...
layers work more like blender internal.
2012-02-28 19:43:33 +00:00
Brecht Van Lommel
22abc63f67
Cycles: ambient occlusion support, with AO factor and distance, and a render pass.
...
http://wiki.blender.org/index.php/Doc:2.6/Manual/Render/Cycles/World#Ambient_Occlusion
http://wiki.blender.org/index.php/Doc:2.6/Manual/Render/Cycles/Passes#Lighting_Passes
2012-02-28 16:45:08 +00:00
Brecht Van Lommel
6cb896ff0a
Cycles: fix msvc compile warning, patch by Jason Wilkins.
2012-02-28 16:45:01 +00:00
Brecht Van Lommel
4a90339519
Cycles: support for camera rendering an environment map with equirectangular
...
environment map, by enabling the Panorama option in the camera.
http://wiki.blender.org/index.php/Doc:2.6/Manual/Render/Cycles/Camera#Panorama
The focal length or sensor settings are not used, the UI can be tweaked still to
communicate this, also panorama should probably become a proper camera type like
perspective or ortho.
2012-02-28 16:44:54 +00:00
Brecht Van Lommel
0052cbed0d
Cycles: support for mask layers in render layer, this has the same effect as
...
assigning holdout shaders to every object in the specified layers.
http://wiki.blender.org/index.php/Doc:2.6/Manual/Render/Cycles/Passes#Layers
2012-02-28 16:44:45 +00:00