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

16 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)

16 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.

16 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. :)

16 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.

16 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

16 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

16 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

16 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.

16 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.

16 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.

16 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.

16 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...)

16 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.

16 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!)

16 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

16 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

16 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.

16 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...

16 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

16 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.

16 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!

16 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.

16 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

16 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!

16 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

16 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

16 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!

16 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.

16 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.

16 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!)

16 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.

16 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.

16 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.

16 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.

16 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).

16 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

16 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.

16 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!

16 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

16 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

16 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!

16 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)

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

16 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.

16 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.

16 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!

16 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.

16 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

16 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)

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

16 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

16 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).

16 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 :)

16 years agoadding libtiff info to scons, applying
Toni Alatalo [Wed, 23 Nov 2005 14:28:40 +0000 (14:28 +0000)]
adding libtiff info to scons, applying

16 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

16 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:
- 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)

16 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.
- fluidsimSettingsFree now gets properly called when freeing an object

16 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

16 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

16 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.


16 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 ;-)

16 years agogot rid of snprintf.... Replaced with MEM_mallocN and friends...
Kent Mein [Tue, 22 Nov 2005 20:24:28 +0000 (20:24 +0000)]
got rid of snprintf....  Replaced with MEM_mallocN and friends...


16 years ago- accidentally removed a macro for returning Py_None for python 2.3
Joseph Gilbert [Tue, 22 Nov 2005 19:34:28 +0000 (19:34 +0000)]
- accidentally removed a macro for returning Py_None for python 2.3

16 years agoA few more python 2.4 macros to covert to 2.3 compatible code.
Joseph Gilbert [Tue, 22 Nov 2005 19:23:26 +0000 (19:23 +0000)]
A few more python 2.4 macros to covert to 2.3 compatible code.

16 years agoLittle bit of testing code snuck in there.
Joseph Gilbert [Tue, 22 Nov 2005 19:14:10 +0000 (19:14 +0000)]
Little bit of testing code snuck in there.

16 years agoFix for a python boolean macro that shouldn't be there.
Joseph Gilbert [Tue, 22 Nov 2005 19:12:46 +0000 (19:12 +0000)]
Fix for a python boolean macro that shouldn't be there.

16 years agoThis is a modified version of patch #2995
Kent Mein [Tue, 22 Nov 2005 18:50:03 +0000 (18:50 +0000)]
This is a modified version of patch #2995
To enable dynamic tiff support.
I had to fix some of the logic in the fileselect box for icons,
I also expanded the patch to look in various default locations for
a dynamic
and look at the env variable BF_TIFF_LIB if it can't find it automatically.
If unable to load the library it prints a message about setting BF_TIFF_LIB
to the console.

I haven't been able to test it on a lot of platforms but hopefully it
will just work ;)  I added the files to scons but have not had a chance to
test that as well.


16 years agoAdded some equvalency tests for the other math objects
Joseph Gilbert [Tue, 22 Nov 2005 17:59:49 +0000 (17:59 +0000)]
Added some equvalency tests for the other math objects
* ==, != are defined for matrix, quat, euler.

16 years agoAnother bugreport, this time Basse: in NLA a position could sometimes be
Ton Roosendaal [Tue, 22 Nov 2005 17:58:10 +0000 (17:58 +0000)]
Another bugreport, this time Basse: in NLA a position could sometimes be
set whilst the actual time was 1 frame after the strip. Appeared to be
a rounding error that didnt show in OSX.

Previously I added a threshold, to make sure strips are included when the
current frame is exactly on the end. That threshold now is smaller, and
I also made the fmod() to be done only on repeating strips.

16 years agoMatt bugreport; stride bone caused character to float away while moving
Ton Roosendaal [Tue, 22 Nov 2005 16:35:21 +0000 (16:35 +0000)]
Matt bugreport; stride bone caused character to float away while moving
a key in action window.

- Found bad constructed loop, it was redrawing and recalculating things
  even when key didnt move
- Depsgraph should also recalc object itself

Same code appeared in NLA editor, both fixed.

16 years agoCrasher bug from andy: loading a file with "No UI" crashes when that file
Ton Roosendaal [Tue, 22 Nov 2005 16:14:07 +0000 (16:14 +0000)]
Crasher bug from andy: loading a file with "No UI" crashes when that file
has no camera, and current project has camera view.
Found out the new camera decoration code needs prevention from reading
data from non-camera objects too.

16 years agoRemoved clipping conventions for setting prefsize in Blender. Meaning, for
Ton Roosendaal [Tue, 22 Nov 2005 15:58:09 +0000 (15:58 +0000)]
Removed clipping conventions for setting prefsize in Blender. Meaning, for
dual monitors you can start blender on a negative starting size too, like
blender -p -1280 0 1920 1280

16 years ago* LSCM live transform is finally here!
Matt Ebb [Tue, 22 Nov 2005 15:00:32 +0000 (15:00 +0000)]
* LSCM live transform is finally here!

This is a combined effort from Jens, Ton who finished the code here on my machine, and myself putting in the little menu toggle and committing :).

Turn it on and off in the UV/Image window menu UVs -> LSCM Live Transform. It recalculates the LSCM within the transform loop when you're transforming pinned vertices, so it gives realtime feedback - a real time saver! Note: this is much more powerful than proportional edit, since it's properly calculating LSCM using the correct edge angles, etc.

I recorded a quicky demo video here: (quicktime animation codec)

16 years agonew attempt at the pyboolean macro, 'cause that style did not work in one line if...
Toni Alatalo [Tue, 22 Nov 2005 11:25:23 +0000 (11:25 +0000)]
new attempt at the pyboolean macro, 'cause that style did not work in one line if/elses - this one is from the py 2.4 boolops headers.

16 years agotrying to fix new armature compile probs on macs (w/ py 2.3 probably) by adding the...
Toni Alatalo [Tue, 22 Nov 2005 11:18:34 +0000 (11:18 +0000)]
trying to fix new armature compile probs on macs (w/ py 2.3 probably) by adding the 2.4 macros for returning python booleans.

16 years agoMSVC6 project file service :)
Jens Ole Wund [Mon, 21 Nov 2005 23:26:44 +0000 (23:26 +0000)]
MSVC6 project file service :)
adding new files to project IMB_radiance_hdr.h radiance_hdr.c

16 years agoBugfix #2841
Ton Roosendaal [Mon, 21 Nov 2005 22:47:23 +0000 (22:47 +0000)]
Bugfix #2841

Ancient issue with Image bumpmap & orientation... this report was about
UV textures, which flipped bump direction when UV coordinates rotate.
So... time to dive deeper into it, and I found a very bad old construction
in the way image textures handled bump normals. Instead of using the
correct dx,dy vectors it was calculating the boundbox for it, and applied
it as such (loosing negative direction for the dx or dy that way).

Anyhoo! To make a long story short; the weird "correct Nor Map" option
now can be removed... but requires careful testing!

Here's renders from file I got from env, 239 means old and 240 is this cvs.

Note the much finer detail, and the more consistant normals direction.
No, go render testing dudes!

16 years ago- editng options for armature added to AramtureType
Joseph Gilbert [Mon, 21 Nov 2005 22:21:46 +0000 (22:21 +0000)]
- editng options for armature added to AramtureType

16 years ago- drawtypes added to ArmatureType
Joseph Gilbert [Mon, 21 Nov 2005 21:26:09 +0000 (21:26 +0000)]
- drawtypes added to ArmatureType
* uses module constants added to Armature.c

16 years ago* added some display options to the ArmatureType class
Joseph Gilbert [Mon, 21 Nov 2005 20:54:29 +0000 (20:54 +0000)]
* added some display options to the ArmatureType class

16 years ago* adds deformation properties to armatureType
Joseph Gilbert [Mon, 21 Nov 2005 20:22:08 +0000 (20:22 +0000)]
* adds deformation properties to armatureType

16 years ago* [ #3376 ] Blender.Mathutils.Matrix().toQuat() broken
Joseph Gilbert [Mon, 21 Nov 2005 19:42:20 +0000 (19:42 +0000)]
* [ #3376 ] Blender.Mathutils.Matrix().toQuat() broken
- a 0-degree rotation gives a abitrary axis of 1,0,0 not 0,0,0

16 years agoRadiance HDR image file includes
Joseph Gilbert [Mon, 21 Nov 2005 19:16:52 +0000 (19:16 +0000)]
Radiance HDR image file includes

16 years agoChanged powf to pow. (For Solaris)
Kent Mein [Mon, 21 Nov 2005 18:03:42 +0000 (18:03 +0000)]
Changed powf to pow.  (For Solaris)


16 years agoBugfix #3153
Ton Roosendaal [Mon, 21 Nov 2005 17:48:20 +0000 (17:48 +0000)]
Bugfix #3153

Subdivide didn't correctly calculate new UV or vertexcolor yet.

16 years agoFix #3064
Ton Roosendaal [Mon, 21 Nov 2005 17:06:16 +0000 (17:06 +0000)]
Fix #3064

Assigning a Hook in Mesh editmode to new created vertices crashed on
exit editmode.

16 years agoBugfix #3346
Ton Roosendaal [Mon, 21 Nov 2005 16:21:03 +0000 (16:21 +0000)]
Bugfix #3346

Decimate modifier wasn't resistant to decimating below 3 vertices. It now
detects so, and doesn't add a face or edges then.

16 years agoBugfix #3434
Ton Roosendaal [Mon, 21 Nov 2005 15:59:01 +0000 (15:59 +0000)]
Bugfix #3434

The OpenGL preview anim render calculated the camera matrix before
calling the animation updates, causing a lag when camera was parented.

16 years agoA few more doc updates
Joseph Gilbert [Mon, 21 Nov 2005 15:44:59 +0000 (15:44 +0000)]
A few more doc updates

16 years agoSome updates to armature documentation.
Joseph Gilbert [Mon, 21 Nov 2005 15:36:36 +0000 (15:36 +0000)]
Some updates to armature documentation.

16 years agoColorband input for ramp shaders need to be clamped for (0-1)...
Ton Roosendaal [Mon, 21 Nov 2005 15:21:55 +0000 (15:21 +0000)]
Colorband input for ramp shaders need to be clamped for (0-1)...

16 years agoRui Campos found a glitch in drawing particles, these were accidentally
Ton Roosendaal [Mon, 21 Nov 2005 15:08:02 +0000 (15:08 +0000)]
Rui Campos found a glitch in drawing particles, these were accidentally
still drawing all (zero sized) particles with "disp" option set to <100.

Fast graphics card show the issue less evident, but especially with a
giant amount of particles (100k) very much noticable. Thanks!

16 years agoBugfix #3431
Ton Roosendaal [Mon, 21 Nov 2005 12:14:13 +0000 (12:14 +0000)]
Bugfix #3431

Too strict checking in depsgraph code missed a dependency case; this
specifically when objects have own motion (ipo) and are being deformed
by a parent.
This worked, unless the parent also had own motion (ipo or constraint)...

Also: the DAG_add_relation() added multiple relationships for object pairs,
now they "Or" the relationship description flag. Makes it a tad faster
again :)

16 years agoBugfix #3426
Ton Roosendaal [Mon, 21 Nov 2005 11:30:53 +0000 (11:30 +0000)]
Bugfix #3426

Object duplicators didn't draw when not selected. Was one 'else' to many in
the code!

Also noticed that duplicators couldn't be transformed when they have Ipos,
was an improper call to do_ipo in duplicator code... also made sure the
transformation info in the object is stored/restored before duplicating.

16 years agoBugfix #3430
Ton Roosendaal [Mon, 21 Nov 2005 11:15:46 +0000 (11:15 +0000)]
Bugfix #3430

Using Proportional edit on a Lattice with option "Outside" crashed.
Was caused by not checking for the hide flag while counting amount
of transformed elements in Lattice.

16 years agoBugfix #3422
Ton Roosendaal [Mon, 21 Nov 2005 10:45:58 +0000 (10:45 +0000)]
Bugfix #3422

When using 'protection flags' for XYZ rotations, inserting keys in
Poses resulted in wrong interpolations (doing -270 degrees instead of
+90 for example). This caused by converting quaternion to euler and
Solved it by correcting the quaternion in the end for the rotation
sign of the original quaternion.

NOTE: Pose animators should be aware that inserting rotations keys of
180 degrees or larger will still make the key rotate along the shortest

16 years agoNew textbutton didn't accept buttons with Object names (or Mesh, etc), the
Ton Roosendaal [Sun, 20 Nov 2005 23:06:52 +0000 (23:06 +0000)]
New textbutton didn't accept buttons with Object names (or Mesh, etc), the
socalled ID-pointer buttons.
It appeared that the but->pos, for cursor, was calculated wrong. :)

16 years agoBugfix #3423
Ton Roosendaal [Sun, 20 Nov 2005 22:12:18 +0000 (22:12 +0000)]
Bugfix #3423

Extrude faces assigned arbitrary colors to the new faces when an edge
shared 2 faces with different colors. Now only assigns colors for the
selected faces.

16 years agoTAB cycling in number/text buttons. Was in tuhopuu too, but code needed
Ton Roosendaal [Sun, 20 Nov 2005 21:29:09 +0000 (21:29 +0000)]
TAB cycling in number/text buttons. Was in tuhopuu too, but code needed
a good revision :)

This now cycles through all number/text buttons in a Panel. At the moment
it skips buttons with tab completion (object names, bones, constraints)
Press SHIFT+TAB to cycle backwards (any modifier will do btw).