Commit Graph

53000 Commits

Author SHA1 Message Date
Kent Mein
7b2e348d4f This is a modified version of this patch:
[#7660] Solaris 10 x86 support (Makefiles)

Hopefully it will not mess up anything for anyone else.  I removed
some hardcoded static libs and made NAN_*_LIB definitions so they could be 
overridden, to allow greater flexability.

Let me know if there are any problems/questions.

Kent
2007-12-05 16:58:52 +00:00
Brecht Van Lommel
b3c1e458b4 Particles
=========

- Added texture control for child particle roughness.
- Fix some use of uninitialized variables in particle texture code.
2007-12-05 15:48:49 +00:00
Brecht Van Lommel
29d87d64ca Particles
=========

- Texture orco coordinates for particles are now actual orcos instead
  of just the vertex positions, which means they are the same under
  deformations and the same as the ones on the mesh.
- Particle distribution now uses these orcos to get consistent
  distributions independent of deformation.
- This required changing the way orco's are computed for meshes. Now
  instead of generating an orco derivedmesh separately, the derivedmesh
  is generated alongside the regular one and stored in an orco custom
  data layer.
2007-12-05 12:40:54 +00:00
Campbell Barton
2422b1e401 fix for 2 problems with pose relax,
* Auto key wasnt working, it made the bone not move at all (not sure why used same code as snap to), now check G_RECORDKEYS and add keys manually.
* was ignoring keys that were 1.0 behind the current key. made the limit 0.5, fixes this.
2007-12-05 12:04:14 +00:00
Joshua Leung
5c13e82140 Two transform tweaks:
* [Peach Request] AutoIK now respects axis locking (rotation locks).
- Temporary DOF-Locks are turned on for those bones that are part of an AutoIK chain while transforming. These locks get cleared after transforming.
- This works for all bones except the root bone of the chain, which doesn't seem to be able to be locked.

* Limit Location constraint can now optionally affect Translations too (i.e. NKEY panel values won't change). 
- LimitRot,LimitScale support (for their respective transforms) will be done at a later date
- This only works if the constraint is using World/Local space (the other spaces are not supported yet).
- I've added a temporary button in the LimitLoc panel to enable this option (it is disabled by default). This button will be properly assigned a place in that panel sometime.
2007-12-05 11:19:36 +00:00
Campbell Barton
8493fa986b dont draw face dots when solidtex is enabled - added a macro to check this.
relax pose was crashing - missing a check.
2007-12-05 10:52:14 +00:00
Roland Hess
aa39d56692 Little workflow goody for animators. Adds Alt-RMB select to Action Editor. Alt-RMB in the key area selects all keys on that side of the current frame line. Shift-Alt-RMB builds selection. Commands are also in the headers. 2007-12-05 00:03:39 +00:00
Matt Ebb
f90e4cae73 * Menu entry for relax pose 2007-12-04 23:50:51 +00:00
Campbell Barton
aa2389c539 peach request, pose relax - similar to mesh smooth, moves selected pose bones to closer match keyframes on either side. 2007-12-04 21:12:23 +00:00
Ton Roosendaal
25ea528a29 Bugfix: de-premul for image texture didn't happen for non-osa case. 2007-12-04 19:06:00 +00:00
Ton Roosendaal
12a6008d2f Blender Play feature:
- Hold shift prints filename/frame nr + speed
- SHIFT+NumPad-4: playback speed 24 frs/sec
2007-12-04 18:34:28 +00:00
Brecht Van Lommel
d3bd96ba6c Strand render bugfixes:
- Fix compile error.
- Some changes to bucketing.
- Tweak acceleration button increase size.
2007-12-04 17:53:03 +00:00
Brecht Van Lommel
09b9a1e3f7 Addition to previous strand render bugfix. 2007-12-04 17:19:30 +00:00
Brecht Van Lommel
c50dfa4379 Strand render bugfixes:
- Accidentally made minimum blender unit strand size bigger again.
- Make layer option for lamps work.
2007-12-04 16:55:01 +00:00
Brecht Van Lommel
1e1ee08edb Fix for bug #7859: texture render baking crash. 2007-12-04 15:57:20 +00:00
Brecht Van Lommel
43c7cb994e SSS now uses oversampling for textures in the preprocessing pass,
to fix noisy renders, to solve patch #7865.
2007-12-04 15:11:33 +00:00
Brecht Van Lommel
114e3f35c3 Particles
=========

- Like sculptmode, a brush can now be selected from a menu with
  Ctrl+Tab in particle mode.
2007-12-04 14:21:58 +00:00
Brecht Van Lommel
32a8b4f8e6 Particles
=========

- Fix crash in particle transform with the particle system not editable.
- Particle child distribution and caching is now multithreaded.
- Child particles now have a separate Render Amount next to the existing
  Amount. The render amount particles are now only distributed and cached
  at render time, which should make editing with child particles faster.

- Two new options for diffuse strand shading:
	- Surface Diffuse: computes the strand normal taking the normal at
	  the surface into account.
	- Blending Distance: the distance in Blender units over which to
	  blend in the normal at the surface.
- Special strand rendering for more memory efficient and faster hair and
  grass. This is a work in progress, and has a number of known issues,
  don't report bugs to me for this feature yet.

More info:
http://www.blender.org/development/current-projects/changes-since-244/particles/
2007-12-04 13:57:28 +00:00
Brecht Van Lommel
ebfedd20b2 Mesh Deform Modifier
====================

Bugfix for mdef + groups. The mdef modifier treated the cage object as
a sort of parent, which meant that transforming the cage object also
transformed the mesh. However, this behaviour is different from e.g.
armatures, where transforming the armature object has no effect for
the modifier, but instead this transform is taken into account by the
fact that the armature is usually the parent of the mesh.

For groups and duplis, this basically lead to the parent transform
being applied twice. So, now transforming the cage object will have no
effect, except if you make the cage object the parent of the object.
2007-12-04 12:39:27 +00:00
Joshua Leung
cfa83dbb9b == Bone Paths - Auto-Recalc Improvements ==
Added a new function which specially caters for auto-recalculation of paths after updates (such as keyframing). 

Currently, all that differs between this and pose_calculate_path, is that it only recalculates for bones with paths. Also, it only updates what it needs to (minimum frame range affected).

Warning: WIP commit (hopefully it compiles ok)
2007-12-04 11:34:26 +00:00
Joshua Leung
6d3a5625fd Bugfix:
* Bone Paths calculation should now work on unsaved files. This long standing bug has been hacked around by manually forcing OB_RECALC to be set for the active object (depsgraph should really do this, but it doesn't!)

* Added waitcursor for calculating paths (useful on longer paths). I was going to add a progressbar as well, but that decreased performance overall.
2007-12-04 08:53:41 +00:00
Ken Hughes
3e544d04b5 Tools
-----
Make FFMPEG image save use PNG format instead of JPEG.
2007-12-04 05:53:32 +00:00
Ken Hughes
62e28f52da Tools
-----
Bugfix #7831: fix image filename extensions on saved files.  Make FFMPEG save JPEG images by default, allow JPEG images to have either ".jpg" or ".jpeg" extension.
2007-12-03 23:37:33 +00:00
Campbell Barton
89205964b3 curve proportional edit mode wasn't working with draw handles disabled (own error) 2007-12-03 23:26:45 +00:00
Campbell Barton
a2d6623689 bugfix, curve radius would display incorrectly when there were single point's before a curve. now allow the bevel list to have zero point BevList's to keep in sync with curve->nurb as was expected in a few places. 2007-12-03 22:42:48 +00:00
Martin Poirier
aeaeba2b2c Select all generated bones by default 2007-12-03 20:10:48 +00:00
Campbell Barton
ccc82beb64 import all math funcs (sin/cos/tan/e... etc) by default into buttons and drivers 2007-12-03 16:43:58 +00:00
Ton Roosendaal
a8c8aee7c6 Group instancing usablitity issue: Hotkey SHIFT+O to set subsurf on/off
should not work if object had not a subsurf modifier before.
2007-12-03 16:21:16 +00:00
Ton Roosendaal
0412d62309 Blending mode "Overlay" was not coded yet for material blending. 2007-12-03 16:06:34 +00:00
Joshua Leung
9f4cc0b46b == Bone Paths - Bugfixes ==
* "Show Keys" - increased the size of keyframe dots once again (now 5.0). 

* WKEY (specials menu) - still used "Clear All Paths"
2007-12-03 10:52:56 +00:00
Martin Poirier
f915fc1071 Fixing compiling error in my last commit. *grumble* 2007-12-02 19:42:08 +00:00
Ton Roosendaal
71e4b3ce22 Another Proxy Armature bugfix:
- Library referencing didn't add the new local Ipo for constraints
- Proxy command didn't set the driver object in constraint ipo to be 
  the new proxy object.
2007-12-02 18:33:14 +00:00
Martin Poirier
1c661f19c8 Patch [#7849] Fix for bug #7140 Scrollbar not stopping ok on the bottom of the text editor window
By Jetze van Beijma

It doesn't quite fix the bug (some slight quirks left), but it's much better already, so I'm committing it.
2007-12-02 17:51:49 +00:00
Brecht Van Lommel
6a9c6674ca Particles
=========

Bugfix for crash with disabling the particles system and saving/loading
files, the way it detected if the mesh had changed could not work correct.
2007-12-02 15:54:54 +00:00
Brecht Van Lommel
303819276f Bugfix for earlier commit, with OpenGL render the 3d view transforms
were not always set correct.
2007-12-02 14:48:24 +00:00
Joshua Leung
604dd2e78d A few little tweaks in drawarmature.c 2007-12-02 09:54:01 +00:00
Joshua Leung
498ba509b1 Bugfix:
"Show Keyframes" option for Bone Path Drawing was broken. It seems that I forgot to update this code when the Action Editor's drawing code went from using CfraElem structs to ActKeyColumn structs for storing keyframes for drawing. 

Also, now Keyframe dots on the path are drawn slightly larger to make them stand out more.
2007-12-02 06:29:57 +00:00
Joshua Leung
77e6a2ba86 == Bone Path Drawing - More Tweaks Again ==
Bugfixes:
* "Clear Paths" change from last commit wasn't complete yet. Now it REALLY only clears the paths of the selected bones

* Button layout in "Armature Visualisation" panel has been reorganised a bit to better present the options (clearer separation between Display and Calculation buttons)

New Stuff (Yay!):
* Paths of active bones now draw more visibly than those of unselected bones. This makes it easier to identify the path that is taken by the bone

* The part of path on the current frame is now drawn in green (the same shade that is used for the current-frame line in the Animation Editors). This nicely blends between the black and blue parts of the path (before and after current frame, respectively), and looks much nicer.

* The colour of the current-frame marker in the Animation Editors and the 3D-View, are now theme-colours. This is needed to make the previous option work.
2007-12-02 05:50:38 +00:00
Campbell Barton
1e32ec2000 minor update, "Draw Handles" wasnt working when disabled everywhere and replaced some magic numbers 2007-12-01 23:25:00 +00:00
Campbell Barton
141e279d70 wizard_curve2tree.py - bounding twig mesh didnt work if it had some transformation.
buttons_shading.c - premul button was overlapping movie buttons
2007-12-01 22:00:09 +00:00
Campbell Barton
44bc6ccf17 max selectable vgroups were 99, raised limit to 999 (lucky we have 2 screens) 2007-12-01 21:02:33 +00:00
Brecht Van Lommel
475cf46d61 Bugfix:
Duplicating or separating objects with a particle system could crash.
2007-12-01 20:08:31 +00:00
Brecht Van Lommel
eff09ae396 For the OpenGL render option in the 3d view, if a camera is active,
it now sets the viewport exactly the same as if rendering.
2007-12-01 19:29:50 +00:00
Campbell Barton
f06872d493 mesh_edges2curves.py - fix for duplicate points
renderwin.c - stamp info in openGL render
2007-12-01 19:19:49 +00:00
Ton Roosendaal
4ba215478f Italian community request: Area light fix!
http://peach.blender.org/index.php/area-light-fix-light-not-shadow/

Now, for every possible shadow sample, an area light calculation is 
done from that position.
2007-12-01 17:55:16 +00:00
Ton Roosendaal
448a423288 Bugfix in library linking and subversions (#2)
Now reading files with many references to other files uses correct
version patching.
2007-12-01 14:36:06 +00:00
Campbell Barton
5bf9517bd6 rewrote strip cut, now it works on metastrips and selects the strips depending on the side of the frame your mouse is on.
also removed WHILE_SEQ from transform loops - about 5 or so because it allocates memory each time.
2007-12-01 13:40:59 +00:00
Brecht Van Lommel
fc91991432 Bugfix: baking ambient occlusion was broken without selected to active.
Increased the size limit (to 16384) and the default size (to 1024) for
the New Image function.
2007-12-01 12:34:15 +00:00
Brecht Van Lommel
4813af326b Fix for bug #7851: crash with LSCM unwrap, due to opennl refactor.
Fix for bug #7856: crash hitting "neg" button for particle vertex groups.
2007-12-01 12:08:46 +00:00
Joshua Leung
092e9dcdc3 == Bone Paths - More Tweaks (Cessen requests) ==
* "Around Current Frame" option now works differently. When this option is activated, the path range calculated remains the same (PSta -> PEnd), but only PPre and PPost amount of path-points on either side of the current frame get shown. This is less clumsy to use, and looks quite neat!

* "Clear Paths" now only clears the paths of the selected bones, not all bones. The old behaviour can still be obtained by selecting all bones, but previously there was no way to only clear paths of selected bones.

* Own fix: path colours are now drawn less saturated, as they were showing up TOO strongly.


TODO:
* Fix up interface for "Around current..." option. It's quite confusing atm.
* Selective recalculation of path on certain operations could also be investigated further...
2007-12-01 11:57:16 +00:00