Commit Graph

9952 Commits

Author SHA1 Message Date
Campbell Barton
7c7a931fed made auto threads default (noob's get faster renders in their dual core CPU's)
changed env variable check order $TMP, $TMPDIR - aparently $TMP is more common.
2008-02-21 08:43:13 +00:00
Ken Hughes
91d44a9124 Allow sequencer to use scene strips with no camera, if those scenes also use
the sequencer.  This time, actually apply patch to the file before submmiting.
2008-02-21 01:35:20 +00:00
Ken Hughes
cf2e89c285 Allow sequencer to use scene strips with no camera, if those scenes also use the sequencer. 2008-02-21 01:19:42 +00:00
Brecht Van Lommel
1695c8fe5d Fix for bug #6897: radiosity or autosmooth + displace gave different results
than regular displace.
2008-02-20 20:37:20 +00:00
Daniel Genrich
59fc05b1b9 Bugfix [#7847]: Fluid didn't work with ipo drivers 2008-02-20 20:15:00 +00:00
Campbell Barton
2e299df561 Only use $TEMP for win32, for other os's use $TMP or $TMPDIR 2008-02-20 20:07:37 +00:00
Campbell Barton
4c0b33ef80 Python Bugfix
A new file could have its Blender.Get("filename") return "<memory>" after undo'ing on an open file.
Fix for own error with python sys.path, messed up game engine.
2008-02-20 18:56:07 +00:00
Jean-Luc Peurière
1892df0e68 making auto detection of threads working on Os X
sysconf exist but dont provide the needed flag
using sysctl instead
2008-02-20 16:07:42 +00:00
Daniel Genrich
e3e268253d Cloth: Bugfix for wrong number of bending springs, could result in visual artifacts 2008-02-20 15:54:34 +00:00
Brecht Van Lommel
dc9fafd7a6 Fix for bug #7873: circle select highlights wrong vertices temporarily. 2008-02-20 14:54:17 +00:00
Brecht Van Lommel
79a354172a Negative zmask rendering: now there is a setting to render everything
behind the zmask instead of in front. Might need tweaks, and doesn't
work with halo yet.
2008-02-20 14:17:53 +00:00
Brecht Van Lommel
0e1ae457ec Bugfix for duplivert render instancing with certain dupligroup setups. 2008-02-20 14:10:41 +00:00
Campbell Barton
cf27a896fa Python Bugfix,
Setting the user preference for python scripts didnt add the bpymodules subdirectory to sys.path (python module search path).
Also problems with entering and exiting- the old path was used until next restart.
2008-02-20 13:42:15 +00:00
Joshua Leung
6862acc1b3 == Action Editor - Channel Tools ==
* Added a new set of related tools for channel editing (Toggle/Enable/Disable Setting). These are activated using the Shift-W, Ctrl-Shift-W, and Alt-W hotkeys. They allow for setting of the given setting on all selected channels (where it will apply).

* Moved + grouped all the channel-related operations in a new "Channels" menu, located between the "Select" and "Markers" menus. This makes more sense than squeezing the functionality at the end of the "Key" menu!
2008-02-20 11:02:32 +00:00
Matt Ebb
53590faba1 * Added include for auto-threads to compile on Windows 2008-02-20 01:12:21 +00:00
Martin Poirier
abb21870c4 Bug #8312: Latest SVN lost LOCAL and NORMAL Transformation Coords in Armature
Stupid if condition messed Normal orientation for pose bones.

Normal part didn't change and is expected, not a bug.
2008-02-19 23:05:24 +00:00
Campbell Barton
0c4d1036d6 added win32 check for number of processors, but cant test.
could somebody running win32 see if headers need to be added to threads.c?
2008-02-19 22:59:52 +00:00
Campbell Barton
82d769c79f automatic threads, next to the Threads button, so you can set threads to use whatever the system has, useful in the studio with 2,4,8 core systems when sharing files. 2008-02-19 22:23:21 +00:00
Campbell Barton
190a35f690 Patche from Giuseppe Ghibò to look in /usr/lib64 2008-02-19 21:18:35 +00:00
Brecht Van Lommel
2283bdc09b Possible fix for bug #6922: crash in displace compositor node,
possibly because it didn't handle the vector input correct if
it was translated.
2008-02-19 20:35:19 +00:00
Brecht Van Lommel
b08b5a934f Fix for bug #6911: radiosity pass can no be excluded. 2008-02-19 19:26:49 +00:00
Brecht Van Lommel
8a7b984e7a Fix for bug #8311: painting in the image editor with left mouse button
selection enabled still painted with right mouse button, inconsistent
with painting in the 3d view.
2008-02-19 18:47:09 +00:00
Campbell Barton
97d40faee9 Added an option for texture forcefields to use the root location of a particle for its texture coords.
Without this, animating grass would either look like seaweed (with low freq texture)
Or the grass would wrinkle up and get kinks (high freq texture)
This lets you use a high frequency texture while having straight grass.
2008-02-19 18:36:50 +00:00
Brecht Van Lommel
2463e7a32e Fix for bug #8299: baking from selected to active with ray transparency
gave wrong results. Problem was the view vector was setup strange. While
it is really not well defined, it is now set as the negation of the normal,
so it is looking right at the surface, gives more predictable.
2008-02-19 17:51:58 +00:00
Brecht Van Lommel
6ea0adb462 Added an option to bake AO normalized, without material settings taken
into account. The normalized result can often be easier to integrate
into different materials, e.g. for games.
2008-02-19 16:16:16 +00:00
Brecht Van Lommel
4100861f24 Bugfix: vector blur blending of different times wasn't correct, didn't
show up much for characters on isolated layers but can make a big
difference on a full scene:

http://users.pandora.be/blendix/vblur_before.jpg
http://users.pandora.be/blendix/vblur_after.jpg
2008-02-19 15:30:33 +00:00
Brecht Van Lommel
f5e89b3f47 Bugfix: this adds some epsilons (FLT_EPSILON, so quite small) to the
raytracing intersection code, to avoid rays slipping through between
triangles, this would mostly show up with sceen aligned quads and
baking of height maps for example. Epsilon's are not pretty, but I
haven't found a reliable way around them.
2008-02-19 12:13:35 +00:00
Brecht Van Lommel
e0dfe62d8c Bug #8234: sky texture for approximate AO doesn't work, as mentioned
in the commit log. Couldn't get this to work well, probably this would
work a lot better with the IBL spherical harmonics feature, so I've just
disabled the option in the interface for now.
2008-02-19 11:07:09 +00:00
Remigiusz Fiedler
0d80e08e8a python API: added support for screen font 12(fix-width) as "normalfix" 2008-02-19 10:47:29 +00:00
Campbell Barton
92300016e0 pendent changes -
- Added a note that force fields only affect objects on same layers
- PLAY button would just play all frames and didnt respect the end frame which is very annoying at times.
2008-02-19 10:43:41 +00:00
Ton Roosendaal
3790c95ab5 Crasher in patch for premul flag: missing NULL check
Also converted ugly short pointer casting with the standard ID
define GS(), Get Shorty!
2008-02-19 09:00:39 +00:00
Joseph Eagar
ccac67d3ea Further work on the premul option for ton. This option
(which basically tells the renderer and compositor to expect a
key image) is now done at the image user level.

This does have some caveats, as image users don't always work
the way I thought they would/should (for example, the same image user
structure is apparently used in the uv image editor for all images,
which is kindof odd).

The UV image editor also now smartly detects if the premul option is
set and draws the image using key alpha, instead of premul

The subversion level was upped to convert the old premul flag, which was at
the image level, to the new one, which is at the image user level.
2008-02-18 23:50:12 +00:00
Ken Hughes
05a28c8521 Tools
-----
Remove extra parenthesis from Cubic tooltip, reported on IRC.
2008-02-18 23:00:44 +00:00
Brecht Van Lommel
41b42b61d1 Fix for bug #8047: convert metaballs to mesh often has holes. 2008-02-18 20:00:42 +00:00
Brecht Van Lommel
ca79952dc0 Fix for bug #7787: QMC AO could give bad results tracing rays from an
untraceable material, cause is that the ray start position got set
only once, but it needs to be set for each ray since it can be clipped
to the octree bounding box.
2008-02-18 19:32:57 +00:00
Brecht Van Lommel
a75e34a1df Fix for bug #7936: render baking selected to active now has a Bias
value that is an offset along the normal when looking for the nearest
face, which allows baking faces further away, e.g. an ID badge onto a
shirt.

Also fixes a bug baking to float images, for things other than
displacement it didn't work sometimes, and a memory leak in the
extend filter.
2008-02-18 18:14:19 +00:00
Campbell Barton
0a703124e2 moved LARGEFILE defines to BLI_storage.h 2008-02-18 17:20:04 +00:00
Brecht Van Lommel
41e4d7e4e6 Disable particle time looping for hair, doesn't have any purpose there,
only gives weird results.
2008-02-18 15:56:34 +00:00
Brecht Van Lommel
331559d585 Bugfix for defocus node gamma correct. It applied gamma correct to
a premul image but that doesn't work correct. Now it depremuls and
premuls again around the gamma correction. Better solution might be
possible, but this gives compatible results.
2008-02-18 15:21:59 +00:00
Campbell Barton
314736eeb4 particle bug - Edit Particles could reference invalid face indices's,
Now particles lookup every face in the derived mesh to be placed on the mesh.
2008-02-18 14:06:45 +00:00
Brecht Van Lommel
988ffbc704 Bugfix for speed vector pass not being done when rendering a single
layer from the compositor. I've solved this by changing the behavior,
now it always renders a vector pass even if Do Composite is disabled.
I think that's more consistent because other passes get rendered too
regardless of Do Composite, the vector pass was just an exception.
2008-02-18 13:38:16 +00:00
Brecht Van Lommel
fb2e03c539 Bugfix for own mistake in recent commit, halo render could crash
with no material assigned.
2008-02-18 13:05:27 +00:00
Brecht Van Lommel
cd9e2a0c70 Bugfix for particle path drawing messing up opengl state in some cases. 2008-02-18 11:29:08 +00:00
Brecht Van Lommel
7643d5acd5 Fix for bug #7845:
IK stretch lead to bone shaking a bit too quickly since making IK
scale independent, now does more strict clamping of stretch again.
2008-02-18 11:16:20 +00:00
Brecht Van Lommel
46f2e465ce Bugfix: hair effector settings only showed when the hair was editable,
but they work also if the hair is not editable.
2008-02-18 10:58:03 +00:00
Brecht Van Lommel
785b4dcdda Fix for bug #8052: particle emit from verts and volume didn't support
subsurf/derivedmesh mapping yet.

Also added int-to-pointer and back conversion function to solve warnings.
Note that it is only allowed to store an int in a pointer and then get
it back, but not a pointer in an int!
2008-02-18 10:49:46 +00:00
Campbell Barton
0fe6abbfa3 texture forcefields had a bug where uninitialized values could be used.
do_texture_effector assumed multitex_ext would assign r/g/b colors which isnt true for grey textures.
Fallback to PFIELD_TEX_GRAD with grey textures, node this in tooltip also.
2008-02-17 23:53:48 +00:00
Peter Schlaile
a207d14958 == Sequencer / FFMPEG ==
This fixes [#8297] Video Playback crash (audio buffer) 
If a single audio frame is larger than 1 second (but still smaller than
AVCODEC_MAX_AUDIO_FRAME_SIZE) things could get very - annoying :)
2008-02-17 23:39:16 +00:00
Brecht Van Lommel
10529ca743 Fix for bug #8044: vertex colors weren't supported for hair. 2008-02-17 22:42:03 +00:00
Martin Poirier
83ddab60b7 == Transform Orientations ==
Merge Normal orientation calculations with Custom Orientations, to make it work the same all accross the table:
- One or more faces: use average face normal (first edge of faces define tangent)
- One edge: use edge itself as normal (vertex normals define tangent)
- One vertex: use vertex normal (tangent is perpendicular to normal and z-axis)
- Two vertices => edge orientation
- Two vertices => face orientation

*I tested quite a bit but please report any bugs this might have caused.*

ADDED FILE WARNING: source/blender/src/transform_orientations.c
2008-02-17 22:19:02 +00:00