Commit Graph

11767 Commits

Author SHA1 Message Date
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
Andrea Weikert
61707fba6c == MSVC 7.1 projectfiles ==
- added missing files rev. 13738 (Transform Orientations) commit.
2008-02-18 17:56:41 +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
Brecht Van Lommel
417687c4ff Bugfix: yafray number of processors was not properly initialized, and
could be 0, hanging yafray. This commits removes the separate yafray
number of processor setting and simply using the blender threads
button, there is no reason for a separate setting.
2008-02-17 22:11:05 +00:00
Andrea Weikert
b7cf0ecbf6 == ImageBrowser ==
added icon for 'Toggle Bookmark Area'
disabled the bookmarks for databrowse
allow to add path inside .blend file (could be nice to use as material library for example)
2008-02-17 21:34:56 +00:00
Campbell Barton
fcd78f0817 bugfix [#8263] Video Sequence Editor > Sequence > Reassign Inputs > crash
just missing null checks
2008-02-17 21:22:42 +00:00
Campbell Barton
1648060132 Bugfix [#8196] sequencer crash when adding scene without camera
added checks for a camera
Also added an error ob bake if there are no active objects.
2008-02-17 20:44:07 +00:00
Brecht Van Lommel
601c7cc318 Fix for bug #8267: vector blur results in horizontal lines.
Vector blur was averaging z-values between pixels, which could give
wrong z-test results. While averaging is needed for speed vectors
to avoid holes, for z-values it is not required and not doing it
seems to avoid artifacts in specific cases.
2008-02-17 20:36:13 +00:00
Jens Ole Wund
5163811290 double strike
-help MSVC compilers with finite /* hope that won't break cygwin builds */
-a unfinished soft body feature sneaked in (freezer)  .. disabled for now
2008-02-17 20:13:58 +00:00
Campbell Barton
afb3f0ec3a meshes with nan verts could crash blender when building as mesh octree 2008-02-17 18:50:45 +00:00
Janne Karhu
a221c3db97 "From particles" children are again allowed for non-hair/keyed particles, although with some limitations like no separate render amount or rough/branching values. 2008-02-17 18:33:20 +00:00
Campbell Barton
b16eefadf8 Patch from Giuseppe Ghibò, modified not to use scons defines.
Files above 4gig did not display on linux in the file selector.
Need to make sure this is ok in other os's too.
2008-02-17 18:09:53 +00:00
Janne Karhu
ef17600b5c Old particles didn't interpolate between keypoints at render time so regression test hairball.blend didn't render properly. Now all converted particle systems have path display and render steps set to 0 so that only the keypoints are used. 2008-02-17 15:46:03 +00:00
Janne Karhu
1111561dd3 Particle looping works again at least to some extent (don't have time to test thoroughly). Instant looping had to be removed as it caused more trouble than good things. 2008-02-17 14:44:12 +00:00