Commit Graph

11502 Commits

Author SHA1 Message Date
Andrea Weikert
c773988003 == MSVC 7.1 projectfiles ==
- added missing files from cloth sim
2008-01-30 20:19:40 +00:00
Ton Roosendaal
b18499fdf6 Speedup of filereading: when using large libraries (referenced data from
other blend files) lookups of data slowed down tremendously.
Added another bsearch for speedup. Makes a difference here (200+ MB files)!
2008-01-30 18:18:33 +00:00
Roland Hess
a12602e51f Small outliner enhancement: With items selected in the outliner, pressing the V, S or R key will toggle, respectively, the Visibility, Selectability or Renderability locks. Note that this functions independently of what is selected in the SCENE -- this is based on the RMB selection in the outliner. The options are also available from the RMB popup menu.
There are enough items in that popup now that this space should probably have its own header with a menu.
2008-01-30 17:58:13 +00:00
Campbell Barton
746522a0ad Standalone reads a list of scene, start frame, end frame from blend files without having to load them in blender.
Scenes must be tagged to render, (old render daemon button) but selecting scenes in the data browser (shoft+f4) sets this also.

Using this script to generate jobs for the renderfarm much faster then loading blender.
2008-01-30 16:16:38 +00:00
Peter Schlaile
7acb6ed10c == Sequencer ==
Show input geometry also on MOVIE and SCENE-strips.
2008-01-30 15:53:13 +00:00
Peter Schlaile
19e37e4a35 == Sequencer / Imbuf ==
Added a faster linear interpolation scaler to IMB_scaleImBuf.
Only handles common cases when we either

enlarge both, width and height or
shrink  both, width and height

but that is pretty fast:
* does only blit once instead of two passes like the old code
  (fewer cache misses)
* uses fixed point integer arithmetic for byte buffers
* doesn't branch in tight loops
  Should be comparable in speed to the ImBuf ..._fast functions at least 
  for byte-buffers.

For the rather seldom situations that e.g. width is enlarged and height 
is shrunken, the old code is still in use.

-------
Also small fix in sequencer: free float buffers on read now.
2008-01-30 15:41:02 +00:00
Brecht Van Lommel
6601cef1d0 Further fix for bug #8124: now depsgraph relation was added correct,
but depsgraph didn't get updated immediately yet.
2008-01-30 15:28:31 +00:00
Brecht Van Lommel
b9309909fb Bugfix for recent commit in strands, accidentally included code that
wasn't working yet, this should fix it.
2008-01-30 14:25:36 +00:00
Ton Roosendaal
2227c32b7f Two small fixes for FSA render:
- better warning for exr tiles not being equally sized (compositor scenes)
- better check for which exr temp files should be read during merging
2008-01-30 14:10:37 +00:00
Daniel Genrich
fd877543d1 New: Collision Modifier and Cloth can be at any position on the modifier stack. BUT everytime the vertices count change, they will free themselves and internal build new (they rely on vertex count). Should be no problem anymore with e.g. subsurf modifier before collision modifier (tested). Fix: applied a patch from schlaile to get my bullet additions compiled with gcc 3.3 2008-01-30 14:01:05 +00:00
Brecht Van Lommel
e67422e863 Fix for bug #8191: FSA + SSS didn't work. 2008-01-30 13:44:25 +00:00
Brecht Van Lommel
33656dfa83 - Bugfix for ztransp not being filled into the z-pass after FSA changes.
- Bugfix for speedvectors being not properly set for some strands.
2008-01-30 13:35:28 +00:00
Joshua Leung
bace7e5788 * Bone Groups - changed some of the options in the Ctrl-G menu so that it is more useful
* Tweaked one of the colours in the colour sets so that it is less similar to a colour in another set representing another state.
2008-01-30 11:09:18 +00:00
Joshua Leung
e0a625937b Bugfix for Action Editor Optimisations:
Horizontal keyframe filtering is now optional per editor (off by default). This option may be removed in future, but currently it's there so that users can use it at their own risk. Apparently this has been causing people grief.
2008-01-30 10:43:44 +00:00
Peter Schlaile
5714c84c54 == Sequencer ==
Fix blend opacity of old files, so that strips do not silently disappear.
2008-01-30 10:27:16 +00:00
Joshua Leung
86cbb9f7cb PyConstraint Bugfix:
Uncommented armature weakrefs stuff for PyConstraints. This should fix some erratic error messages a user found with these a few months ago.
2008-01-30 09:29:40 +00:00
Joshua Leung
856b40af56 Made the line between the start and end of IK-chains for bones display regardless of whether 'Relationship Lines' has been enabled for the view, if the IK-chain was temporarily added for Auto-IK. This is so that it is possible to see the length of Auto-IK chains. 2008-01-30 08:31:07 +00:00
Joshua Leung
7d1bc94cad == Custom Bone Shape Drawing - 'Wireframe' Option ==
In production rigs, such as those for Peach and Plumiferos, custom bone shapes are often simple wireframe shapes (formed with a single line). These are only visible when the armature's drawtype is Wire, which means that this drawtype must be used for the display of those bones. On the other hand, 'normal' bones must also be drawn as wireframes.

I've added a small toggle beside the field for the name of the object to use. This is marked 'W' (this is not great, but it'll have to do for now). 
When activated, that bone's custom bone shape will always draw as a wireframe. As a result, the armature's drawtype doesn't have to be set to 'Wire' to see these bones.
2008-01-30 08:10:47 +00:00
Joshua Leung
e7f814b1a3 Added a few more bone colour sets 2008-01-30 05:38:55 +00:00
Nicholas Bishop
1dd0d17cf4 == Sculpt ==
Replace a 'magic number' used in several places with a proper constant
2008-01-30 03:40:28 +00:00
Daniel Genrich
4ed28a99a7 Cloth: Bugfix: 1. Kicking esc again, 2. Collision modifier needed to be updated when going backward in time, 3. GUI change when no bullet there 2008-01-30 02:05:37 +00:00
Daniel Genrich
7a7a52226f makes bullet independant from gameengine for cmake, introduces esc-key during sim, disables collisions when no bullet there 2008-01-29 23:13:31 +00:00
Joshua Leung
2e697f3b93 == Custom Bone Colours - Default Sets ==
Added 12 default color-sets for custom bone colours. There's a temporary button in the theme-buttons for generating the code for these, which should probably be removed once this is done. More colours to come soon...
2008-01-29 22:51:23 +00:00
Daniel Genrich
77685023ca Initial commit of cloth modifier from branch rev 13453 2008-01-29 21:01:12 +00:00
Brecht Van Lommel
3a3fe8a480 Bug #8178: in particle edit mode, select linked under the mouse should
only work with L-key, not ctrl+L, makes it seems as if ctrl+L type
selected linked is not working correct, while it is just not implemented.
2008-01-29 20:53:19 +00:00
Brecht Van Lommel
3d3023126a Fix for bug #7965:
Array modifier could generate edges with twice the same vertex, fix
provided by Ken, thanks.
2008-01-29 19:49:03 +00:00
Campbell Barton
ce5f187d8a oops, left in a line I shouldnt have 2008-01-29 19:25:10 +00:00
Brecht Van Lommel
e75067e7af Fix for bug #8029: heat weighting clamps values below a threshold,
which could give discontinuities, now it does a blend instead.
2008-01-29 19:19:21 +00:00
Campbell Barton
0f8baa98ad added a note for scons openexr compiling, because I had some trouble using our own exr build and had to work out whats goin on. 2008-01-29 18:47:40 +00:00
Brecht Van Lommel
31ecc5cba0 Fix for bug #8124: dupli particles were not rendering in some cases,
now added dependencies so they are passed to the render engine in
the right order to detect the duplis.
2008-01-29 18:29:14 +00:00
Peter Schlaile
fd9db17021 == Sequencer ==
This fixes several crashes with the new tstripdata_start/endstill.
dupli_seq was cleaned up as well as add_scene_strip (moved to a 
seperate function)

New features: 
* opacity can be used in replace blend mode
* the scene within in a scene track can be changed now within the panel

Also:
* [#7842] Note: setCodec in FormatTab disappeared...
  should be fixed by this. (Not a big change, so I just commit and see :)
  http://peter.schlaile.de/blender/sequencer/codec_buttons.diff
2008-01-29 12:26:42 +00:00
Brecht Van Lommel
8e94028ed5 Bounding box clipping in the render engine.
Now bounding boxes are computed per object, and checked first before
zbuffering objects. For strands, bounding boxes are computed per
original face in the mesh. Overall the speed improvement from this 
is quite small (zbuffering is rarely the bottleneck), but it seems a
sensible thing to do anyway.
2008-01-29 12:20:42 +00:00
Joshua Leung
5bf5b030e5 == PoseLib - Tab Key in Pose-Preview ==
Now when previewing poses with Ctrl-L, pressing the Tab key toggles whether the 'original' (i.e. the pose before previewing started) pose gets shown temporarily. This allows the user to quickly compare the pose being previewed to the 'original'. No pose browsing is possible while the original pose is shown.
2008-01-29 09:51:29 +00:00
Brecht Van Lommel
31a1590db0 Bugfix: quaternion angle calculation in python used the acos function.
This gives nan if the input is e.g. 1.00000001 due to rounding errors,
better is to use saacos (safe acos) that checks for the range first.
2008-01-29 09:44:26 +00:00
Joshua Leung
24aa536f54 Bugfix for Action Editor keys clipping:
Keyframes in the NLA Editor could mysteriously disappear sometimes when manipulating the view in the NLA-editor, when an Action Editor was open beside it.
2008-01-29 08:57:41 +00:00
Martin Poirier
14d1c736b8 === Mirror Tool ===
Fix calls to new mirror in UV window (it would segfault with invalid arguments).

Reported by Matt in the tracker (#8176)
2008-01-29 02:38:26 +00:00
Joshua Leung
8072d88c75 Added menu entries to 3d-view for the auto-bone-extension tools I added yesterday. 2008-01-29 00:12:34 +00:00
Brecht Van Lommel
c68f48d964 - Fix for adding rendering passes. It seems the result was multiplied
by alpha twice, which gave dark edges on an grass AO pass for example.
2008-01-28 22:43:16 +00:00
Brecht Van Lommel
db9f702db9 - Fix for approximate AO pixel cache crash.
- Fix in FSA pass sample adding (more fixes to come).
2008-01-28 22:34:14 +00:00
Brecht Van Lommel
9b0c2efeed Handle OpenEXR exception and print it, for writeTile. It's sometimes
crashing there now with FSA, if it crashes again this should give
more info.
2008-01-28 21:28:32 +00:00
Peter Schlaile
87eaa637c5 == Sequencer ==
Fixed two issues with the sequencer:
* using blend modes with startstill / endstill in combination with IPOs
  failed, since there was no room to store the composited result. 
  (It was stored into the same TStripElem thereby effectively disabling the
  effect of the IPO)
  If you have no idea, what this is all about:
  A common case was: use a single PNG as a title, extrude and try to fade 
  in / out using IPOs. 
* startstill / endstill are always displayed, so that one can change them
  also on movie-strips and scene-strips.
2008-01-28 21:24:08 +00:00
Campbell Barton
d4411e6769 object in dupli instances were not getting modifiers applied with render settings 2008-01-28 20:45:28 +00:00
Brecht Van Lommel
f25d2dbb41 Strands now mix together correctly with ZTransp.
They now also store a list of samples per pixel, and then get
shaded together with the ztransp samples. This comes with a
slight speed hit, but mainly memory might be a concern. However,
testing some peach scenes I haven't problems.
2008-01-28 16:54:52 +00:00
Ton Roosendaal
703f248ab4 New rendering option: FSA!
This completes the pipeline make-over, as started in 2006. With this
option, during rendering, each sample for every layer and pass is being
saved on disk (looks like non-antialiased images). Then the composite 
and color correction happens, then a clip to 0-1 range, and only in end 
all samples get combined - using sampling filters such as gauss/mitch/catmul.

This results in artefact-free antialiased images. Even Z-combine or
ID masks now work perfect for it! 

This is an unfinished commit btw; Brecht will finish this for strands.
Also Halo doesnt work yet.

To activate FSA: press "Save Buffers" and the new button next to it. :)
2008-01-28 16:33:59 +00:00
Joshua Leung
b9842ec247 == Action Editor - Overlapping Keyframes Bugfix ==
Now when moving keyframes in the Action Editor, any existing keyframes on the frames where a selected keyframe lands (after the transform) will be removed. This is to prevent stacks of keyframes which cause blips and headaches for animators (especially stressed animators with a looming deadline).

I've added an option to the Action Editor's View menu to turn this behaviour on/off (by default, it's on). This shouldn't need to be used too much, and may be removed in due course. If it stays, it'll need a better name...
2008-01-28 11:38:12 +00:00
Campbell Barton
0f157c6304 tooltips for some dual toggle buttons as well as tooltips from wim van hoydonck ([#8166] [python-scripts] fix for tooltips of torus primitive + newline) 2008-01-28 10:56:42 +00:00
Jens Ole Wund
0751592d7a fixing typo in tool tips 2008-01-28 09:39:55 +00:00
Ken Hughes
232be3a2e8 Fix syntax error in earlier commit. 2008-01-28 05:20:42 +00:00
Martin Poirier
0799c2665c === Custom Orientations ===
Change selection icon in the panel to the more appropriate Checkbox icon.
2008-01-28 01:15:21 +00:00
Martin Poirier
39689cbf73 typo in text 2008-01-28 01:02:38 +00:00