Commit Graph

8299 Commits

Author SHA1 Message Date
Robert Holcomb 0a7c43c6e5 Updated tooltips in matte nodes to better explain their use. Made the names of the matte nodes more consistent.
Minor change to to how luminance detail is added to alpha channel in chroma key node.

Removed unused inputs in chroma key and luminance key nodes.

Changed chroma key controls back to sliders because I think they offer the user a more intuitive interface to the node.
2006-11-19 19:17:32 +00:00
Ton Roosendaal 4ebf5223ba Render Baking:
- Bugfix: vertex normals were still flipped around, to match viewpoint
  rendering.
- New: option to bake a texture+material only
2006-11-19 18:44:54 +00:00
Joseph Eagar 6e086d4cfe =ID Properties Python Update=
ID Properties binding have now been added for textures.  Also,
the beginnings of supporting "del IDProperty Object" (which 
basically removes the property from it's parent group then frees
it) in python were done; really the only thing now is to figure 
out exactly *how* you overload the del operator. :S
2006-11-19 16:00:04 +00:00
Jacques Beuarain b861f9b9a6 CMake: Turn special features off by default to increase the compile
out-of-the-box chances for most devs.
2006-11-19 14:30:31 +00:00
Ton Roosendaal c47fa4d0ec Long waited feature: Render Baking
Here's the full release log with example file.
http://www.blender3d.org/cms/Render_Baking.827.0.html

For people who don't read docs; just press ALT+CTRL+B on a Mesh
with texture faces!

Todos:
- maybe some filter options extra?
- Make normal maps in Tangent space
2006-11-19 14:12:56 +00:00
Nicholas Bishop 204f6066a9 * Replaced the three X/Y/Z sliders that controlled the texture size in sculpt
mode with a single slider. (Doesn't seem likely the user is going to want to
  scale in one axis differently from another.) Additionally, the new slider
  works correctly in Tile mode in addition to 3D mode. In Tile mode, the slider
  value is considered pixel units.

In the process, found and fixed a few sculptmode bugs
* When loading a file that is already in sculptmode, initialize sculptdata
  as soon as the first sculpt/partial-visibility operation occurs
* Bug in the undo_push code; reading from free'd memory
2006-11-19 09:25:17 +00:00
Ken Hughes 0e682ce194 Animation system:
Bugfix #5027: Deleting Shape key sometimes caused corruption to Ipo curves.
sort_key() was moving key but not resorting adrcodes for keys and Ipo curves.

Also changed behavior of sort_key() so that it only resorts one key; all the
places which currently call it only do so after changing one key (the
previous code was moving the key one location at a time through the keyblock
list).
2006-11-19 06:07:24 +00:00
Brecht Van Lommel 2bb9d5471e Fix for bug #5250: inaccurate conversion between edit and pose mode bones.
Using acos(dot(u, v)) to find the angle between two vectors is quite
inaccurate, and there's a better way to do it, as explained here:
http://www.plunk.org/~hatch/rightway.php

Also changed the use of atan for computing roll to atan2 in some places,
the latter avoids accuracy and division by zero issues.
2006-11-18 23:07:32 +00:00
Joshua Leung 904dfcc6a2 Disabled some code which I added to make the markers menu only
display in action editor header when there was a set of markers +
an action.
2006-11-18 22:53:50 +00:00
Nicholas Bishop 0d08181c35 Generalized the sculptmode propset (DKEY) to work with strength as well as
brush size. Pressing the key once does brush size (same as before), then
pressing it a second time switches to setting brush strength.
2006-11-18 21:01:25 +00:00
Jacques Beuarain 681346188f CMake: Remove blender_img from sorted link list as it has been renamed/replaced 2006-11-18 16:24:59 +00:00
Jacques Beuarain fd9415511a CMake: Initial commit of CMake usage document for Blender 2006-11-18 16:16:56 +00:00
Jacques Beuarain 0b036eb2d1 CMake: Fix post build action for makesdna on other systems. This was broken during Windows work. 2006-11-18 13:26:05 +00:00
Ton Roosendaal 047a71c32c Compositor: now the preview images in nodes are restored between undo/redo
steps, making it all look much nicer!
To keep this interactive, no re-calculate event is generated. A user has
to force that by editing nodes or click on a socket.
2006-11-18 13:25:42 +00:00
Ton Roosendaal fe339da0f0 Bugfix #5168
Composite: Rotate and Scale nodes ignored the translation offset.
I've added rotating and scale of offset vector, but this should become a
nice 2d matrix[3][3].

Also fixed: the call "pass_on_compbuf" now has correct handling for
using duplicate buffer rects. Can be used safely again to migrate input
buffers to the output when no operation happened. This makes translate
node faster again btw.
2006-11-18 12:34:33 +00:00
Ton Roosendaal e76a1c120f Small fix in Composite "File Output" node: added Z buffer input socket,
for saving rgba+z exr files.
2006-11-18 11:11:55 +00:00
Jacques Beuarain 2a0fc46266 CMake: Fix FFMPeg/OpenEXR issues in CMake system and possibly the others. OpenEXR can be linked in DEBUG mode on Windows using the libraries in CVS and stub. 2006-11-18 02:48:18 +00:00
Jacques Beuarain 6e4b94ff51 CMake: Prepare for ffmpeg introduction in CMake system (CMake and Windows). Also fix release with debug info builds for MS builds. 2006-11-18 02:44:43 +00:00
Jacques Beuarain 1a85cc1663 CMake: Do not create dummy dna.ca on initial run in wrong place for blender app 2006-11-18 02:40:36 +00:00
Joseph Eagar e348456b3d =ID Properties Compile Fix=
The sanity check I added for rare 64-bit cases where sizeof(int)==8
wasn't working so well; part of the code wasn't even committed
(the function BLO_test_64bits I wrote specifically) and since 64-bit
systems like those are so rare and since the code seemed kindof bad,
I just cut it all out.
2006-11-18 02:18:40 +00:00
Alexander Ewering a94925809b Bugfix for:
http://projects.blender.org/tracker/index.php?func=detail&aid=4786&group_id=9&atid=125

If the path to Blender contained whitespace, various places which called
the Blender executable wouldn't run. Now the path to the executable
should be quoted correctly everywhere.

If this breaks anything on other platforms, please shout :)
2006-11-18 01:45:47 +00:00
Jacques Beuarain 41cb8f15ea CMake: Remove mkprot directory. Accidentally left this in from earlier development. 2006-11-17 23:25:15 +00:00
Nicholas Bishop 5234f8df68 Fix for sculptmode drawing error, where the brush was incorrectly shown with a texture after it had been deactivated. 2006-11-17 22:12:38 +00:00
Kent Mein 35d3781757 This reverts the dependancy stuff I did for make -j#
It was causing all of blender to be rebuilt every single time.
Need to do more to figure it out before we add this back in.

Kent
2006-11-17 18:29:46 +00:00
Brecht Van Lommel 28769382d2 Fix for use of an unitialised variable, added this myself some time ago
changing to threaded MEM_malloc.
2006-11-17 18:17:56 +00:00
Kent Mein 7fc699eea3 This updates the Makefiles for verse so they use the blender compiler
settings, and build system.  Now it builds the library in obj just like
other stuff instead of the source tree directly.
Its not doing the dynamic building of specific c files but JesterKing said
this should be ok.  So whine at him if its not.... ;)

Kent
2006-11-17 18:12:12 +00:00
Ken Hughes 318a694a25 Get rid of various warnings with gcc under linux 2006-11-17 17:50:43 +00:00
Chris Want 27c42ee062 A fix for an indentation error, and better handling of faces with
images when materials are defined for the face (i.e., only use
the image as a texture in this case if 'Texface' is selected
for the material).
2006-11-17 16:11:03 +00:00
Jacques Beuarain 4d1f0f0e5c CMake: More fixes was needed to get Quicktime working. CMakeCache.txt was fooling me. 2006-11-17 13:07:44 +00:00
Ton Roosendaal 6b9bf57066 Yuck, a very ancient crasher in going area-full screen in Blender.
I wonder how this survived so long in Blender... (2005/03/09 commit).

Reason was the call to BPY_free_screen_spacehandlers(sc) in kernel,
which was freeing up scripthandlers in a weird way. That call is
really obsolete. The real freeing should go in the del_area() call,
to prevent copying and deleting area in the UI to go wrong.

(Crash happened in testing timeline markers, and holding CTRL+Uparrow
a while...)
2006-11-17 12:44:15 +00:00
Ton Roosendaal 414b918010 Forgot to include the BSE_time.h here. 2006-11-17 12:25:34 +00:00
Ton Roosendaal 4923b8e7a2 Fixes for Time Marker support in Action window;
- now draws on correct height
- selection is clipped correctly (did entire height)
- made showing scene markers default

Actually this implementation should have been a patch review... it was
done with entirely duplicating the code from timeline.c, whilst re-use
and generalizing markers has a preference. That way markers can become
supported in any time-based editor.

Will send an extensive review to Joshua Leung :)
2006-11-17 11:56:00 +00:00
Jacques Beuarain 1ad9d9f370 CMake: Oops, committed the wrong macros file in initial submit. This is the one with proper Quicktime linkage. 2006-11-17 11:35:25 +00:00
Jacques Beuarain 09f3b8ab1c Removed blender/CMakeLists.txt . Directory used by make. Turns out this file is an artifact from the initial development and the blender application list is in source/creator anyway. 2006-11-17 11:33:45 +00:00
Joseph Eagar ab141e1439 =ID Properties Python Update=
IDProperties now have a sanity check to prevent different ID properties
in the same group from having the same name.  The appropriate code has been
added to the python bindings to catch this and raise an error.
2006-11-17 08:19:58 +00:00
Joseph Eagar 80f7ea96c8 =ID Properties Small Python Update=
This commit adds a new constant dict to the top Blender module
called PropertyTypes.  This dict represents all the ID Property
constants: STRING, INT, FLOAT, ARRAY and GROUP.

Further python work, including epydocs, are forthcoming.
2006-11-17 07:50:24 +00:00
Joseph Eagar 885d40c30d =ID Properties MSVC Project Files Update=
This commit updates the MSVC project files (both sets of them) to build
with ID Properties.  Please test!
2006-11-17 06:28:55 +00:00
Joseph Eagar 4c5fcf136b =ID Properties Update=
This commit adds file reading/writing of ID properties to all ID types, 
and also adds python access for NMesh, Mesh, Scene and Image.  Note 
that the file reading code might need some more work for certain 
future/planned features to save right.  Also I updated a few comments in idprop.c.
2006-11-17 06:14:15 +00:00
Nicholas Bishop c8ca36a9c8 Fixed the delete texture button for sculptmode textures 2006-11-17 04:47:39 +00:00
Joseph Eagar 8768707610 =ID Properties=
This commit adds supports for per-ID properties to blender.
See http://mediawiki.blender.org/index.php/BlenderDev/ID_Property
for more information on how it all works.

ID properties are accesable by python; but note that 
bindings have only been added to Object and Material thus
far.  However adding more bindings is easy and I plan
on adding several more hopefully within an hour of this inital 
commit.

A generic UI panel is also planned, that will go wherever its
needed; for example in the material buttons, editing buttons, etc.
I'll likely submit the initial code for that as a patch, though,
so matt and ton and others can go over it and make sure it's
all good. :)

VERY important, if you intend to use ID properties please
go to http://mediawiki.blender.org/index.php/BlenderDev/PropertyStandards
and start writing the appropriate standards for it.
2006-11-17 04:46:48 +00:00
Jacques Beuarain 24f4440d05 CMake lists initial submission. Documentationand further verification for different platforms will follow soon. This was just tested against current CVS on MSVC 2005 with Verse, QuickTime, OpenEXR, Player all on. 2006-11-17 02:27:12 +00:00
Joshua Leung 9ce143ae25 This commit adds some missing features to markers in action editor,
and also fixes some further segfaults.

Now it is possible to 'surf' (jump) to different markers. This is only
possible through the hotkeys for this:
* Page Up - Next Marker
* Page Down - Previous Marker

These hotkeys match the ones in the timeline. In order to do so,
I've had to reassign two (rarely used/obscure) hotkeys:
* 'Ctrl Page Up' is now move selected action channel up (was Page Up)
* 'Ctrl Page Down' is no move selected action channel down (was Page Down)
I should also mention here that
* 'Shift Page Up' is move action channel to top
* 'Shift Page Down' is move action channel to bottom
2006-11-16 23:15:06 +00:00
Ton Roosendaal f89b052262 New Compo node: the Split-Viewer, showing two images halves to compare.
Works internally already with masks, so we can have several builtin
types.
2006-11-16 21:50:35 +00:00
Peter Schlaile d59224377c == Sequencer ==
Fix for the fix. Added "Transform" twice. Ouchie!
2006-11-16 21:40:30 +00:00
Campbell Barton 97d306e68f Added group.layers bitfield to the python API 2006-11-16 21:38:08 +00:00
Peter Schlaile 1a36a9080c == Sequencer ==
Fixes Bug #5239 reported by Anders Gudmundson:
- Sequencer eats memory like popcorn with metastrips
- Crash on gaps in metastrips

Both were introduces by my last patch that added "Speed Control".

I also forgot to add "Speed Control" and "Color" to the "Add"-menu.
(Simply haven't noticed, I use the spacebar all the time...)
2006-11-16 21:36:04 +00:00
Jens Ole Wund 85615f7ac8 More Softbodies
Added a less 'strict' solver step size control.
Cuts down needed loops to a 1/5 in 'regular' collision situations.
So why be a maths smartass when we want to do a skirt in a breeze :)
Is on by default, old mode can be turned on with the 'O' button beside the RK-limit.

Some minor fixes to the UI
2006-11-16 20:57:02 +00:00
Ton Roosendaal 7686e2cc5c New stuff:
- Weight paint options now also show in Nkey panel
- added uiNewPanelTitle() in interface API to rename panels. In use now
  for the Nkey panel title.
  (Note: original name is identifier, do not change that)
2006-11-16 20:55:11 +00:00
Ton Roosendaal 8f2ad64f3d Bugfix: sequencer scrubbing crashed in cache limitor, missing NULL check. 2006-11-16 20:23:29 +00:00
Ton Roosendaal d7f63b4062 Plumiferos request (and useful :)
Static particle option: maximum length. Button is next to "Vect" in first
particle panel. This allows weird forcefields and wind to act without
extreme long strands.
2006-11-16 20:23:00 +00:00