blender.git
15 years agoMore work on the new unwrapper code (orange branch):
Brecht Van Lommel [Sat, 3 Dec 2005 23:22:31 +0000 (23:22 +0000)]
More work on the new unwrapper code (orange branch):

- There is now a (temporary) dropdown box in the image window header for
  switching between the old an new unwrapper code. So to test the changes
  described below you need to enable the new unwrapper code.
- Pinning is now more predictable, if one uv is pinned, the others belonging
  to the same vertex are pinned also.
- Live LSCM is much faster, since the LU factorization, the most expensive
  part of the computation, is now stored and reused (was Jens' idea).
- Packing multiple uv charts is slightly improved, by doing a binary search
  over the texture width. This fixes the case where all the charts are
  packed at the bottom of the image.
- LSCM now uses an angle based formulation, and the results seem somewhat
  different (maybe slightly better?), didn't find out why yet.

15 years agoAdded Copy/Paste 'mapping' options for World/Lamp buttons.
Ton Roosendaal [Sat, 3 Dec 2005 12:55:35 +0000 (12:55 +0000)]
Added Copy/Paste 'mapping' options for World/Lamp buttons.

Also: moved render defines from scene to render module itself.

15 years agoOrange tree:
Ton Roosendaal [Sat, 3 Dec 2005 09:24:21 +0000 (09:24 +0000)]
Orange tree:
Raytrace mirror crash, due to mixup in skyshade call (for 'glob' texture)

15 years agoFriday merge of bf-blender into orange branch.
Ton Roosendaal [Fri, 2 Dec 2005 13:55:13 +0000 (13:55 +0000)]
Friday merge of bf-blender into orange branch.

15 years agoExtra texture channel input for Mist effect; "Global". This feeds the
Ton Roosendaal [Thu, 1 Dec 2005 22:16:07 +0000 (22:16 +0000)]
Extra texture channel input for Mist effect; "Global". This feeds the
global coordinate (from faces) to the sky texture color calculus, this to
make textured mist a bit less transparent (was only view coordinate).

15 years agoJust copied over changes in engine, from bf-blender. This someohow was
Ton Roosendaal [Thu, 1 Dec 2005 19:32:54 +0000 (19:32 +0000)]
Just copied over changes in engine, from bf-blender. This someohow was
missing in the previous bf-blender sync.
Now engine compiles for orange tree too.

15 years agoTrue X-mirror mesh editing!
Ton Roosendaal [Thu, 1 Dec 2005 19:04:57 +0000 (19:04 +0000)]
True X-mirror mesh editing!

Set the option in EditMode, in 2nd mesh tools panel. It only works on
transform options now (grab/rot/scale), and of course assumes a near-
perfect symmetrical mesh. Mesh Object itself can be on any location
though (and rotated etc).

15 years agoBugfix #3510
Johnny Matthews [Thu, 1 Dec 2005 16:36:30 +0000 (16:36 +0000)]
Bugfix #3510

Adding a couple of countall() to update header after using the Vertgroup and Material Group "select" and "deselect" buttons

15 years ago- last bugfix caused problems when using the makefile, this should work as well now
Nils Thuerey [Thu, 1 Dec 2005 16:10:38 +0000 (16:10 +0000)]
- last bugfix caused problems when using the makefile, this should work as well now

15 years agoWee li'll commit in tooltip for "W" button softbodies.
Ton Roosendaal [Thu, 1 Dec 2005 16:00:39 +0000 (16:00 +0000)]
Wee li'll commit in tooltip for "W" button softbodies.

15 years ago- this should fix bug #3468 (scons problem with fluidsim off)
Nils Thuerey [Thu, 1 Dec 2005 15:44:08 +0000 (15:44 +0000)]
- this should fix bug #3468 (scons problem with fluidsim off)

15 years agoSmall addition to stretch minimize: with pad +/- or the wheel mouse
Brecht Van Lommel [Thu, 1 Dec 2005 12:45:17 +0000 (12:45 +0000)]
Small addition to stretch minimize: with pad +/- or the wheel mouse
you can now blend between the original and minimized.

Stretch minimizing trades conformality (= perfect squares in checkerboard
texture) for a better sampling of the texture (= often not so well shaped
checkerboard), so it is useful to let the user find a balance between the
two.

15 years agoUpdated the sconscript for new file parametrizer.c
Matt Ebb [Thu, 1 Dec 2005 11:05:52 +0000 (11:05 +0000)]
Updated the sconscript for new file parametrizer.c

15 years ago-- Bugfix #3139: Blender.Library.Open() was changing current .blend
Ken Hughes [Thu, 1 Dec 2005 05:30:15 +0000 (05:30 +0000)]
-- Bugfix #3139: Blender.Library.Open() was changing current .blend
   filename.  We now save and restore file before opening library.

15 years agoMake curnurb.flagU and curnurb.flagV range check their inputs, plus make
Ken Hughes [Thu, 1 Dec 2005 04:50:04 +0000 (04:50 +0000)]
Make curnurb.flagU and curnurb.flagV range check their inputs, plus make
the documentation correctly describe how the attributes and methods work.

15 years agoOrange branch commit.
Brecht Van Lommel [Thu, 1 Dec 2005 02:09:21 +0000 (02:09 +0000)]
Orange branch commit.

This commit adds new underlying uv unwrapper code, intended to be
more extensible. At the moment this has a re-implementation of LSCM.
This has not been activated yet, since it doesn't add anything new.

What's new is the stretch minimize tool from tuhopuu. It works by
selecting some some uv's in the uv editor window, and then pressing
ctrl+V. The uv's on the boundary stay fixed.

More stuff will follow as I port it over & fix it.

15 years agoOrange bugreport; disabling (with small icon button) a deforming modifier
Ton Roosendaal [Wed, 30 Nov 2005 20:22:27 +0000 (20:22 +0000)]
Orange bugreport; disabling (with small icon button) a deforming modifier
for EditMode, the CrazySpace correction still worked. Made it check for
the modifier mode flag.

15 years ago-- previous commit was decrefing a borrowed reference; thanks Ascotan for
Ken Hughes [Wed, 30 Nov 2005 20:18:54 +0000 (20:18 +0000)]
-- previous commit was decrefing a borrowed reference; thanks Ascotan for
   tracking this down!

15 years agoBugfix - own repertoire :)
Ton Roosendaal [Wed, 30 Nov 2005 18:58:10 +0000 (18:58 +0000)]
Bugfix - own repertoire :)

- Curves without bevel or extrude didn't calculate the Z value for
  softbody when the "3d" option for curves was off.
- Typo in softbody.c, for switch of // comments to /* */

15 years agoBoolean op error handling has been added. When a no closed mesh is used the follow...
Marc Freixas [Wed, 30 Nov 2005 17:38:41 +0000 (17:38 +0000)]
Boolean op error handling has been added. When a no closed mesh is used the follow message is showed:
"Both meshes must be a closed mesh"

15 years agoBoolean op are undeffined when one of the two meshes are a no closed mesh (without...
Marc Freixas [Wed, 30 Nov 2005 17:35:54 +0000 (17:35 +0000)]
Boolean op are undeffined when one of the two meshes are a no closed mesh (without holes).
I put a test to check the input meshes before do any thing. If one mesh have holes a error code is returned.

15 years agoSyncing Orange branch with bf-blender
Ton Roosendaal [Wed, 30 Nov 2005 13:58:01 +0000 (13:58 +0000)]
Syncing Orange branch with bf-blender

15 years ago-- Bugfix #3186: Fix memory leaks caused by multiple calls to
Ken Hughes [Wed, 30 Nov 2005 08:18:06 +0000 (08:18 +0000)]
-- Bugfix #3186: Fix memory leaks caused by multiple calls to
   PyDict_SetItemString() with objects that were not properly decrefed
   afterwards.  Due to the number of places this was used, I added a
   wrapper EXPP_dict_set_item_str() to gen_utils.c to handle it.

   This started as a scriptlink bug, due to how many times scripts were
   being executed I think it just magnified how bad the memory leak in
   BPy was.  Animating the blend attached with this bug report would cause
   memory to grow by about 3MB for every 280 frames.  After the patch,
   memory did not appear to grow at all (or at least not noticably using
   Unix's ps and top utils).

   Since many of the PyDict_SetItemString() calls were in initialization
   modules I think my tests executed most of the changed code, but would
   appreciate script users really giving feedback.

15 years ago-- Bugfix #2868: NMesh.update(0,0,1) with derived mesh data would cause a
Ken Hughes [Tue, 29 Nov 2005 23:38:40 +0000 (23:38 +0000)]
-- Bugfix #2868: NMesh.update(0,0,1) with derived mesh data would cause a
   crash.  Hopefully the NMesh module will die a silent death before we
   discovere this doesn't really fix the problem :-)

15 years agoBugfix #496
Ton Roosendaal [Tue, 29 Nov 2005 23:31:26 +0000 (23:31 +0000)]
Bugfix #496

Noticed that static particle orcos (strands) actually were global
coordinates. This was code copied from dynamic particles...

Bugreporter (hi env!) tried to make nice zebra texture, which of course
very much failed.

Note; orco textures for strand give the same texture coordinate for the
entire hair. UV maps don't work here yet.

15 years agoBugfix #3494
Ton Roosendaal [Tue, 29 Nov 2005 23:09:36 +0000 (23:09 +0000)]
Bugfix #3494

An image texture without picture returned a '0', causing the texture code
to generate a bump normal that warped the entire shading around.
In bugreport it was showing terminator issues with ray shadow.

Terminator problems can still occor with more extreme bumpmaps though,
something to look at further.

15 years agoBugfix #3493
Ton Roosendaal [Tue, 29 Nov 2005 21:44:47 +0000 (21:44 +0000)]
Bugfix #3493

Replaced sqrt() with the safe version sasqrt() in anisotropic.
the formula (1 - n*n) should not give negative values for n = dotproduct
of normals, but float inaccuracy can make negative zeros, as we know!

This solves, hopefully, last annoying "blotches" in hair!

15 years agoFixed calls to BIF_draw_icon_blended() in draw_marker() to use TH_BACK,
Ken Hughes [Tue, 29 Nov 2005 21:41:31 +0000 (21:41 +0000)]
Fixed calls to BIF_draw_icon_blended() in draw_marker() to use TH_BACK,
also removed unused parameter from draw_markers_time().

15 years agoA small tweak on the Glow effect Alpha channel.
Johnny Matthews [Tue, 29 Nov 2005 21:14:42 +0000 (21:14 +0000)]
A small tweak on the Glow effect Alpha channel.

15 years agoPossible fix for bug #3400
Johnny Matthews [Tue, 29 Nov 2005 21:07:17 +0000 (21:07 +0000)]
Possible fix for bug #3400

15 years agoDisabled commit of three days ago to speedup and improve hairstrand
Ton Roosendaal [Tue, 29 Nov 2005 20:18:31 +0000 (20:18 +0000)]
Disabled commit of three days ago to speedup and improve hairstrand
raytracing with a linedist (cylinder) check. It didn't behave OK on strands
set to be more than 1 pixel (not to mention 10 pixels), and I have no time
now to fully check and code it.

Which is not really important either... In general, all 3d papers talk about
using shadowbuffer shadows for hair, which gives much nicer results for
dense volumes of polygons.

This commit restores regular (flat polygon) raytrace shadow for strands.
Also fixes some nasty bugs as reported. :)

15 years agoCleanup & preparation commit for getting Armatures/Poses/Actions working
Ton Roosendaal [Tue, 29 Nov 2005 12:45:18 +0000 (12:45 +0000)]
Cleanup & preparation commit for getting Armatures/Poses/Actions working
in the game engine again.

All files in source/gameengine/ I've committed below have a comment like
/* XXX note .... */
where something needs to be done. This is pretty straightforward for Erwin,
who has been notified in person too about this. :)

15 years ago* warnings fixes
Joseph Gilbert [Tue, 29 Nov 2005 05:08:29 +0000 (05:08 +0000)]
* warnings fixes

15 years ago.net projectfile update
Joseph Gilbert [Tue, 29 Nov 2005 05:03:13 +0000 (05:03 +0000)]
.net projectfile update
* fixes file directory for elbeem (rebuild intern)
* adds the tiff stuff to imbuf and copies dll

15 years ago-- Partial bugfix for #3186. curve.getControlPoint() wasn't DECREF-ing
Ken Hughes [Tue, 29 Nov 2005 01:35:45 +0000 (01:35 +0000)]
-- Partial bugfix for #3186. curve.getControlPoint() wasn't DECREF-ing
   values added to a list, causing a memory leak.

15 years agoFix incorrect documentation for Window.QTest().
Ken Hughes [Mon, 28 Nov 2005 22:49:59 +0000 (22:49 +0000)]
Fix incorrect documentation for Window.QTest().

15 years agoI hesitate to call it a bugfix... but it's a removal of a very ancient
Ton Roosendaal [Mon, 28 Nov 2005 22:49:23 +0000 (22:49 +0000)]
I hesitate to call it a bugfix... but it's a removal of a very ancient
(2001) hack that enforced opening renderwindows smaller than screen size.

The notes I could find referred to testing old 3d cards, which failed to
give graphics memory for large windows. Another note was an issue on OSX,
where the topbar and windowbar gets hidden otherwise.
That latter case I corrected now.

Will organize good testing for this, if there's issues, will uncommit :)

15 years agofixing msvc6 project debuggin
Jens Ole Wund [Mon, 28 Nov 2005 22:22:25 +0000 (22:22 +0000)]
fixing msvc6 project debuggin

15 years agoadded libtiff dll to 'release' target for scons (win32)
Simon Clitherow [Mon, 28 Nov 2005 20:01:14 +0000 (20:01 +0000)]
added libtiff dll to 'release' target for scons (win32)

15 years agoBugfix; using vertex+edge select in Mesh editmode, didn't restore selection
Ton Roosendaal [Mon, 28 Nov 2005 18:16:37 +0000 (18:16 +0000)]
Bugfix; using vertex+edge select in Mesh editmode, didn't restore selection
correctly after re-entering editmode.

15 years agoBugfix #3469
Ton Roosendaal [Mon, 28 Nov 2005 17:12:43 +0000 (17:12 +0000)]
Bugfix #3469

3D Manipulator didn't snap to correct center in editmode Armature. Bug as
old as manipulators in blender. :)

15 years agoAs reported on bf-committers maillist: new object centers were drawing in
Ton Roosendaal [Mon, 28 Nov 2005 16:59:12 +0000 (16:59 +0000)]
As reported on bf-committers maillist: new object centers were drawing in
sets. To fix it, I got rid of a very ancient hack to enable set grey wire
drawing (setting a global to pretend it's picking select draw).
Now this setting is nicely passed on via functions as argument.

15 years agocosmetic change to reduce console output on Os X
Jean-Luc Peurière [Mon, 28 Nov 2005 16:11:27 +0000 (16:11 +0000)]
cosmetic change to reduce console output on Os X
when libtiif is searched.

this is to reduce complaints from frightened users crying
" THERE IS AN ERROR ! "

15 years agoNvidia workarounds
Jean-Luc Peurière [Mon, 28 Nov 2005 13:50:44 +0000 (13:50 +0000)]
Nvidia workarounds

- partially working workaround for nvidia bug on Os X 10.4.3
- brought back the raster ops hack for GT6800 with proper driver version
  check so that text works both on Os X 10.4.3 and older systems.
  this last patch was given by Kent Miller from Apple

15 years agoapplied the 64-bit pointer patch submitted by Ken Hughes
Erwin Coumans [Mon, 28 Nov 2005 06:51:54 +0000 (06:51 +0000)]
applied the 64-bit pointer patch submitted by Ken Hughes

15 years ago-- Fix bugs caused (by me) by incorrect use of Py_RETURN_NONE macro in
Ken Hughes [Mon, 28 Nov 2005 05:21:25 +0000 (05:21 +0000)]
-- Fix bugs caused (by me) by incorrect use of Py_RETURN_NONE macro in
   "if" statements.  The macro defined in gen_utils.h expands to two
   statements; putting after an "if" statement without {} means the second
   statement should always be executed.  I'm not sure if just putting
   braces around both statements would cause other compilers to complain.
   But this explains an earlier bug in the Object module which only
   appeared on MacOS/X.

15 years ago-- Bugfix #3458: keyblock.getData() was getting vertex data from keys
Ken Hughes [Mon, 28 Nov 2005 05:03:26 +0000 (05:03 +0000)]
-- Bugfix #3458: keyblock.getData() was getting vertex data from keys
   incorrectly, including wrapping curve data as BezTriples.  Needed to
   make a change to beztriple module so we could more easily create a
   "thick" BezTriple object similar to Blender.BezTriple.New().

   The change to BezTriple.h pointed out some dead code in the Ipocurve
   module that could be removed.

15 years agoNew object centers were not visible consistantly when using zbuffering.
Ton Roosendaal [Sun, 27 Nov 2005 23:27:14 +0000 (23:27 +0000)]
New object centers were not visible consistantly when using zbuffering.
Instead of disabling zbuffer while drawing it, it now still writes zvalues,
but not tests for it. That way the centers are visible independent of
drawing order.

15 years ago-- bugfix: me.subdivide() was declared NOARGS but was expecting an arg,
Ken Hughes [Sun, 27 Nov 2005 23:15:39 +0000 (23:15 +0000)]
-- bugfix: me.subdivide() was declared NOARGS but was expecting an arg,
   causing a segfault.  Thanks to Cam for catching it.

15 years agoBugfix #3467
Ton Roosendaal [Sun, 27 Nov 2005 22:07:28 +0000 (22:07 +0000)]
Bugfix #3467

Option "Paste flipped pose" didn't work proper for auto-key (inserted key in
own bone instead of flipped...)

15 years agoPrevented mirror or ray-transparency to use the new hair-cylinder code.
Ton Roosendaal [Sun, 27 Nov 2005 21:15:45 +0000 (21:15 +0000)]
Prevented mirror or ray-transparency to use the new hair-cylinder code.

15 years agoDepsgraph fix for editing linked Objects with the other instances being
Ton Roosendaal [Sun, 27 Nov 2005 20:49:25 +0000 (20:49 +0000)]
Depsgraph fix for editing linked Objects with the other instances being
in other layers (or hidden with local view).

In my search for the absolute minimum of recalculations, changes are only
flushed when they're visible. On changing layers, the tags then are just
set again (for everything that potentially moves) to ensure proper state.

However, it didn't work proper for linked Mesh objects that changed in
editmode, the Derivedmesh callback then accessed memory out of bounds.

The current dependency code was more designed for animation systems...
updating display data should work too, but might need some more tests!

(Thanks Andrea for clear error sample!)

15 years agoBug #3479
Ton Roosendaal [Sun, 27 Nov 2005 18:54:23 +0000 (18:54 +0000)]
Bug #3479

Cyclic paths (or curve guides) were not drawn in Solid View when not
selected.

15 years ago* Trying some tweaks to lamps/centers drawing based on IRC discussions
Matt Ebb [Sun, 27 Nov 2005 18:19:00 +0000 (18:19 +0000)]
* Trying some tweaks to lamps/centers drawing based on IRC discussions

15 years agoBugfix #3478
Ton Roosendaal [Sun, 27 Nov 2005 18:17:02 +0000 (18:17 +0000)]
Bugfix #3478

Using a Curve object as a forcefield (not as Guide) crashed Blender.
Needed an additional check in code.

15 years agoBugfix #3477
Ton Roosendaal [Sun, 27 Nov 2005 17:27:32 +0000 (17:27 +0000)]
Bugfix #3477

Bug in VortexField caused in some situations the particles or strands to
disappear completely. Non initialized variable...

15 years agospellcheck scripts in response to IRC whining.
Stephen Swaney [Sun, 27 Nov 2005 16:46:58 +0000 (16:46 +0000)]
spellcheck scripts in response to IRC whining.
vertexes => vertices

15 years ago"UV Test Grid" option in Image Window > Image menu > New, to generate
Brecht Van Lommel [Sun, 27 Nov 2005 16:21:25 +0000 (16:21 +0000)]
"UV Test Grid" option in Image Window > Image menu > New, to generate
a colored grid instead of a blank image, for quickly spotting distortion
in UV maps.

15 years agoAs discussed in meeting, fixed another missing Python symbol from
Chris Burt [Sun, 27 Nov 2005 15:36:21 +0000 (15:36 +0000)]
As discussed in meeting, fixed another missing Python symbol from
python.def and upped Python version to 2.4. This means that Cygwin/GCC will
now be building Python 2.4 binaries. Thanks all!

15 years agoFinishing touch for hair strand shadows;
Ton Roosendaal [Sun, 27 Nov 2005 12:19:12 +0000 (12:19 +0000)]
Finishing touch for hair strand shadows;

- raytracing code now uses cylinder-line intersect for strands. It used
  to intersect with the screen-aligned strand quads, giving too many
  misses for tracing.
  Note; mirror for hair is still not well supported!

- added in Materials a choice for whether a material is Traceable for
  raytracing or whether it is part of Shadow buffers. This way you can
  exclude hair strands from raytracing, but still get shadowbuffers for it.

15 years ago-- Change to make blender with game engine disabled build without errors
Ken Hughes [Sun, 27 Nov 2005 03:47:17 +0000 (03:47 +0000)]
-- Change to make blender with game engine disabled build without errors
   on 64-bit machines.

   This code only seems to be used by the game engine anyway; maybe it's
   only linux which always compiles it regardless of whether game engine is
   enabled?

15 years agopatch #3475 for bug #2867 Object.makeParent with noninverse doesn't clear parentinv...
Stephen Swaney [Sun, 27 Nov 2005 01:42:46 +0000 (01:42 +0000)]
patch #3475 for bug #2867  Object.makeParent with noninverse doesn't clear parentinv matrix

Contributed by Stephane SOPPERA (soppera).  Thanks!

15 years ago-- correct typo in "Fields and Deflection" panel name
Ken Hughes [Sun, 27 Nov 2005 00:09:35 +0000 (00:09 +0000)]
-- correct typo in "Fields and Deflection" panel name

15 years agoBugfix #3471
Ton Roosendaal [Sat, 26 Nov 2005 18:38:54 +0000 (18:38 +0000)]
Bugfix #3471

- Editmode Mesh: after a split command, normals were not recalculated

ALso: in Particle buttons, made the "Tex" button go to the maximum of 10
channels.

15 years agoIncreased maximum limit for Ztransp render to allow 1000 faces in a single
Ton Roosendaal [Sat, 26 Nov 2005 18:07:57 +0000 (18:07 +0000)]
Increased maximum limit for Ztransp render to allow 1000 faces in a single
pixel (was 200), this to prevent occasional errors with extreme haircuts!

15 years agoBugfix #3463
Ton Roosendaal [Sat, 26 Nov 2005 17:56:39 +0000 (17:56 +0000)]
Bugfix #3463

Very ancient bug in boxfilter for image texture popped up with new code
for correct bumpmapping. Caused texture type "Extend" not to work when
using for bump.

15 years agoUV_Export rounding error fixed by Macouno (from elysiun).
Martin Poirier [Sat, 26 Nov 2005 15:25:21 +0000 (15:25 +0000)]
UV_Export rounding error fixed by Macouno (from elysiun).
Also standardized some indenting and export to black lines instead of red.

15 years agoButtonswindow: Fkey cycling bug, accessing OBACT without checking it OK.
Ton Roosendaal [Sat, 26 Nov 2005 15:13:10 +0000 (15:13 +0000)]
Buttonswindow: Fkey cycling bug, accessing OBACT without checking it OK.
Caused crash on pressing F6,F5 after deleting object (thanks DJC!)

15 years agoHairstrand render bug; using Orco could give errors... the orco pointers
Ton Roosendaal [Sat, 26 Nov 2005 15:12:05 +0000 (15:12 +0000)]
Hairstrand render bug; using Orco could give errors... the orco pointers
for some hair vertices were not initialized OK.

15 years agoAdded three more cases for allowing to create a new quad (Fkey), based on
Ton Roosendaal [Sat, 26 Nov 2005 13:09:25 +0000 (13:09 +0000)]
Added three more cases for allowing to create a new quad (Fkey), based on
inverting the checked triangle diagonal.
Noticed issues while modeling subsurfs yesterday, in that case you can
really be less strict.

15 years agoFour mirrored Weight Paint improvement/fixes:
Ton Roosendaal [Sat, 26 Nov 2005 12:23:33 +0000 (12:23 +0000)]
Four mirrored Weight Paint improvement/fixes:

- If the mirrored group doesn't exist yet, it creates that group now.
- Painting on any non-mirror group (not a name complying mirror rules), it
  will now paint mirrored on the group itself.
- The Mesh octree for mirror painting was not created on loading a file
  in WeightPaint mode, or on exiting Editmode for Mesh. This caused mirror
  painting to not work always.
- Tweaked the threshold calculation for vertices, so it gives fewer misses.

15 years agopatch #2869 MTex module additions
Stephen Swaney [Sat, 26 Nov 2005 02:10:42 +0000 (02:10 +0000)]
patch #2869  MTex module additions
contributed by Yehoshua Sapir (sapir)

adds attributes to MTex module.  adds module constants.
Uses new style tp_getset.

15 years agotest if merging with bf-blender works for Orange branch.
Ton Roosendaal [Thu, 24 Nov 2005 22:43:47 +0000 (22:43 +0000)]
test if merging with bf-blender works for Orange branch.

15 years agoSmall fix: after rendering particles, the "disp" amount was not correctly
Ton Roosendaal [Thu, 24 Nov 2005 21:53:51 +0000 (21:53 +0000)]
Small fix: after rendering particles, the "disp" amount was not correctly
put back to not 100% (if set).

15 years ago* Tweaked the logic of the Fkey button cycling to make it a bit smarter
Matt Ebb [Thu, 24 Nov 2005 17:55:46 +0000 (17:55 +0000)]
* Tweaked the logic of the Fkey button cycling to make it a bit smarter

15 years ago* Removed the OK? popups from extruding curve CPs.
Matt Ebb [Thu, 24 Nov 2005 17:54:49 +0000 (17:54 +0000)]
* Removed the OK? popups from extruding curve CPs.

15 years agoBugfix (tracker #3456, elysiun forum).
Ton Roosendaal [Thu, 24 Nov 2005 16:54:55 +0000 (16:54 +0000)]
Bugfix (tracker #3456, elysiun forum).

The new colorband code still had floating point issue... how much a
< or <= can differ eh!

15 years agoUsing the "Lock" option in IpoWindow didn't update for Materials or Camera
Ton Roosendaal [Thu, 24 Nov 2005 14:27:27 +0000 (14:27 +0000)]
Using the "Lock" option in IpoWindow didn't update for Materials or Camera
Ipos.

15 years ago- 'extern "C"' fix for MSVC as suggested by Stephane
Nils Thuerey [Thu, 24 Nov 2005 12:42:33 +0000 (12:42 +0000)]
- 'extern "C"' fix for MSVC as suggested by Stephane

15 years agoWhile looking at the python Lattice code for a bug, I instead found
Chris Want [Wed, 23 Nov 2005 23:43:02 +0000 (23:43 +0000)]
While looking at the python Lattice code for a bug, I instead found
what must clearly be a typo ... an 's_z' where an 's_y' should be
-- python Lattice module owner please check!

15 years agoBugfix (own discovery!), using sequencer to render a scene updated the
Ton Roosendaal [Wed, 23 Nov 2005 21:25:20 +0000 (21:25 +0000)]
Bugfix (own discovery!), using sequencer to render a scene updated the
depsgraph 2 times to often, also confusing particle drawing when disp %
is set.

And: little cleanup in render code (move includes in order)

15 years agoMSVC6 projects
Jens Ole Wund [Wed, 23 Nov 2005 21:11:36 +0000 (21:11 +0000)]
MSVC6 projects
adding libtiff files to compile

15 years agoBugfix #3437 #3438
Ton Roosendaal [Wed, 23 Nov 2005 19:19:44 +0000 (19:19 +0000)]
Bugfix #3437 #3438

- Mirror modifier showed particles on wrong half.
  Note: particles don't do modifiers yet (apart from using subsurf coords)
- Boolean modifier copy didn't copy the 'operation' type.

15 years agoI hoped we could skip a floor() in the new zbuffer code, but no...
Ton Roosendaal [Wed, 23 Nov 2005 17:38:05 +0000 (17:38 +0000)]
I hoped we could skip a floor() in the new zbuffer code, but no...
rounding negative values goes to zero, caused left pixel to not
render in images.

15 years agoForgot to remove code that draws the jitter samples in camera view!
Ton Roosendaal [Wed, 23 Nov 2005 15:39:25 +0000 (15:39 +0000)]
Forgot to remove code that draws the jitter samples in camera view!

15 years agoForgot to note in previous commit: also cleaned up warnings in code,
Ton Roosendaal [Wed, 23 Nov 2005 15:22:51 +0000 (15:22 +0000)]
Forgot to note in previous commit: also cleaned up warnings in code,
like using exported functions without adding it in the .h.

15 years agoNew stuff & fixes in Blender OSA filtering.
Ton Roosendaal [Wed, 23 Nov 2005 15:20:45 +0000 (15:20 +0000)]
New stuff & fixes in Blender OSA filtering.

While investigating alternative filters (Mitchell), I found two small
errors in the Gauss code, it clipped wrong and multiplied wrong, causing
settings other than filter size 1.0 to not work properly.

Took the last-minute liberty to add more filter types in Blender too.
Also wrote an extensive log about how sampling & filtering in Blender
works.

http://www.blender3d.org/cms/Samples_and_Filtering.723.0.html

15 years ago- temporary fix for MSVC (accessing a var from the elbeem lib
Nils Thuerey [Wed, 23 Nov 2005 15:18:45 +0000 (15:18 +0000)]
- temporary fix for MSVC (accessing a var from the elbeem lib
  caused trouble)

15 years agoAdding libtiff for win32 build
Johnny Matthews [Wed, 23 Nov 2005 14:53:51 +0000 (14:53 +0000)]
Adding libtiff for win32 build

15 years agoadded bad level call stub for sluidsim
Jean-Luc Peurière [Wed, 23 Nov 2005 14:42:17 +0000 (14:42 +0000)]
added bad level call stub for sluidsim

15 years agoWith the holy blessing of guitarGeek: Using smooth on a mesh with a
Chris Want [Wed, 23 Nov 2005 14:37:48 +0000 (14:37 +0000)]
With the holy blessing of guitarGeek: Using smooth on a mesh with a
mirror modifier and the clipping option now preserves verts on the
plane(s) of symmetry (i.e., those verts are smoothed, then projected
back to the plane(s) of symmetry).

15 years agouh should have read the patch better, i did test it and it works :)
Toni Alatalo [Wed, 23 Nov 2005 14:31:47 +0000 (14:31 +0000)]
uh should have read the patch better, i did test it and it works :)

15 years agoadding libtiff info to scons, applying http://vidar.gimp.org/tmp/scons-linux.diff
Toni Alatalo [Wed, 23 Nov 2005 14:28:40 +0000 (14:28 +0000)]
adding libtiff info to scons, applying vidar.gimp.org/tmp/scons-linux.diff

15 years ago* Attempting to fix scons for mac os x. It seems to be correct, if I've made a
Matt Ebb [Wed, 23 Nov 2005 13:44:58 +0000 (13:44 +0000)]
* Attempting to fix scons for mac os x. It seems to be correct, if I've made a
mistake, someone can please help fix, just trying to get things to compile here
in the studio. You'll need to delete config.opts

15 years ago- solver now supports animated time steps, gravity
Nils Thuerey [Wed, 23 Nov 2005 12:51:07 +0000 (12:51 +0000)]
- solver now supports animated time steps, gravity
  and viscosity, an example can be found here:
  http://www10.informatik.uni-erlangen.de/~sinithue/temp/fluid_timeanim.mpg
- for simulation time animation the time IPO of the object is currently used,
  for all three there should probably be new ipos in the fluidsim struct
- started the API in elbeem.cpp, to get rid of parser & export
  via HD (it's not yet used)

15 years ago- changed DerivedMesh integration, the fluidsim meshes now
Nils Thuerey [Wed, 23 Nov 2005 12:49:22 +0000 (12:49 +0000)]
- changed DerivedMesh integration, the fluidsim meshes now
  replace the original one. so modifiers now work with them
  (apply modifier, or edit mode still work on original mesh).
  this should fix the three fluidsim bugs in the tracker.
- fixed stupid makesdna problem (writing "char string[160+80]" isnt
  a good idea :)
- changed GUI a bit, now displays an estimate of the required memory,
  there's still a problem with redrawing (currently relies on a call
  to the derived mesh generation)
- the fluidsim struct changed to store the bounding box,
  and the current loaded surface mesh
- temporary simulation files are now removed if env. var.
  BLENDER_DELETEELBEEMFILES is not set or zero
- fluidsimSettingsFree now gets properly called when freeing an object

15 years ago- added dynlibtiff.c and tiff.c for compilation
Nils Thuerey [Wed, 23 Nov 2005 08:50:57 +0000 (08:50 +0000)]
- added dynlibtiff.c and tiff.c for compilation

15 years agonan definition for precompiled libtif
Jean-Luc Peurière [Wed, 23 Nov 2005 01:13:50 +0000 (01:13 +0000)]
nan definition for precompiled libtif

15 years agoupdated the python script to create a good c file. Thanks intrr.
Kent Mein [Tue, 22 Nov 2005 20:45:36 +0000 (20:45 +0000)]
updated the python script to create a good c file.  Thanks intrr.

Kent

15 years agoMade the envvar stuff work and slightly simplified it ;-)
Alexander Ewering [Tue, 22 Nov 2005 20:41:15 +0000 (20:41 +0000)]
Made the envvar stuff work and slightly simplified it ;-)