Daniel Genrich [Mon, 26 Nov 2007 23:11:07 +0000 (23:11 +0000)]
Particle merge: svn merge -r 12653:12664 https://svn.blender.org/svnroot/bf-blender/trunk/blender
Brecht Van Lommel [Mon, 26 Nov 2007 22:09:57 +0000 (22:09 +0000)]
Particles
=========
Merge of the famous particle patch by Janne Karhu, a full rewrite
of the Blender particle system. This includes:
- Emitter, Hair and Reactor particle types.
- Newtonian, Keyed and Boids physics.
- Various particle visualisation and rendering types.
- Vertex group and texture control for various properties.
- Interpolated child particles from parents.
- Hair editing with combing, growing, cutting, .. .
- Explode modifier.
- Harmonic, Magnetic fields, and multiple falloff types.
.. and lots of other things, some more info is here:
http://wiki.blender.org/index.php/BlenderDev/Particles_Rewrite
http://wiki.blender.org/index.php/BlenderDev/Particles_Rewrite_Doc
The new particle system cannot be backwards compatible. Old particle
systems are being converted to the new system, but will require
tweaking to get them looking the same as before.
Point Cache
===========
The new system to replace manual baking, based on automatic caching
on disk. This is currently used by softbodies and the particle system.
See the Cache API section on:
http://wiki.blender.org/index.php/BlenderDev/PhysicsSprint
Documentation
=============
These new features still need good docs for the release logs, help
for this is appreciated.
Daniel Genrich [Mon, 26 Nov 2007 14:59:58 +0000 (14:59 +0000)]
Code got unreadble due to copy-paste (hint for me: revert point)
Daniel Genrich [Mon, 26 Nov 2007 14:50:27 +0000 (14:50 +0000)]
Segfault revert, MT should work fine again for subdiv fluids
Daniel Genrich [Mon, 26 Nov 2007 02:41:06 +0000 (02:41 +0000)]
New feature: Fluids internal subdiv (level >=2) uses OpenMP now
Martin Poirier [Mon, 26 Nov 2007 01:52:48 +0000 (01:52 +0000)]
Fixes for some long standing transform bugs.
- [#6112] is this an extrusion bug?
When extruding, x-mirror was giving weird behavior since the extruded vertice could match with their non-extruded counterpart on the other side.
The solution is to disable x-mirror (with a transform context flag, like disabling PET) in that case.
- External constraint setup calls (BIF_*) didn't setup some internal structs properly.
For the user, this resulted in some transform (extrude particularly) showing a full 3d vector in the header instead of a scalar along the constraint axis (this messed up num input a bit too, you could type values in unused axis).
Daniel Genrich [Mon, 26 Nov 2007 01:04:01 +0000 (01:04 +0000)]
Reverted to rev 12673 + test for ccherett
Daniel Genrich [Mon, 26 Nov 2007 00:57:46 +0000 (00:57 +0000)]
Insert revert point (segfault)
Daniel Genrich [Mon, 26 Nov 2007 00:26:29 +0000 (00:26 +0000)]
ccherrett pre-alpha subsurf openmp code
Daniel Genrich [Sun, 25 Nov 2007 21:14:52 +0000 (21:14 +0000)]
Commit of fluid fix for 32/64bit and max 2.5gb ram issue
Campbell Barton [Sun, 25 Nov 2007 20:49:38 +0000 (20:49 +0000)]
new twig type that gives more even results - "Fill Twigs" option
Daniel Genrich [Sun, 25 Nov 2007 17:10:11 +0000 (17:10 +0000)]
Bugfix: Wrong 32/64bit check was used which resulted in a 2GB limit for some 64bit architecture
Peter Schlaile [Sun, 25 Nov 2007 16:35:33 +0000 (16:35 +0000)]
== Sequencer ==
Added malloc mutex handling. (Sorry, had to patch threads.c a bit,
since otherwise scene tracks will completely screw things up...)
Campbell Barton [Sun, 25 Nov 2007 13:43:14 +0000 (13:43 +0000)]
replace macro's with functions for UV editmode checks, this wasn't nice code and broke building on solaris
Daniel Genrich [Sun, 25 Nov 2007 03:46:41 +0000 (03:46 +0000)]
little debug output for MT fluid
Daniel Genrich [Sat, 24 Nov 2007 22:49:56 +0000 (22:49 +0000)]
svn merge -r 12653:12664 https://svn.blender.org/svnroot/bf-blender/trunk/blender
Campbell Barton [Sat, 24 Nov 2007 18:29:33 +0000 (18:29 +0000)]
==Python API==
Added a keyword argument for mesh.pointInside(point, selected_only=True)
This means only selected faces are tested when doing the inside/outside test, disabled by default.
Nils Thuerey [Sat, 24 Nov 2007 17:10:48 +0000 (17:10 +0000)]
- forgot to include a file in the last commit
Andrea Weikert [Sat, 24 Nov 2007 17:08:40 +0000 (17:08 +0000)]
Bugfix #7804 : Opened file is not registered correctly when started from command line
- treat file passed as parameter the same as if loaded from UI if Blender isn't running in background mode.
- only set relative base as valid if file loaded successfully.
Ton Roosendaal [Fri, 23 Nov 2007 14:48:26 +0000 (14:48 +0000)]
Bugfix #7802
Fixed very old annoyance in alpha render: when using alpha textures images,
nicely premulled as Blender wants it, you still got dark outlines at the
edges. This because the blender shading pipeline also premultiplies.
Solution: de-premul image texture colors after sampling.
Brecht Van Lommel [Fri, 23 Nov 2007 14:10:05 +0000 (14:10 +0000)]
Fix for bugs #6709 and #7005:
- SSS not working with negative scale objects.
- Fluids + SSS not always rendering smooth normals correct.
Joshua Leung [Fri, 23 Nov 2007 11:07:57 +0000 (11:07 +0000)]
Bugfix #7654: Keyframe translation in (Action/NLA) wasn't working correctly for scaled actions
Scaled action times were getting calculated twice, which meant that translating a keyframe resulted in the keyframe "not following the mouse position".
Campbell Barton [Thu, 22 Nov 2007 22:07:41 +0000 (22:07 +0000)]
==Python API==
made it possible to remove curves from python with "del curve[i]"
mesh_edges2curves.py - remove unused function.
Daniel Genrich [Thu, 22 Nov 2007 20:28:24 +0000 (20:28 +0000)]
svn merge -r 12607:12653 https://svn.blender.org/svnroot/bf-blender/trunk/blender + add OpenMP for msvc/gcc to scons, cmake and Makefiles (libs + compiler flags are still missing in Makefiles)
Ton Roosendaal [Thu, 22 Nov 2007 20:25:59 +0000 (20:25 +0000)]
Bugfix #7573
NLA Window, Strip blending mode "Add" didn't work at all.
It was using very bad quaternion addition. Replaced with proper code.
For devs; new is the function QuatMulFac(quat, factor) which allows to
multiply a rotation with a value (make it rotate more or less)
Daniel Genrich [Thu, 22 Nov 2007 17:02:37 +0000 (17:02 +0000)]
Fixed numerical issues, hardened it again.
Campbell Barton [Thu, 22 Nov 2007 16:30:14 +0000 (16:30 +0000)]
mesh_wire.py - gave an error with no faces,
wizard_curve2tree.py - didnt work with no bevel object
Curve.py - ext1, ext2 didnt reference the interface names.
Campbell Barton [Thu, 22 Nov 2007 14:10:51 +0000 (14:10 +0000)]
wizard_curve2tree - mistake while debugging.
buttons_shading.c - short names for world settings were not needed.
Campbell Barton [Thu, 22 Nov 2007 10:10:57 +0000 (10:10 +0000)]
SetPivot, patch from malefico, #7785 also added GetPivot
Geoffrey Bantle [Thu, 22 Nov 2007 01:43:24 +0000 (01:43 +0000)]
-> Updated FLT scripts
Blender FLT I/O scripts have been updated to have more features.In addition
several utility scripts/applets have been added to aid in working with FLT
databases within Blender.
Documentation can be found here:
http://wiki.blender.org/index.php/Scripts/Manual/Import/openflight_flt
http://wiki.blender.org/index.php/Scripts/Manual/Export/openflight_flt
http://wiki.blender.org/index.php/Scripts/Manual/FLTools
Joshua Leung [Thu, 22 Nov 2007 00:58:57 +0000 (00:58 +0000)]
== Armature Path Drawing Tweak ==
Peach Request: Bone path lines are now drawn using two colours to show the parts of the path before and after the current frame. Those before the current frame are drawn darker, while those after are drawn in a blue colour.
Joshua Leung [Wed, 21 Nov 2007 23:22:56 +0000 (23:22 +0000)]
Patch #7794: X-Axis Mirror Support for Various Operations in Armature EditMode
Patch by: Teppo Kansala (teppoka)
This patch adds X-Axis Mirror support for the following tools:
- Delete Bone (X)
- Recalculate Bone Roll Angles... (Ctrl-N)
- Duplicate Bone (Shift-D)
- Clear Parent... (Alt-P)
- Move Bone To Layer (M)
Nils Thuerey [Wed, 21 Nov 2007 22:12:16 +0000 (22:12 +0000)]
- Added OpenMP code, it is enabled by defining PARALLEL=1 for the elbeem
compilation. Currently, it is not yet active by default, but
Genscher wanted to do some tests.
It can be used to distribute the computation load onto multiple shared-
memory CPUs by splitting the domain along the y-axis (assuming a
gravity force along z). However, there is no load balancing: so
if there's fluid only in one of the y-axis halves you will not get
a speedup for 2 CPUs.
- Added a fix for the memory allocation bugs #7120 and #6775. In
solver_init.cpp there are now several variables max___MemChunk
(line 692+), that set upper limits for various systems. The same
problem existed for mac & linux, but the limit is higher, so
it probably went by undetected. The windows limit is currently 1GB,
if the strange 700MB limit problems mentioned in the bug regports the
bugs persist, this could be further reduced. For 64bit compilations
this problem shouldn't exist anyway.
What's still missing is a display of how much the resolution was
reduced to fit into memory...
- And some minor solver code cleanup.
Campbell Barton [Wed, 21 Nov 2007 16:07:47 +0000 (16:07 +0000)]
initial support for leaves as duplifaces as well as some a bugfix for loading settings
Campbell Barton [Wed, 21 Nov 2007 11:53:30 +0000 (11:53 +0000)]
wizard_curve2tree.py - always use active object (local view was messing up the context)
Mesh.c - mesh.faces.extend([..., smooth=True]) - smooth keyword argument, in a number of places was looping through all faces just to smooth them.
mesh_skin.py - smooth by default
Campbell Barton [Wed, 21 Nov 2007 09:46:08 +0000 (09:46 +0000)]
made twig taper a float rather then a bool, added type conversion when loading settings.
Daniel Genrich [Wed, 21 Nov 2007 08:13:00 +0000 (08:13 +0000)]
WIP commit to be able to revert later (known bug: unstable without sse enabled - weird)
Joshua Leung [Wed, 21 Nov 2007 04:49:13 +0000 (04:49 +0000)]
Patch #7779: Make the 'Hold' option work with NLA action modifiers
Patch by: Matt Ebb (broken)
Currently in Blender, NLA action modifiers can work in very wacky and mysterious ways.
If an action is being modified with a path deform, when it reaches the end of that strip, it will snap back to the original un-modified location, regardless of whether the strip 'Hold' option is on. It's very frustrating to work with, and causes all sorts of problems - if you use a path to make a character walk from point A to point B, you generally want him to stay at point B, and not jump somewhere completely different, just because the strip ended.
This patch fixes this behaviour, and makes it much more sensible and predictable. There is a chance that this will break old files that were reliant on the old broken behaviour though, but I think it's definitely worthwhile to fix this problem.
Check the demo file in Blender 2.45 vs one with this patch applied - you can see the difference in behaviour.
Demo File Link (attachment in original tracker post):
https://projects.blender.org/tracker/download.php/9/127/7779/4856/wheelsetup2.zip
Joshua Leung [Wed, 21 Nov 2007 04:08:00 +0000 (04:08 +0000)]
== Auto-Keyframing - 'Only Needed' Improvements ==
The 'Only Needed' option for Auto-Keyframing now works better with a few of the different transform options.
Rotating/Scaling using a pivot point that is not the center of the Object/Bone (3d-cursor, active), also inserts location keyframes if the location also changes. If "Only Centers" option is activated, then only location keyframes are inserted.
Ton Roosendaal [Tue, 20 Nov 2007 16:58:25 +0000 (16:58 +0000)]
Another feature request from the animation dept:
Relative shapekeys now allow to define the Shape it is relative to!
(It used to be relative with respect to the first key, which is still
default).
The reason for this feature is that keys don't always add together
well when they're all derived from the same base shape. A clear
example is hard to make... will wait for someone posting it. :)
Ton Roosendaal [Tue, 20 Nov 2007 15:01:44 +0000 (15:01 +0000)]
Tiny group-proxy update:
When you make proxy, the group-update tags should be set OK.
Symptom: you could not move proxy around until you set keys
in bones and advance frame.
Campbell Barton [Tue, 20 Nov 2007 14:09:34 +0000 (14:09 +0000)]
draw image path and size stats in the sequencer again (removed when making single images act differently)
sequencer marker selection didn't work like the marker view.
Daniel Genrich [Mon, 19 Nov 2007 23:45:26 +0000 (23:45 +0000)]
Bugfix: scaling/rotation/translation works again
Andrea Weikert [Mon, 19 Nov 2007 20:13:14 +0000 (20:13 +0000)]
Bugfix #7510: Doesn't save .blend file name with [
* Added Windows specific implementation for fnmatch taken from GNU/MINGW/MSYS C library
* behaviour should now be the same as under Linux and other OSs
* changed filename for fnmatch.h to ensure we include the correct one if we link with the included implementation
* tested compile with MSVC 7.1 and gcc(MinGW-5.1.3) on Windows.
Campbell Barton [Mon, 19 Nov 2007 19:00:28 +0000 (19:00 +0000)]
==Python API==
removing vertex groups was broken, the function being called was for editmode, this would remove the vertex group but apply the weights from the removed group to the next vertex group.
Ton Roosendaal [Mon, 19 Nov 2007 18:00:48 +0000 (18:00 +0000)]
Revamp of multi modifier option!
- error fix: overall weight group value was used inverted
- added "Inv" button to make weight group work inverted
- added bigger, more clear Multi Modifier button
Campbell Barton [Mon, 19 Nov 2007 17:39:52 +0000 (17:39 +0000)]
Update v1.0.11 from Migius
You can find the update v1.0.11 on http://wiki.blender.org/index.php/Scripts/Manual/Import/DXF-3D
changelog:
c4 added "analyse DXF-file" UI-option: print LAYER/BLOCK-dependences into a textfile
c3 human-formating of data in INI-Files
c2 added "caps" for closed Bezier-curves
c2 added "set elevation" UI-option
c1 rewrite POLYLINE2d-arc-segments Bezier-interpreter
b9 many bugs fixed
b9 rewrite POLYLINE2d-arc-segments trimming (clean-trim)
b8 added "import from frozen layers" UI-option
b8 added "import from paper space" UI-option
b8 support Bezier curves for LINEs incl.thickness(0.0-10.0)
b8 added meshSmooth_on for circle/arc/polyline
b8 added vertexGroups for circle/arc
b7 added width_force for ARCs/CIRCLEs = "thin_box" option
b3 cleanup code, rename f_drawArc/Bulg->f_calcArc/Bulg
b2 fixing material assignment by LAYER+COLOR
b1 fixing Bezier curves representation of POLYLINEs-arc-segments
b0 added global_scale_presets: "yard/feet/inch to meter"
Campbell Barton [Mon, 19 Nov 2007 14:00:48 +0000 (14:00 +0000)]
initial leaf support (need to use in production, at the moment its really simple)
Option to generate variation's - This modifies the original shape to make a variation on the original.
Campbell Barton [Mon, 19 Nov 2007 10:49:12 +0000 (10:49 +0000)]
typo in Text3d, weightpaint_invert wasnt working properly
Campbell Barton [Mon, 19 Nov 2007 10:17:55 +0000 (10:17 +0000)]
simple weight invert script for the weightpaint menu, removed a print from weightpaint_average.py
Daniel Genrich [Mon, 19 Nov 2007 00:27:25 +0000 (00:27 +0000)]
#ifdef sse headers
Daniel Genrich [Mon, 19 Nov 2007 00:01:33 +0000 (00:01 +0000)]
fixed sse copy-paste glitch + #define __SSE3__ thanks to Lynx3d
Peter Schlaile [Sun, 18 Nov 2007 17:44:48 +0000 (17:44 +0000)]
== Sequencer ==
Well, added unnecessary pad variables after a fight with makesdna...
Peter Schlaile [Sun, 18 Nov 2007 17:39:30 +0000 (17:39 +0000)]
General cleanup in sequencer:
- Seperated StripData into
StripData
TStripData
where StripData holds only image-filenames and TStripData holds
the working information needed for ImBuf caching.
=> Large drop in memory usage, if you used a lot of movie and meta strips.
=> Fixed bugs in "duplicate" on the way (imbufs where copied around without
taking reference counting seriously...)
=> Code is much cleaner now
- Added defines for TStripData->ok
Finally figured out, what the magic values ment and named them properly :)
- Got rid of Sequence->curelem.
Reason: very bad idea(tm) for multi threading with more than one render
thread. Still not there, but this was a real show stopper on the way.
Brecht Van Lommel [Sat, 17 Nov 2007 21:12:25 +0000 (21:12 +0000)]
Fix for multimodifier commit breaking game engine compile.
Campbell Barton [Sat, 17 Nov 2007 14:21:53 +0000 (14:21 +0000)]
Selecting an image in editmode now adds UV's if they are not there (before assigning the image)
Campbell Barton [Sat, 17 Nov 2007 01:17:23 +0000 (01:17 +0000)]
wizard_curve2tree - more twig options
- gravity (like particles)
- follow parent (like gravity but use the parent normal)
- limit the number of twigs on each branch
- limit the radius that a twig may be placed on a branch
- trim the base of branches in a way that better deals with small branches on large branches
Ton Roosendaal [Fri, 16 Nov 2007 15:46:59 +0000 (15:46 +0000)]
Long outstanding feature request: "Multi Modifier"
This allows to mix between the result of 2 modifiers, with both
using the same input state. This is useful for having a mesh deform
and armature deform working together.
However! This functionality could have been presented better...
this is actually Node editor stuff!
Now it works by adding a "MM" button, next to the "overall vgroup"
option. If MM is pressed, the input of this modifier is the same as
the input of the previous modifier.
Only the armature modifier has this option now...
Campbell Barton [Fri, 16 Nov 2007 14:47:31 +0000 (14:47 +0000)]
* wizard_curve2tree.py - Automatic alpha blended, textured image joins using material textures and UV layers. Also added some detail options and made it easier to get low poly results.
* Mesh.c bugfix, "mesh.verts = None" didn't set the mesh->mselect pointer to NULL, wizard_curve2tree so would crash when in editmode.
* Texture.py - MTex.uvlayer doc was missing
* buttons_shading.c - Stencil tooltip was stupid.
Daniel Genrich [Fri, 16 Nov 2007 14:41:07 +0000 (14:41 +0000)]
svn merge -r 12496:12607 https://svn.blender.org/svnroot/bf-blender/trunk/blender
Daniel Genrich [Fri, 16 Nov 2007 14:24:43 +0000 (14:24 +0000)]
Fixed DNA issue, some optional SSE stuff in (experimental, only 2 functions => not likely to be ever in trunk), BE AWARE: not compatible with old cloth files, many fixes in general, deactivated selfcollisions due to WIP
Juho Vepsalainen [Fri, 16 Nov 2007 12:23:00 +0000 (12:23 +0000)]
= Fix for softbody collision mode selector =
This commit makes all softbody collision modes work as they should.
Thanks to Genscher for noticing the issue.
bjornmose, please check this commit.
Ton Roosendaal [Thu, 15 Nov 2007 19:02:31 +0000 (19:02 +0000)]
Bugfix #7552
Panels with different width or height, should give a re-align call
when tabbed and tabs switch
Ton Roosendaal [Thu, 15 Nov 2007 13:38:35 +0000 (13:38 +0000)]
Bugfix #7631
Outliner: change name of library path to become relative gave
incorrect warning.
Campbell Barton [Thu, 15 Nov 2007 12:16:03 +0000 (12:16 +0000)]
put the revision number in the splash screen (scons and make)
Ton Roosendaal [Thu, 15 Nov 2007 12:15:28 +0000 (12:15 +0000)]
Proxy fix:
Armature Proxy: the 'free pose channel' didn't restore the custom shapes
when reloading file.
Matt Ebb [Thu, 15 Nov 2007 06:07:02 +0000 (06:07 +0000)]
* Fixed own bug: glossy reflections was erroneously giving a
distorted copy of the original face normal, meaning that on
smooth shaded faces, sometimes the check to keep rays
reflected out away from the face wasn't working, and the ray
would intersect when it shouldn't.
Matt Ebb [Thu, 15 Nov 2007 00:11:00 +0000 (00:11 +0000)]
* New material option: TexFace Alpha
This is an additional option for 'TexFace', which uses the alpha of
the UV assigned faces as well as the colour. It appears in material
buttons as a little 'A' button next to 'TexFace', when 'TexFace is
switched on. It's a bit horrible, but no point tweaking that layout in
isolation at this stage.
This image is using texface alpha, with different assigned images, all
sharing the one material:
http://mke3.net/blender/devel/rendering/texface_alpha.jpg
Usually I consider texface (and teaching people to use it for UV
mapping) to be pretty evil, but in some cases, when you have lots of
separate images that you want to control in the one material, it can
be quite handy.
Joshua Leung [Wed, 14 Nov 2007 23:46:18 +0000 (23:46 +0000)]
Bugfix #7781: "IPO-Broom" effect
This commit *should* fix these problems for good. It seems that my attempts at optimising the code (by exiting a loop once the first match was found) were causing it to fail.
I've also made the code aware of handle swapping. I noticed that the handles were not being corrected appropriately after negative scaling.
Brecht Van Lommel [Wed, 14 Nov 2007 22:56:32 +0000 (22:56 +0000)]
Bugfix:
Drawing linked duplicates in editmode leaked memory, and could
also crash. This fixes the memory leak, and hopefully also the
crash.
Joshua Leung [Wed, 14 Nov 2007 22:44:30 +0000 (22:44 +0000)]
Just a little comment commit explaining where "samples" comes from...
Andrea Weikert [Wed, 14 Nov 2007 21:19:49 +0000 (21:19 +0000)]
- fix for crash with MSVC compiler, global array constraintsTypeInfo overwriting caused memory corruption
Aligorith: please check, I think fix is quite obvious though.
Ton Roosendaal [Wed, 14 Nov 2007 16:50:51 +0000 (16:50 +0000)]
Small feature added to new "show bone paths around cfra":
- after a insert-key (autokey mode) it updates paths.
Ton Roosendaal [Wed, 14 Nov 2007 16:20:19 +0000 (16:20 +0000)]
Bugfix in MeshDeform file reading, should check for NULL pointer case...
Ton Roosendaal [Wed, 14 Nov 2007 10:20:13 +0000 (10:20 +0000)]
Bugfix #7686
Render, Ortho, lamphalo position was off a bit due to missing correction
factor.
Matt Ebb [Wed, 14 Nov 2007 01:13:30 +0000 (01:13 +0000)]
* Visualise the Map Old/Map New setting in the timeline with a stippled overlay in the stretched section
Matt Ebb [Tue, 13 Nov 2007 23:53:58 +0000 (23:53 +0000)]
* New feature on compo scale node: "Scene Size %"
This option sets the relative scaling factor to the amount set in the
scene "100%/75%/50%/25%" buttons. It's useful when you've got a fixed
background image, and want to do preview renders at a lesser
percentage, so you don't have to go and change the scale node each
time you change the %.
Also removed unnecessary use of a global from texture node.
Campbell Barton [Tue, 13 Nov 2007 21:32:53 +0000 (21:32 +0000)]
- bounding meshes with loc/size/rot didnt work.
- better sorting of twigs (for recursive twigs)
- An option to lengthen child twigs.
Brecht Van Lommel [Tue, 13 Nov 2007 18:50:57 +0000 (18:50 +0000)]
Bugfix for endian bug in mdef file writing.
Also an unrelated warning fix.
Ton Roosendaal [Tue, 13 Nov 2007 18:01:01 +0000 (18:01 +0000)]
Bugfix 7733
New mouse scrollwheels allowing higher precision didn't work in Windows.
Code was assuming only value of +120 or -120 were returned.
Campbell Barton [Tue, 13 Nov 2007 16:50:43 +0000 (16:50 +0000)]
- new UV scaling option works better for big/small branches.
- Can constrain twigs to only grow in a bounding mesh. And an option to prune twigs that grow out.
Campbell Barton [Tue, 13 Nov 2007 15:32:27 +0000 (15:32 +0000)]
==Python API==
mesh.pointInside(vec) wasnt working in all cases. (own mistake)
Joshua Leung [Tue, 13 Nov 2007 11:54:20 +0000 (11:54 +0000)]
== Peach Feature Requests (Bone-Path Drawing) ==
* Added a new option to only calculate a certain number of frames before/after the current frame instead of defining a frame range. This is useful in certain cases on longer timelines, to be able to view the paths for certain regions quicker.
* When inserting a keyframe, if a bone already has path drawing on, the path for that bone will get automatically recalculated. More testing is required to see if there are any more cases where this would be useful. Also, a global setting to turn this on/off would be a good idea.
Todo (requested but not yet implemented):
* Parts of path before/after current frame could get drawn with different colours
Chris Want [Tue, 13 Nov 2007 06:56:55 +0000 (06:56 +0000)]
==Mirror Modifier==
Support for using the axes of a different object as the line of mirror
symmetry for a mirror modifier. As a nice consequence, this allows
"clipping" to arbitrary planes in editmode.
A fun example of using a couple of mirror modifiers and an array
modifier to easily make a nice flower type model is here:
http://bebop.cns.ualberta.ca/~cwant/chocolateC05.blend
Campbell Barton [Mon, 12 Nov 2007 23:19:33 +0000 (23:19 +0000)]
Tree Wizard.
'Twigs' - branch's added to the existing, made from blending existing branches into new ones.
Some user settings for scale, orientation randomness, number of twigs and recursive twigs.
Campbell Barton [Mon, 12 Nov 2007 20:02:36 +0000 (20:02 +0000)]
added options to weightpaint normalize script
- armature only - so when using weight groups for other things only armature groups are affected,
- Active only - so you can normalize all weight groups
Juho Vepsalainen [Mon, 12 Nov 2007 12:54:37 +0000 (12:54 +0000)]
= Changed Icosphere max to 8 and fixed Remove Doubles =
This commit changes icosphere maximum to 8 (was 500 before).
Also made Remove Doubles button found in the Buttons Window work again.
Ton Roosendaal [Mon, 12 Nov 2007 11:45:48 +0000 (11:45 +0000)]
Bugfix #7756
Sequencer: changing the Scene strip length (Ckey) crashed.
This is very confused code here... ancient allocation issues. :)
Ton Roosendaal [Mon, 12 Nov 2007 09:37:46 +0000 (09:37 +0000)]
Bugfix #7735
Spothalo sometimes gave black pixels. Error was using floating point
32 bits precision checks where double should be used.
(10e-7 vs 10e-16)
Brecht Van Lommel [Mon, 12 Nov 2007 09:12:37 +0000 (09:12 +0000)]
Mesh Deform Modifier
====================
Forgot to uncomment line again for the weight threshold before I committed,
this should save some time and memory space.
Joshua Leung [Mon, 12 Nov 2007 04:17:03 +0000 (04:17 +0000)]
Patch #7767: Constraint Subtargets can now target anywhere on a bone, not just the head or tail
Patch by: Roland Hess (harkyman)
For example, a constraint can be sub-targeted at the 50% (or 31.2% or 85% etc.) point of its target bone, giving you enormous rigging flexibility and removing the need for complex contraptions to do such things as:
- A bone whose base slides only between to points on a rig (CopyLoc with a variable, animated subtarget point)
- Bones that attach to multiple points along another bone (CopyLocs, each with a different head/tail percentage)
- Bones that need to stretch to a point midway between specific spots on two other bones (old way: too crazy to mention; new way: stretch bone between points on end bones, then another stretch to the midpoint of the first stretch)
It is only used for the constraint types for which it is relevant: CopyLoc, TrackTo, StretchTo and MinMax, TrackTo, and Floor.
Notes:
- This is accessed by the Head/Tail number-slider.
- This value can be animated per constraint
- The old "Copy Bone Tail" option for the CopyLoc constraint has been automatically converted to 1.0 Head/Bone values for the affected constraints
- In the code, this value is in the bConstraint struct, so it is available for all constraints, even though only a few implement it.
Brecht Van Lommel [Sun, 11 Nov 2007 22:54:14 +0000 (22:54 +0000)]
Mesh Deform Modifier
====================
Dynamic binding support. This means that the mesh can move _within_
the cage and still deform correct. If the mesh goes out of the cage,
don't expect correct result. Must be enabled with the 'Dynamic'
option, because it is slower and consumes more memory.
This is useful to use e.g. the cage mesh for main deformations and
still have shape keys for facial deformation working.
Campbell Barton [Sun, 11 Nov 2007 21:14:44 +0000 (21:14 +0000)]
Loop in parents cant happen anymore, better dealing with segments with more then 4 children. print timing stats.
Joilnen Leite [Sun, 11 Nov 2007 16:56:22 +0000 (16:56 +0000)]
dropped some unused lines, if that was some new feature witch I no found mentions in svn logs please to commit
for trunk when ready
Ton Roosendaal [Sun, 11 Nov 2007 16:13:27 +0000 (16:13 +0000)]
Proper code for bugfix revision 12365 (which was uncommitted today).
Old log Message:
-----------
bug fix, when opening blender with a file (by double clicking or from the
command line) - the initial undo state would be set to the default scene.
So holding Ctrl+Z would go back to the default .B.blend rather then the
file that the user opened.
Campbell Barton [Sun, 11 Nov 2007 15:18:53 +0000 (15:18 +0000)]
Undoing 'undo' fix 12365, it didn't work the same on mac's, Ton would like to fix the bug himself.
Tree From Curve,
- report error when nurbs or poly curves are used.
- don't throw errors when >4 branch's per segment are used. also try deal with this better. though no nice solution exists.
- default speed is 10x slower then before.
Campbell Barton [Sat, 10 Nov 2007 20:00:15 +0000 (20:00 +0000)]
Rewrote the part that converted blenders curves into branches,
Was converting into a mesh and then doing location checks, to figure out what the radius should be and then interpolating. this was the slowest part of the script and it made a mesh every time.
Now use blenders bezier interpolation function and calculate points like blender does.
fixed a driver syntax error for the Z axis (typo)
Campbell Barton [Sat, 10 Nov 2007 19:56:06 +0000 (19:56 +0000)]
Exclude generated images when checking if an image is already loaded, it can be very confusing when you don't appear to have the image loaded anywhere.
Campbell Barton [Sat, 10 Nov 2007 15:31:41 +0000 (15:31 +0000)]
added buttons in the Transform Properties for changing curve handle types, (Similar to how Metaballs can be selected) for easier access then H,Shift H, V keys
Andrea Weikert [Sat, 10 Nov 2007 11:45:25 +0000 (11:45 +0000)]
Bugfix #6797: Relative paths load problem on new file (fix included)
- brought back the check for a valid relative base when selecting.
- kept the check for when file is saved too and warning message is printed to console instead of popping up.
Also fixed BLI_split_filedir overwriting parameter passed as const char*