Commit Graph

4016 Commits

Author SHA1 Message Date
fcd3ea7875 == Snap Bones To Location in PoseMode ==
Now the Snap To Location (Shift S) tools for bones in pose-mode
work correctly. Previously, only one of these tools was implemented,
but it only worked in some cases.


This fixes item #4874 in Todo Tracker. Was patch #5012.
2006-12-22 09:05:37 +00:00
058ceb0b94 Added Vertex Color material node, making render engine support for multiple
vertex color layers actually useful.
2006-12-22 08:10:29 +00:00
d892aac06b Fix: active face was lost switching between faceselect mode and editmode. 2006-12-22 07:45:01 +00:00
73382364a3 Disallow applying modifiers that change mesh topology while multires is active 2006-12-22 07:42:30 +00:00
39c0f6dd83 === Transform Snap ===
The circle drawn around the snap point is now truely constant regardless of zoom and size of the window. That size if linearly proportional to the vertex size (bigger vertex -> bigger circle).
2006-12-21 20:45:57 +00:00
e61dec0767 Defocus Composite Node, by Alfredo de Greef
Log:
http://www.blender3d.org/cms/Composite__Defocus.836.0.html

An incredible quality composite effect, might be slow but worth waiting
for!
2006-12-21 18:11:07 +00:00
bb6dc38f89 Picker buttons: the 'sample' option crashed. Caused by yesterdays commit.
Reason: I had to make the "BUT" type in Blender to use callbacks *after* the
uiBlock was freed, because in Blender several of these callbacks invoke
drawing, which isn't possible while a block is being evaluated.
2006-12-21 15:30:43 +00:00
72d484a872 Fix compile error for last commit. 2006-12-21 14:25:52 +00:00
47bc3d1208 Added names to UV and vertex color layers, and display them as a list.
Added support for multiple UVs in the render engine. This also involved
changing the way faces are stored, to allow data to be added optionally
per 256 faces, same as the existing system for vertices.

A UV layer can be specified in the Map Input panel and the Geometry node
by name. Leaving this field blank will default to the active UV layer.

Also added sharing of face selection and hiding between UV layers, and at
the same time improved syncing with editmode selection and hiding.

Still to do:
- Multi UV support for fastshade.
- Multires and NMesh preservation of multiple UV sets.
2006-12-21 13:47:27 +00:00
edccdf9340 Packing Images fix:
- a 'procedural image' like 'UV Test Grid' now can be directly packed,
  it does ask first for confirming to pack it as PNG
2006-12-21 13:39:02 +00:00
fc00e73a83 removed the WKey "Split font" option. It doesnt work and corrupts memory
(saved files cannot read back, they crash).

The implementation of this option was plain accident that it even worked
once... you cannot use the API in blender that way.
2006-12-21 12:36:25 +00:00
b12927ecb8 MultiLayer images: added support for choosing compression type.
Without setting anything, it uses ZIP now as default, which gives the best
lossless compression and works nice fast.
2006-12-21 10:41:43 +00:00
96dd39b84f UV Image Window:
Brought back the old "image properties" panel, which actually only showed
options for real-time textures. Available in pulldown menu as "Real-time
Properties".
2006-12-21 07:52:20 +00:00
a001501628 Turn of partial visibility in sculptmode when applying modifiers 2006-12-21 00:42:43 +00:00
fcab04f72a Applying subsurf in sculptmode should do a sculptmode undo_push 2006-12-20 23:25:29 +00:00
006647fd22 Bugfix:
For "Render to Image window": On re-render, the 32 bits display buffer of
a RenderResult was not freed, so it looked as if the rendered image was
not changed.
2006-12-20 22:41:44 +00:00
1acb49e69d Bug in new "generated image": when you save it, it didn't set the type to
'non generated' correctly.

Also: tooltip fix for radio pass.
2006-12-20 22:03:06 +00:00
88ef092876 === Transform Snap ===
(Implementing Matt's idea)

Grid and Snap are now exclusively controlled by the Control key (pun intented).

You can switch to Snap by selecting the snap option in the Transform menu (this option is only available in edit mode on a mesh. this option is per 3D view) (NOTE: There is currently no hotkey for that, anyone should feel free to add one).

When Snap is selected, holding down Ctrl during translations (grab) snaps to vertex.

All other situations which have no snapping code yet defaults to Grid.
2006-12-20 19:47:12 +00:00
b95d5bbf44 Two bugfixes for Image commit:
- Jkey press without a render crashed
- UV FaceSelect, assign/view image,  crashed all over... :)
2006-12-20 19:23:57 +00:00
a76fcf6cb9 Consolidated a few more memory allocs in multires 2006-12-20 18:55:29 +00:00
5ffa4dd55a Warning fixes for previous Image commit, also fixed verse_image.c 2006-12-20 18:29:23 +00:00
253432bfc7 The Big Image refactor!
Please read:
http://www.blender3d.org/cms/Imaging.834.0.html

Or in short:

- adding MultiLayer Image support
- recoded entire Image API
- better integration of movie/sequence Images

Was a whole load of work... went down for a week to do this. So, will need
a lot of testing! Will be in irc all evening.
2006-12-20 17:57:56 +00:00
56b79bb66e Modified sculptmode's vertex_users to use one large chunk of memory rather than many small pieces. 2006-12-20 08:33:30 +00:00
547be2a5ce As Brecht suggested, changed multires vert maps to use one big chunk of memory rather than many small ones. 2006-12-20 08:12:32 +00:00
3ed0c210d1 Fixed bug #5443, Multires: crash when changing the level of edges to draw 2006-12-20 07:04:40 +00:00
1852d1a410 Enable 'show physics visualization' in the Game Menu. Should help to locate problems with collision detection/physics (also useful when baking, and/or using the new rigidbody constraints). 2006-12-20 06:43:43 +00:00
427e306196 Several small fixes for sculptmode. First, corrected the fade formula for sculptmode to use pi rather than 3. Second, property set with the FKey now updates the screen immediately when activated. Third, the two propset modes are now offset to the left of the mouse so that small adjustments to strength and size are easier to make. 2006-12-20 06:09:32 +00:00
f4a03182fb === Transform Snap ===
Draw a circle around the snapping point for visual aid.

Different snapping target method, switchable in the 3d view header menu in the Transform menu.

* Closest: Snaps the closest vertex to the point
* Median: Snaps the median of the selection to the point
* Center: Snaps the transform center to the point (this is different from median because you can use Cursor/Boundbox as center)

Fix a bug with constraints/snap handling.
2006-12-19 22:25:07 +00:00
83e3545f9e Prevent user from duplicating elements in edit mode while multires is active. 2006-12-19 18:38:21 +00:00
1ec3e6f3b6 adding ob_arm.makeParentBone([ob1, ob2...], bonename)
ob.parentbonename is also settable now as long as it already has a bone parent
2006-12-19 09:41:45 +00:00
468208aee3 == Action Editor - Column Select Tools ==
* 'On Selected Markers' and 'Between Selected Markers' now get a
correction for NLA action scaling .

* Bugfix for 'Between Selected Markers': now keyframes that occur
on and between the selected markers get selected.

* Bugfix for 'On Selected Markers': now it only considers selected
markers (it used to consider all markers)
2006-12-19 09:21:41 +00:00
59b30d178a === Transform Snap ===
Work in Progress: this adds vertex snapping capabilities to translations.

As before, use the menu or the hotkey (` during transform) to turn on snapping.

Currently, snapping is restricted to translation and only snap to verts. Also, it will snap the nearest moving vert to the snapping vert.

This also has a timeout period and refreshes the snapping point only every 0.25 seconds (assuming the timer is precise enough to do that) to mitigate the slowdown due to repeated calls to findnearestvert. Eventually, a faster method will have to be used.

Also, this uncovered a bug in findnearestvert which can manifest itself as jumps and lags in snapping. People are looking into it.

Still, with all those disclaimers, get the suggestions/critics pouring in.
2006-12-18 23:48:32 +00:00
3f557514ba === Bug Fix ===
There was a hotkey conflict between Preview Render and Push/Pull in object mode.

This is a temporary fix, assigning Push/Pull to Alt-Shift-P (only applies to Object Mode, the rest is Shift-P as before).
2006-12-18 23:40:35 +00:00
dbbf45875b == Scaling Constraints Working in Local-Space ==
* Patch #5442: "Fix Bone SizeLimit" by Heriberto Mendez (gammarayq21)
'Limit Scale' constraint can now work on bone's local scaling too.

* I've also made the 'Copy Scale' constraint able to use the local scaling
of bones too.
2006-12-18 10:17:40 +00:00
019b13b830 Added support for undoing multires actions in sculptmode. 2006-12-18 08:39:11 +00:00
0e6518731f Use degrees instead of radians for rigidbody constraint axis (euler angles). Radians can't specifiy 90-degree angles precisely, the input is only 3 decimals accurate... 2006-12-18 07:51:12 +00:00
abda078196 == NLA Editor ==
Todo Tracker Item: #4754

Now the 'Convert Action to NLA Strip' command (CKEY) is able to
be found in the NLA editor's header in the Strip Menu. It now tries
to add a convert the active action of the active object (so it is no
longer dependant on mouse location).
2006-12-18 05:15:17 +00:00
d1c9de7cd6 == Action Editor ==
When the current action is the active strip in the nla editor and that strip
is scaled, snapping keys to the current frame didn't work correct. Now,
I've added a correction for snapping and mirroring keyframes in action
editor for such cases.
2006-12-18 00:21:47 +00:00
a3468fd0bd == Long Keyframes ==
Removed a check that was not really useful, and seemed to cause
a few problems for some people when duplicating keyframes.
2006-12-17 23:21:24 +00:00
8a5a29ae33 == Transform Limiting Constraints ==
Two tweaks:
* Reduced the amount of empty space at the bottom of these constraints.
* When using the Add Constraint menu (Ctrl Alt C) to add new constraints,
an empty is no longer created when creating a "Limit *" constraint.
2006-12-17 10:02:23 +00:00
e6434898c8 Removed double confirmation for deleting keys in action editor. 2006-12-17 03:03:05 +00:00
711a1f8686 made editmode select grouped work with mixed selections - can show select grouped items for vert/edges/faces all at once.
bad comment in Axiscopy and spelling fix in export_obj
2006-12-16 10:39:08 +00:00
92379ec21f contribution from RCRuiz:
drawing of rigidbody constraint pivots, and allow passing of full constraint frame.
2006-12-16 05:50:38 +00:00
ca90938826 == Long Keyframes ==
Bugfix for an error reported by Bassam/slikdigit.
Sometimes, long keyframes could still get created where they aren't
supposed to be (only occuring in a few ipo-curves).
2006-12-16 00:07:14 +00:00
0369f08299 made the hax height of the clever_numbers 8 rather then 5, was wrapping on too many scripts.
bvh import was having errors on joints with no animation.
typo in uvcopy from my previous commit.
2006-12-15 20:22:59 +00:00
c43b064895 == Action Editor - 'Long' Keyframes ==
When animating, it is often useful to be able to visually see where the
'pauses' are between keyframes. Long keyframes do this - linking two
keyframes in the same channel together.

Long keyframes are only drawn when the two keyframes have the exact
same values. This has to happen for every ipo-curve represented by the
keyframes shown for a long keyframe to be drawn.

I've added two new theme colours for the action editor. They are for
the selected and deselected colours of the long keyframes (currently
defaulted to be the same as the NLA strip selection colours).
2006-12-15 05:51:53 +00:00
0fbecfe936 Bugfix #5434: Animation (alt-a / timeline) will not play if Sta:
frame set higher than End: frame

The end frame should not be allowed to have a value less
than the start frame. This commit sets the minimum allowable
value of the end frame button in the Anim panel and the timeline
to the start frame value.

Ton/Matt - if there is a good reason to not do this, feel free to
revert it back.
2006-12-14 23:38:43 +00:00
1ed773c71c == Add Constraints Menu ==
Now, it is possible to add action constraints to the last selected bone
from the Add Constraint Menu (Ctrl Alt C)
2006-12-14 23:20:47 +00:00
4b99060cc3 * reverted and tweaked UV calculation menu after IRC discussion with Cam 2006-12-14 10:43:13 +00:00
7a216f68fd == Action Editor ==
When the active action in the action editor is the active strip in the
NLA editor, translating (GKEY) the selected keys now shows the
'visual' time instead of the action's local time in the header.
2006-12-14 00:08:49 +00:00