Brecht Van Lommel [Thu, 10 Jan 2008 21:44:16 +0000 (21:44 +0000)]
- Bugfix to make dupli particles for hair respect render amount.
- Allow Random and Even distribution settings to be set after hair
is made editable, since they also affect children.
Kent Mein [Thu, 10 Jan 2008 21:35:33 +0000 (21:35 +0000)]
Added extra include dir to get it compling again.
Kent
Nathan Letwory [Thu, 10 Jan 2008 12:31:40 +0000 (12:31 +0000)]
* convert the nice enums to #defines for two reasons
1) < kaito> enums are not allowed in dna anyway
2) linking fails for the yafray api.
Ton Roosendaal [Thu, 10 Jan 2008 11:26:17 +0000 (11:26 +0000)]
Adding the colorband Hue, Saturation, Value, Color blending modes
to the Material Texture blending as well.
Joseph Eagar [Thu, 10 Jan 2008 05:30:55 +0000 (05:30 +0000)]
=Wire render fix=
Fix for urgent problem found in wire render.
Hopefully it compiles and everything.
Joshua Leung [Thu, 10 Jan 2008 01:36:22 +0000 (01:36 +0000)]
== Auto-Keyframing Refactor (Peach Request) ==
Refactored Auto-Keyframing to make it easier to add more options. There are now three "states" for auto-keying: off, add/replace keys, replace keys.
Description of modes:
1) No auto-keying is done
2) Add new keyframes or replace existing ones if possible (old behaviour)
3) Only modify existing keys, but not insert new ones.
Internally, I've moved the auto-keying settings out of G.flag and U.uiflag and moved them into their own variables in Userdef, and provided some macros to access those easily. As a result, old auto-keying settings are currently lost.
Also, removed the manual calls to insertkey done in pose-relax. The reason auto-keying didn't work before was because the bones didn't have the BONE_TRANSFORM flag applied. Now, these are set temporarily.
Todo(s):
* Make icons for the TimeLine header menu (currently just a text menu)
* Add version-patches for old files
* Double-check code for all places that use auto-keying (i.e. PoseLib)
Jens Ole Wund [Thu, 10 Jan 2008 00:07:31 +0000 (00:07 +0000)]
resolving back compatibility issues
Matt Ebb [Wed, 9 Jan 2008 22:32:36 +0000 (22:32 +0000)]
* Updated makefile for OpenNL, used in new softbody.c
Geoffrey Bantle [Wed, 9 Jan 2008 19:51:22 +0000 (19:51 +0000)]
-> Fix for billboard faces
Faces with billboard render (axis with alpha) were not being preserved on import/export. Fixed
Brecht Van Lommel [Wed, 9 Jan 2008 14:40:25 +0000 (14:40 +0000)]
Misc Render Features
====================
- "From Dupli" option for orco and uv texture coordinates. For dupliverts,
duplifaces and dupli particles, this uses the orco and uv at the point
on the parent surface. Can for example be used for texturing feathers
and leafs. Note that uv only works for duplifaces and particles emitted
from faces, these are not defined at vertices.
- "Width Fade" option for strand render, to fade out along the width of the
strand. Committing this so it can be tested, might be changed or removed
even, if it doesn't give nice results.
Joshua Leung [Wed, 9 Jan 2008 12:07:38 +0000 (12:07 +0000)]
== Action Editor - Editing Goodies ==
* Peach Request - Added Ctrl-PageUp/Down to jump to next/previous keyframe (respectively), just like elsewhere in Blender.
* As a result, Action Channel rearranging has been remapped so that:
- Ctrl-Shift-PageUp/Down is move to top/bottom
- Shift-PageUp/Down is move up/down
* Added a hotkey ("accentgravekey", i.e. ~/`) to toggle whether all Action Channel levels are expanded or not. This affects all visible Action Channels.
* Added Ctrl-Numpad+ and Ctrl-Numpad- to expand and collapse all Action Channel levels by one level (as appropriate). This only affect selected Action Channels.
Jens Ole Wund [Wed, 9 Jan 2008 00:25:51 +0000 (00:25 +0000)]
quite a load is still hidden behind the define #ifdef _work_on_sb_solver
a glance to view is the "STU PID semi implicit euler"
most of the work to implement a semi implicit euler was done ..
now i am dealing with the tradeoffs between 'calculation time' which is quite expensive .. inverting a 0(n*n) sparse matrix /* once agian thanks to brecht for his work on making sparse matrices LU decomposition and evaluating inverses that easy*/ putting it into and cropping works pretty nice .. argh off topic again
...
while i spent a little time on reading recent papers i found :
1. control on springs needs to be split in pushing and pulling /* fabric pushes easy but pulls hard */
2. diagonals on 4-gons (in the current SB model) can be seen as shear .. thus need a contol to modify .. this commit wil add it
3. 2 nd order springs /*aka rigidity */ can focus on bending .. thus renaming 'em
i have no idea how i would provide backward compatiblity, but the spots i marked in code :)
Joshua Leung [Wed, 9 Jan 2008 00:05:26 +0000 (00:05 +0000)]
Bugfix #8021: Delete in Action Editor can remove pydrivers.py refs
Basically, Ipo-Curves are now not removed when deleting keyframes in the Action Editor, if there is still an attached IPO-Driver on that curve.
Joshua Leung [Tue, 8 Jan 2008 23:32:13 +0000 (23:32 +0000)]
== Action Editor - Sample Keyframes Bugfix ==
Improved the behaviour of this tool. Now it works correctly in nearly all cases (x----x----o---x----x situations don't completely work yet though).
Joshua Leung [Tue, 8 Jan 2008 23:11:32 +0000 (23:11 +0000)]
Bugfix #8068: StretchTo constraints once again messed up
Removed the version-patches to reset the rest-lengths of StretchTo constraints when loading old files. I can't remember why I added these in the first place, but they seem to cause problems from time to time...
Juho Vepsalainen [Tue, 8 Jan 2008 19:06:46 +0000 (19:06 +0000)]
Minor changes to node rename tool
Rename was changed to work on the last selected node. Also size of a couple of
character arrays was changed to avoid buffer overflows.
Custom name shows up now just fine in group header in case it is being edited
as it did not before.
Joshua Leung [Tue, 8 Jan 2008 11:51:44 +0000 (11:51 +0000)]
== Action Editor - Sample Keys ==
Cessen Request - Added a tool which inserts keyframes on every frame between two selected keyframes. This is useful for adding overlapping motion (apparently).
Use Alt-O to run this tool. The name of this tool is also open to suggestions ;)
Note:
There is currently a bug with this. When there are 4 consecutive keyframes, it won't add keyframes between keyframes 2 and 3.
Nicholas Bishop [Tue, 8 Jan 2008 09:25:50 +0000 (09:25 +0000)]
== Multires ==
Fixed loading files with multires from 2.45. Fixes bug #8056.
Juho Vepsalainen [Mon, 7 Jan 2008 19:38:01 +0000 (19:38 +0000)]
Custom Names for Nodes
This commit makes it possible to add a custom name to a node. The feature can be
accessed either by using a menu or shortcut ctrl-r. It currently works only when
a single node is selected. Invoking the feature gives a popup menu in which a new
name can be entered. If the given name is not empty, it will be shown like
"(myCustomName) NodeName" in the node header.
This feature is particularly useful when documenting complex node setups.
I also fixed the size of blur node. It was too short before due to my previous
commit.
Thanks to David Millan Escriva for contribution!
Brecht Van Lommel [Mon, 7 Jan 2008 18:15:57 +0000 (18:15 +0000)]
Addition to last commit, now the length of the hair is used to
scale the object. Also, the direction is now derived from the
first and last keys on the hair, instead of first and second.
Brecht Van Lommel [Mon, 7 Jan 2008 16:26:41 +0000 (16:26 +0000)]
Particle object and group visualization now also work for hair, to
make for example feathers. Also made dupliparts work within groups.
One issue still is that in particle editmode, the duplis can interfere
with brushes and selection, though tweaking the dupli object position
can alleviate the problem.
Juho Vepsalainen [Mon, 7 Jan 2008 15:44:45 +0000 (15:44 +0000)]
Blur Node to support Relative (percent) values
This commit makes it possible to use relative values when using a Blur node. There
is a new toggle in the node that can be used to enable the feature.
Thanks to David Millan Escriva for contribution!
Juho Vepsalainen [Mon, 7 Jan 2008 13:55:48 +0000 (13:55 +0000)]
Black and White level inputs to RGB Curves compositing node
This commit adds possibility to define black and white level of the
mapping curve of the RGB Curves node. This functionality is exactly
the same found in the Curves tool of the UV/Image Editor. It can be
used to extract wanted color ranges out of the input easily.
Thanks to Björn C. Schaefer for contribution!
Juho Vepsalainen [Mon, 7 Jan 2008 12:55:37 +0000 (12:55 +0000)]
Conversion of "Toggle Link" tool to "Make Link"
This commit alters the behaviour of "Toggle Link" tool found in the node
editor so that it only makes link between selected sockets. Links cannot
be deleted by using the tool again as before. Instead deleting links can
be done by using the old method (drag with lmb).
The delete functionality may require further investigation to see if it
should be improved.
Brecht Van Lommel [Mon, 7 Jan 2008 09:47:52 +0000 (09:47 +0000)]
Bugfix for difference between surface and particle orco.
Joshua Leung [Mon, 7 Jan 2008 05:56:41 +0000 (05:56 +0000)]
Code cleanup - removed unused var that I forgot to remove from bPose struct
Brecht Van Lommel [Sun, 6 Jan 2008 16:04:48 +0000 (16:04 +0000)]
Bugfix: in the new image function, uv test grid option
didn't draw colored crosses correct.
Joshua Leung [Sun, 6 Jan 2008 09:27:30 +0000 (09:27 +0000)]
One-liner fix:
IK-constraint was broken by code cleanups, as it required the pole-target to be set too.
Joshua Leung [Sun, 6 Jan 2008 07:40:37 +0000 (07:40 +0000)]
== Auto-IK Improvement (Peach Request) ==
Auto-IK can now operate on more then 1 selected bone at once, (as long as they are not a part of the same chain).
Brecht Van Lommel [Sat, 5 Jan 2008 21:56:28 +0000 (21:56 +0000)]
Fix for use of uninitialized variable in shadow caching, could
sometimes give 1 nan pixel.
Campbell Barton [Sat, 5 Jan 2008 21:49:09 +0000 (21:49 +0000)]
Check for screen bounds clipping in particle editmode. (thanks to valgrind again)
Campbell Barton [Sat, 5 Jan 2008 19:11:10 +0000 (19:11 +0000)]
Used valgrind to find some uninitialized variables
Joshua Leung [Sat, 5 Jan 2008 10:54:33 +0000 (10:54 +0000)]
== PoseLib - Quick Search for Preview ==
Now, when Previewing/Browsing poses with Ctrl-L, it is possible to type in part of a name to limit the poses which can get chosen to hone in on the poses you wish to apply more quickly.
* The search is case insensitive, and doesn't look for complete matches (it will 'match' if the whole search-string is found).
* Only basic text manipulation capabilities are available for editing the search string (i.e. backspace, del, home, end, move text-cursor forward ->, move text-cursor backwards <-).
* Pose browsing using the Scroll-Wheel and Page up/down can be used to browse through the matches
* View manipulation is only possible with MMB, as numpad keys are used for search-string input.
In the process, I've recoded the preview function to be more modular. It's now split up more, like the Transform core.
Joshua Leung [Sat, 5 Jan 2008 10:01:05 +0000 (10:01 +0000)]
Bugfix #7793: ChildOf Constraint works bad for bones
I hope this time I've fixed it once and for all. The cases which use to fail seem to work now, so I assume it's now fixed. In case it isn't, I'll leave the bug report open for a few days first.
Joshua Leung [Sat, 5 Jan 2008 09:31:43 +0000 (09:31 +0000)]
== Constraints - Code Cleanups ==
* Tidied up coding style of code in editconstraint.c
- removed blank lines, made whitespace-use more consistent
* Shuffled code in editconstraint.c and BIF_editconstraint.h so that it was in a more orderly fashion
* Reduced code redundancy in test_constraints
- tests which can apply to general constraints (target existance, and clashes with the owner) are not copied out for each constraint that needs it
- ChildOf constraint now gets validated too (before it was missing such checks)
* Recoded the way PyConstraints build the menu for displaying scripts available for use. It now uses dynstr instead of guessing how much memory to allocate for each entry
Joshua Leung [Sat, 5 Jan 2008 04:07:28 +0000 (04:07 +0000)]
Action Editor Bugfixes:
* NKEY popup for renaming channels was not working correctly. A typo meant that it only showed when the mouse was in the timeline area, not when it was over the channel names.
* Added a few safety checks to copy/paste to hopefully prevent crashes. Also, when there's only one channel in the buffer, it now copies all the data from that to all selected channels.
Brecht Van Lommel [Fri, 4 Jan 2008 21:12:48 +0000 (21:12 +0000)]
- Further fixes for duplivert rendering inside a dupligroup.
- Fix for integer overflow when allocating a lot of particles
(9 million * 8 keys * sizeof cache key).
Brecht Van Lommel [Fri, 4 Jan 2008 17:48:07 +0000 (17:48 +0000)]
- Make dupliverts inside a dupligroup render and draw as instances.
- Possible fix for a dupli render memory leak, but i'm not sure.
Campbell Barton [Fri, 4 Jan 2008 11:55:37 +0000 (11:55 +0000)]
some changes needed to get blender compiling with 64bit libs, use the systems Mesa now.
Joshua Leung [Fri, 4 Jan 2008 11:21:50 +0000 (11:21 +0000)]
== Local Constraints for Proxies (Peach Request) ==
Proxy protected bones can now get local (per-file) constraints added to them, which will be preserved after a file load. This is necessary for adding constraints to proxy-protected bones for special purposes while animating (i.e. adding CopyLocs to IK-hand controls to pick up an object).
These must be added after any constraints from the proxy, as proxy constraints may come and go without warning. As such, the UI forbids this from happening by removing the relevant button.
I've also made UI-changes to show which constraints come from the proxy (the buttons to move the constraint up/down and delete it, are replace with two icons - a the proxy 'ghost' icon and a lock). Also, trying to change any settings of proxy-protected constraint will show an error.
Notes:
* Object constraints are still not playing nice with proxies yet. They didn't before this commit either...
Brecht Van Lommel [Thu, 3 Jan 2008 22:43:51 +0000 (22:43 +0000)]
- Bugfix for flickering shadow with strand simplification.
- On non-edited hair, don't generate child particles for
each step, only at the end.
- Small optimization in the kd-tree.
Campbell Barton [Thu, 3 Jan 2008 14:53:44 +0000 (14:53 +0000)]
Split guardedalloc print into 2 funcs, 1 that prints on errors, another then prints the memory blocks as a python dict, minor changes to help text
Brecht Van Lommel [Thu, 3 Jan 2008 12:45:56 +0000 (12:45 +0000)]
Bugfix for crash in strand simplification code.
Joshua Leung [Thu, 3 Jan 2008 11:05:46 +0000 (11:05 +0000)]
Applied name-changes of Auto-Snap menu to NLA-Editor too.
Joshua Leung [Thu, 3 Jan 2008 11:03:03 +0000 (11:03 +0000)]
A few PoseLib and Action-Editor tweaks:
* Removed "snap" from the names of the entries in the "Auto-Snap" menu for the Action Editor. "No Snap" is still "No Snap" though.
* PoseLib is now referred to as "Pose Library" in the interface
* Tidied up whitespace in editaction.c
Campbell Barton [Thu, 3 Jan 2008 10:27:29 +0000 (10:27 +0000)]
Added a note to blender help text about argument order (pitfall I ran into when rendering)
also removed FTYPE as an optional format (TODO - remove FTYPE from render output panel since you cant use FTYPE anymore and its not used internally, hint hint)
Campbell Barton [Thu, 3 Jan 2008 09:41:19 +0000 (09:41 +0000)]
patch from John Croisant [#8045] Allows muting NLA strips via Python API
https://projects.blender.org/tracker/index.php?func=detail&aid=8045&group_id=9&atid=127
Peter Schlaile [Wed, 2 Jan 2008 23:12:37 +0000 (23:12 +0000)]
== Sequencer ==
Fix crash on duplicate since crop, transform + proxy weren't taken into
account.
Peter Schlaile [Wed, 2 Jan 2008 22:45:38 +0000 (22:45 +0000)]
== Sequencer ==
forgot to swap input on "Over drop".
Peter Schlaile [Wed, 2 Jan 2008 22:39:46 +0000 (22:39 +0000)]
== Sequencer ==
Fixed:
* crash with gamma tabs and blend modes
* crash on rect -> rect_float blend mode input
* alpha over and under have now input swapped
Campbell Barton [Wed, 2 Jan 2008 21:40:05 +0000 (21:40 +0000)]
trackball rotate patch from bebraw so using the Shift key works as expected.
Peter Schlaile [Wed, 2 Jan 2008 21:36:51 +0000 (21:36 +0000)]
== Sequencer ==
Bugfix: fixes crash if lowest strip was in blend mode "ALPHA OVER" (combined
with other blends above)
Campbell Barton [Wed, 2 Jan 2008 18:44:13 +0000 (18:44 +0000)]
displace modifier wasnt loading in linked textures/objects. missing calls to expand_doit
Brecht Van Lommel [Wed, 2 Jan 2008 17:57:18 +0000 (17:57 +0000)]
Bugfix for memory leak with particle roughness vertex groups.
Campbell Barton [Wed, 2 Jan 2008 17:40:53 +0000 (17:40 +0000)]
added utility function Blender.GetPaths( absolute=0 )
returns a list of files this blend file uses, wraps bpath functions.
Brecht Van Lommel [Wed, 2 Jan 2008 15:44:28 +0000 (15:44 +0000)]
Bugfix for some strand simplification popping.
Brecht Van Lommel [Wed, 2 Jan 2008 14:20:15 +0000 (14:20 +0000)]
Bugfix for incorrect strand clipping in shadow maps, not sure yet it
actually fixes the problem.
Peter Schlaile [Tue, 1 Jan 2008 18:38:41 +0000 (18:38 +0000)]
== Sequencer ==
Added some additional NULL-checks. (se->ibuf can be null, shame on me :)
Campbell Barton [Tue, 1 Jan 2008 16:14:08 +0000 (16:14 +0000)]
while trying to debug memory leaks, extended MEM_printmemlist to print a python dict and some lines at the end to format it in a useful way when run as a python script.
Ton Roosendaal [Tue, 1 Jan 2008 14:13:37 +0000 (14:13 +0000)]
Bugfix #8032
The warning i've coded 1.5 year ago, to warn when a .blend was written
by newer executable, failed on the .B.blend load case... UI not property
initialized then.
This at least fixes the crash, a menu won't pop up correctly though...
luckily the warning works for regular load or ctrl-x
Peter Schlaile [Tue, 1 Jan 2008 11:44:42 +0000 (11:44 +0000)]
== Sequencer ==
Attention! Rather large sequencer rewrite:
* Implemented layer blending using implicit effects. (works like layers
in "The Gimp" or Photoshop.)
* Fixed Space-Bar start-stop in preview windows.
You can start playback using spacebar within a preview-window and it _works_!
* Fixed Flip Y (didn't work for float)
* Fixed premul (didn't work for float)
* Added IPOs to _all_ tracks. In blend-mode REPLACE it drives the
"mul"-parameter in all other blend modes it drives the effect.
* you can meta single tracks.
* moved "mute track" from "M" to "Shift-M"
* added "Shift-L" for "lock track"
* changed inner workings for Metas. Now all ImBufs have to use the
reference counting mechanism. (Only interesting for coders :)
!!! Really important change, that affects current files!
Since you can mute tracks and now there is real layer blending capabilities
in place, I changed the silly behaviour that chose the output track.
Old behaviour: if we have an effect track visible, use the uppermost effect
track. If there is _no_ effect track visible, use the lowest input track.
New behaviour: always use the uppermost track. With blend modes active:
work our way down starting from the uppermost track to the first
"replace"-mode track. This is the way the gimp, photoshop, basically _all_
other applications work...
So if this change ruins your day: please try to fix your files using
"mute". If this doesn't work out, I can still restore the old behaviour,
but I really hope, that this is _not_ necessary!
Rational: most people won't get affected by this change, since you can't
really do anything usefull with the (old) sequencer without at least one
effect track and then you are on the safe side...
Campbell Barton [Tue, 1 Jan 2008 02:20:13 +0000 (02:20 +0000)]
find external files wasnt finding the biggest screen area for the file selector,
other minor changes. renamed "Dump Screen" to "Screenshot" in the file menu.
Janne Karhu [Tue, 1 Jan 2008 01:00:05 +0000 (01:00 +0000)]
Recoded particles initial rotations to allow much more flexible settings.
Campbell Barton [Tue, 1 Jan 2008 00:56:22 +0000 (00:56 +0000)]
more tooltip changes
Campbell Barton [Mon, 31 Dec 2007 22:18:04 +0000 (22:18 +0000)]
Fix for check missing files, edited some tooltips - (Show key shortcuts for PLAY and RENDER)
Campbell Barton [Mon, 31 Dec 2007 12:47:10 +0000 (12:47 +0000)]
made dupli's respect render and view restrict flags (from the outliner)
This means one group can contain proxy objects to display in the 3d view as well as hi quality models that are only rendered. - again for peach tree's.
Campbell Barton [Mon, 31 Dec 2007 12:13:30 +0000 (12:13 +0000)]
disallow editing the path of an indirectly linked library in the outliner
Campbell Barton [Mon, 31 Dec 2007 12:03:26 +0000 (12:03 +0000)]
Improvements to File->External Data->Make Paths Relative & Make Paths Absolute,
made when testing peach blend files wont have path issues when sent to the renderfarm.
* log failed path conversions
* clean the path so //foo/../foo/ is removed (not sure why but some peach files had this problem)
Also added a function to util.c
BLI_cleanup_file, same as BLI_cleanup_dir but dosnt add a slash at the end.
Joshua Leung [Sun, 30 Dec 2007 23:27:35 +0000 (23:27 +0000)]
Routine purge of compiler warnings
* Most were uninitialised vars
* Fixed whitespace in a few places
* The change I made in rendercore.c -> do_bake_shade() was for an uninitialised var, but I hope it does't cause any rendering errors...
Janne Karhu [Sun, 30 Dec 2007 21:10:08 +0000 (21:10 +0000)]
- Reactor particle target text was hidden in ui by distribution buttons.
- Particle system tab had wrong coloring of buttons.
Ken Hughes [Sun, 30 Dec 2007 16:47:38 +0000 (16:47 +0000)]
Python API
----------
Fix warning about implicit declaration of function ‘set_mipmap’.
Ken Hughes [Sun, 30 Dec 2007 16:41:31 +0000 (16:41 +0000)]
Python API
----------
tex->image attribute setter needed call to BKE_image_signal(), otherwise
image would not appear when render.
Joshua Leung [Sun, 30 Dec 2007 12:08:28 +0000 (12:08 +0000)]
== PoseLib - Overhauled Implementation ==
Based on feedback from Ton, I've recoded the way "PoseLibs" are implemented/exposed. Therefore, quite a bit of code has been changed to fit this in better.
Now, ANY ACTION can be a "PoseLib". A set of Markers which belong to the Action (it's taken a year, but they're finally back), are used to tag "poses" in the Action. These markers are shown using diamond-shaped blue icons (designed by Matt Ebb) in three shades - unselected/normal, selected, active.
Notes:
* Each Armature Object has an Action which acts as a PoseLib.
* Improved UI presented in buttons panel for this
-- added proper buttons for action assigning
-- renamed "Validate PoseLib" to "Auto-Sync PoseLib" (this option auto-tags poses based on keyframes found)
Like in the 3d-view, use the hotkeys:
* Shift-L to add a local marker
* Ctrl-Shift-L to rename a local marker
* Alt-L to delete selected local markers
Note: transforms, etc. are not currently available with these markers
== PoseLib Preview ==
Added a few features here:
* Left/Right-Arrow keys now change the poses too (previous and next respectively)
* Up/Down-Arrow keys also change the poses, but "jump" to a pose 5 steps away in their respective directions
Matt Ebb [Sat, 29 Dec 2007 05:29:08 +0000 (05:29 +0000)]
Reverting mistaken CMakeLists.txt commit, woops!
Matt Ebb [Sat, 29 Dec 2007 05:17:19 +0000 (05:17 +0000)]
* Displacement map baking
This is an extension on the work Brecht already did to implement normal map baking. I've updated the release notes page here with info and pics:
http://www.blender.org/development/current-projects/changes-since-244/render-baking/
Matt Ebb [Sat, 29 Dec 2007 05:16:00 +0000 (05:16 +0000)]
* Displacement map baking
This is an extension on the work Brecht already did to implement normal map baking. I've updated the release notes page here with info and pics:
http://www.blender.org/development/current-projects/changes-since-244/render-baking/
Campbell Barton [Fri, 28 Dec 2007 21:16:00 +0000 (21:16 +0000)]
Fix for [#7866] Relative Path to library from command line
http://projects.blender.org/tracker/index.php?func=detail&aid=7866&group_id=9&atid=125
where linked relative blend files would not load when the absolute path was not given.
Solved by constructing the absolute path from the command line argument given.
Ton Roosendaal [Fri, 28 Dec 2007 19:38:47 +0000 (19:38 +0000)]
Error in previous commit: the texture filter size should not be scaled
at all if you use new 'minimal' option. The new option works much nicer
if it only sets the minimum. (use texture with 'refl' map)
Added option to env map too!
Ton Roosendaal [Fri, 28 Dec 2007 18:58:40 +0000 (18:58 +0000)]
And there's another annoyance I got poked for:
Image texture "Filter size" was not well usable for making the
appearance soft filtered, this because it multiplied the sample
values, and such values could be extreme small.
Added next to "Filter" buton a new "Min" option, which enforces
a filter size to be a minimum of 'filter' pixels in size.
Campbell Barton [Fri, 28 Dec 2007 17:10:55 +0000 (17:10 +0000)]
Added a new option for 'Apply Object', (Ctrl+A) Called "Apply Visual Transform to Loc/Size/Rot"
Since there was no easy way to apply a constraint's transformation back to the original objects transformation.
Also adjusted how Apply Scale/Rot works so that it wont change some objects then raise an error and leave others unchanged, better to check first so it changes everything or nothing.
Janne Karhu [Fri, 28 Dec 2007 16:13:52 +0000 (16:13 +0000)]
- particle size changes weren't updated without a cache clear
- protecting the particle cache now actually protects the cache a bit better and not just prevent the clear button from working
- cache was being used for "none" physics.
- a bad tooltip for "reactor initial velocity"
Ton Roosendaal [Fri, 28 Dec 2007 13:11:27 +0000 (13:11 +0000)]
Render feature: the END OF DIFFUSE BANDING!
http://www.blender.org/development/current-projects/changes-since-244/rendering-features/
Thanks Andy for poking and analysing, and Nathan for feedback!
Campbell Barton [Fri, 28 Dec 2007 12:11:45 +0000 (12:11 +0000)]
small edits noticed when using linked objects, - Make undo string say linked and disallow editing PassIndex and changing the Parent of linked objects.
Joshua Leung [Fri, 28 Dec 2007 09:57:06 +0000 (09:57 +0000)]
== Action Editor - Header Buttons Shuffle ==
* Changed the order of Copy/Paste and AutoSnap buttons
* Auto-snap menu now has more descriptive names (off --> No Snap)
Juho Vepsalainen [Fri, 28 Dec 2007 08:04:37 +0000 (08:04 +0000)]
Bugfix - Socket selection status was not updated properly on file load
This commit adds a missing initialization that caused "Toggle Link (f key)"
not to work properly in case a file with an existing selection status was
opened.
Campbell Barton [Thu, 27 Dec 2007 22:58:32 +0000 (22:58 +0000)]
Support for recursive dupli's, now dupliverts and duplifaces can instance empties that intern instance dupligroups.
Jens Ole Wund [Thu, 27 Dec 2007 22:48:30 +0000 (22:48 +0000)]
fix .. hum not really a bug but waste of CPU
remove 6 multiplications and one square root in core spring calculation .. called for every solver step try
Juho Vepsalainen [Thu, 27 Dec 2007 20:36:17 +0000 (20:36 +0000)]
Bilateral Blur Node
Bilateral Blur node allows the user to blur images while retaining their
sharp edges. Blurring can be controlled by following controls:
*Iterations
*Color Sigma
*Space Sigma
Also image input to blur and a determinator image is provided. The node produces
a blurred image as its output.
The more iterations are provided, the smoother the result. Use color and space
sigmas to control the amount of blur. One way to use the determinator input is
to feed a mix (add) of Z and normal passes to it.
Examples of usage:
Ambient Occlusion smoothing - http://wiki.blender.org/index.php/Image:Bilateral_blur_example_01.blend
Blurry Refraction - http://wiki.blender.org/index.php/Image:Bilateral_blur_example_02.blend
Smoothed shadows and smoothed Ambient Occlusion combined - http://wiki.blender.org/index.php/Image:Bilateral_blur_example_03.blend
If you check out the examples, render the image and alter the values to see how
they affect.
More information about the algorithm can be found at
http://homepages.inf.ed.ac.uk/rbf/CVonline/LOCAL_COPIES/MANDUCHI1/Bilateral_Filtering.html .
Thanks to Vilem Novak for contributing the patch.
Campbell Barton [Thu, 27 Dec 2007 20:33:29 +0000 (20:33 +0000)]
DupliGroups can now instance duplifaces and duplierts - not nice code, but this should help a move to proper recursive dupli's.
This is needed for peach project leaves on tree's
(space.c better tooltip for mipmaps)
Juho Vepsalainen [Thu, 27 Dec 2007 14:19:11 +0000 (14:19 +0000)]
Directional Blur Node
Directional Blur node allows the users to do various blur operations on the input
image. It essentially offers three different kind of ways of blurring in one node.
It is possible to blur using a certain direction, spin and zoom. These three ways
can be used in conjunction.
The node contains following controls:
*Iterations, Wrap
*Center: X, Y
*Distance, Angle
*Spin
*Zoom
Iterations is used to determine the smoothness of the result. The more iterations,
the smoother result. Low values are good for preview.
Wrap means that the image is wrapped as if it was tiled on both x and y directions.
To see better what this means, try it with spin for instance.
Center values (X and Y) determine the location which is used as a pivot point for
the operations. It is center (0.5) of the image by default.
Distance and angle are used to adjust directional blur. The result can be described
as a sweep that varies based on given distance (bigger distance, longer sweep) and
angle. Angle is given in degrees.
Spin produces rotating blur based on given angle. Yet again it is in degrees. Also
negative values work.
Zoom causes the image to be zoomed towards set center point (Center values).
Thanks to Alfredo de Greef (eeshlo) for contribution.
Possible development ideas:
*Make an algorithm to extend image in case spin is used. Extend would temporarily
change the size of the canvas of the input image. Canvas would be filled based on
colors on the edges of the input image. After the blur operation has been done,
the image would be cropped back to normal size. The advantage of this would be nicer
result of spin (no problems with image size) on a computational cost.
*Make values animatable. This is something that is better solved on more general
level. ("everything is animatable" paradigm)
*Provide an option to calculate automatic value for iterations. A good value that
produces a smooth result could be calculated based on direction deltas. This would be
useful in conjuction of animatable values.
Campbell Barton [Thu, 27 Dec 2007 13:35:14 +0000 (13:35 +0000)]
==Python API==
added mipmap as an option for Blender.Get/Set
Joshua Leung [Thu, 27 Dec 2007 11:20:37 +0000 (11:20 +0000)]
== PoseLib - Bugfixes ==
* Fixed crash using Interactive Preview, on an armature without a PoseLib
* Cancelling Interactive Preview now correctly restores the original Pose
* Interactive Preview now sets the correct active pose after it is run
* Interactive Preview now also updates the buttons window after it is run
* Clicking on the "New PoseLib" button now creates a new PoseLib action, even when one existed before
* Poses can be applied using the Pose browsing menu (i.e. when a menu item from that list is clicked, that pose is assigned)
Juho Vepsalainen [Thu, 27 Dec 2007 10:17:33 +0000 (10:17 +0000)]
Toggle links tool for Node Editor
This commit adds a new tool, Toggle Links, to the node editor. This tool
allows the user to toggle the status (linked/not linked) between desired
sockets. The tool can be used either by using the f key or the menus.
This functionality is analogue to one found in object editing modes except
for its additional toggle functionality.
To use this tool, the user has to first select an input and an output socket.
Selecting is done by clicking with right mouse button on a socket. After the
tool has been invoked, the link between those two sockets is toggled. The
result may vary based on existing linkage.
There can be only one input and one output selected at maximum in a node
tree. This means that if the user selects a socket while one of the same
type is already selected, the old one will be deselected.
The tool complements the current way of connecting nodes. One possible use
for it is to use it to review output of nodes by using a viewer node. Just
select wanted input socket of a viewer node, set it visible and use selection
of an output socket in conjuction with f key to show the output in the viewer
node. Select another output and hit f to see its output and so on.
Joshua Leung [Thu, 27 Dec 2007 08:36:27 +0000 (08:36 +0000)]
== PoseLib - Added 2 features ==
* When previewing poses, it is now possible to manipulate the view to look at the pose from another angle. It is a known issue, that the normal header displays when using the MMB to do so.
* Added a tool to "validate" or sync its PoseLib data to the keys stored in the Action.
Nicholas Bishop [Thu, 27 Dec 2007 07:27:03 +0000 (07:27 +0000)]
== Multires ==
Fixed a crash on adding a UV layer to a multires mesh while in editmode.
Nicholas Bishop [Wed, 26 Dec 2007 23:08:00 +0000 (23:08 +0000)]
== Sculpt ==
Fixed a memory leak when using the interactive brush resize tool.
Nicholas Bishop [Wed, 26 Dec 2007 22:40:56 +0000 (22:40 +0000)]
== Sculpt ==
Fixed bad level calls in sculptmode.
Kent Mein [Wed, 26 Dec 2007 21:46:30 +0000 (21:46 +0000)]
This is patch: [#7975] imbuf for DDS textures: improved read support and a few bugs fixed
Kent
Notes From the author:
The attached patch syncs the DDS code in Blender with the latest revision
(324) of the nvidia texture tools. This fixes a few minor issues and adds
support for a more types of DDS textures, in particular uncompressed textures
that don't have the standard 16, 24, or 32 bits per pixel.
Note: I have started using the nvidia texture tools convention for naming
integer types (uint, uint16, uint8, uint64 etc.) because doing so makes it
much easier to merge patches from upstream. Since the code is compiled
separately from the rest of Blender, this likely does not pose a problem.
However, if there turns out to be a good reason for avoiding those nvidia type
names from upstream, I'd be happy to fix it.
Regards,
Amorilia
Nicholas Bishop [Wed, 26 Dec 2007 20:43:58 +0000 (20:43 +0000)]
== Multires ==
Fixed multires_update_colors so it ignores the editmesh during render.
Peter Schlaile [Wed, 26 Dec 2007 19:30:49 +0000 (19:30 +0000)]
== Sequencer ==
Moved status info bar into panels. It was always shown on the wrong place...
Added anim-startofs and anim-endofs, so that one can specify the range of
_input_ that should be used.
There is a subtle difference to start-ofs and end-ofs,
which will show, when you use "Reverse Frames" or "Speed Control". Both
effects operate on the input-range and _not_ on the display range! Now
you can control both in a comfortable way. Only thing missing: a button
to copy start-ofs and end-ofs to anim-startofs and anim-endofs.
(Andy: that was the feature you missed, when storyboarding with the sequencer
and the speed control effect :)
Also: added File-Name and Dir-Name to redirect input as needed.