15 years agoBugfix #3906
Ton Roosendaal [Sun, 9 Apr 2006 18:22:05 +0000 (18:22 +0000)]
Bugfix #3906

Restored animated background picture, using a bad call actually, but thats
clearly noted in comments in code. Is remainder work for cleaning up the
whole render api. :)

15 years agoBugfix #3862
Ton Roosendaal [Sun, 9 Apr 2006 17:14:55 +0000 (17:14 +0000)]
Bugfix #3862

Wire render normals were exactly opposite to the normals for solid faces.
This caused displacement to work inverse too. Flipped them.
(Note; for shading normals are corrected to point towards viewer)

15 years agoBugfix #3860
Ton Roosendaal [Sun, 9 Apr 2006 16:43:03 +0000 (16:43 +0000)]
Bugfix #3860

Ipo Driver on a curve-path speed Ipo was not assigned yet to dependency
graph, so it appeared as if it didnt work.

15 years ago#bugfix #3791
Ton Roosendaal [Sun, 9 Apr 2006 16:36:19 +0000 (16:36 +0000)]
#bugfix #3791

Missing depsgraph update tag in Object made dxf import seem as if it
didn't import anything.

15 years agoBugfix #3840
Ton Roosendaal [Sun, 9 Apr 2006 11:10:11 +0000 (11:10 +0000)]
Bugfix #3840

Reading DXF curves can result in corrupted edges (with 2 identical
vertex indices). Probably thats OK for autocad or so.. but it made
Blender crash on entering editmode.

15 years agofixed mistake in checking face verts (for face weight filling), and made C++ comments...
Campbell Barton [Sun, 9 Apr 2006 05:12:13 +0000 (05:12 +0000)]
fixed mistake in checking face verts (for face weight filling), and made C++ comments, C style

15 years agoHrms... the fix for bug #4010 didn't work as expected.
Ton Roosendaal [Sat, 8 Apr 2006 18:13:47 +0000 (18:13 +0000)]
Hrms... the fix for bug #4010 didn't work as expected.

The issue was that particle emittors were still transformed by the object
matrix itself. That was solved in the previous commit, but there was
still an error in correctly evaluating dependencies for the object...
Current commit uses depsgraph to recalculate all objects that influence
the emittor.

The depsgraph code doesn't like particles much (because it uses baking).
Current construct is still weak, is on the list to solve nice.

15 years agoBugfix #3939
Ton Roosendaal [Sat, 8 Apr 2006 17:36:27 +0000 (17:36 +0000)]
Bugfix #3939

"Full OSA" render used wrong subsample pattern for accumulating passrender
info. Was only noticable for the 'normal' pass, for example on raytraced
images. Image looked as if it had a wireframe render.

15 years agoBugfix #3948
Ton Roosendaal [Sat, 8 Apr 2006 16:46:00 +0000 (16:46 +0000)]
Bugfix #3948

Raymirror didn't use proper texture-space 'osa vectors' for sky texture,
causing extremely blurred reflections of sky.
Error was actually a mixup of arguments for sky render...

15 years agoBugfix #3961
Ton Roosendaal [Sat, 8 Apr 2006 15:58:49 +0000 (15:58 +0000)]
Bugfix #3961

When using CTRL+L for materials, you can end up with non-existing material
indices in faces. The drawing code then was still happily drawing the old
situation (or something random, its a static array).

This commit checks the maximum amount of materials on an object, and draws
the last available material for a non-existing index. It uses an ugly
global yes, but this code is bad anyway. :)

15 years agoBugfix #4015
Ton Roosendaal [Sat, 8 Apr 2006 14:58:37 +0000 (14:58 +0000)]
Bugfix #4015

Typo in code committed by Peter; which made range for Glow button negative,
causing malloc errors and glow to not work at all.

15 years agoBugfix #4010
Ton Roosendaal [Sat, 8 Apr 2006 14:50:04 +0000 (14:50 +0000)]
Bugfix #4010

Dynamic particles sometimes didn't properly use global coordinates.
Meaning they were transformed by an Object, for example when it has
animation constraints.

Error caused by attempt to get duplicators to work for particles. Will
need re-evaluation this.. for now restored old functionality, with
exception of dupli-groups.

15 years agoBugfix #4066
Ton Roosendaal [Sat, 8 Apr 2006 13:50:15 +0000 (13:50 +0000)]
Bugfix #4066

Particle strands with a width set (like 10 pixels), and with extreme
bending of strands (like a very course subdivision), could create non-flat
quads. For speed reasons, the quad-to-triangle splitting was turned off
for hair, but in this case that should be done nevertheless.

Solves another Dandruff issue for furry bunnies!

15 years agofixed a lot of GCC 4.0 warnings.
Erwin Coumans [Sat, 8 Apr 2006 13:05:22 +0000 (13:05 +0000)]
fixed a lot of GCC 4.0 warnings.

15 years agoMade face filling (Shift+K) in weightpaint mode, work with x-mirror.
Campbell Barton [Sat, 8 Apr 2006 10:44:19 +0000 (10:44 +0000)]
Made face filling (Shift+K) in weightpaint mode, work with x-mirror.

15 years agoBugfix #4079
Ton Roosendaal [Sat, 8 Apr 2006 10:02:20 +0000 (10:02 +0000)]
Bugfix #4079

Rendering with 'Wire' material, and with Autosmooth set, made wire faces
get a zero'ed normal. Added exception handling code fir wire.

15 years agoBugfix #4055: the "sel" attributes for faces/edges/verts were basically
Ken Hughes [Fri, 7 Apr 2006 02:49:15 +0000 (02:49 +0000)]
Bugfix #4055: the "sel" attributes for faces/edges/verts were basically
oblivious of each other, so setting/clearing the face edit mode select status
did not set/clear the corresponding vertex select statuses.  This patch makes
a change of any select status recalculate the selection state of all edges an
faces.  One unresolved issue is what effect this should have on the recent
edge mesh's stored selection.  Currently changing the selection state will
delete store selection info, but it may be desirable to emulate the stored
selection (but I need to discuss how this should work in more depth with
Geoffrey Bantle).

As an added bonus (while I was messing with this), I added a "sel" attribute
to edges so they are the same as faces and vert.

15 years agoUndo Campbell's last commit that disabled face select mode on fluidsim
Brecht Van Lommel [Fri, 7 Apr 2006 02:46:20 +0000 (02:46 +0000)]
Undo Campbell's last commit that disabled face select mode on fluidsim
meshes, and actually fix the bug that caused the crash. The fluidsim result
doesn't preserve a mapping to the original mesh, so it shouldn't be displayed
in face select mode.

15 years agogoing into face select mode for fluidsim meshes segfaulted blender, do a check so...
Campbell Barton [Fri, 7 Apr 2006 01:14:08 +0000 (01:14 +0000)]
going into face select mode for fluidsim meshes segfaulted blender, do a check so it dosent happen.

15 years agoDid some changes to the getMeshFromObject wrapper.
Campbell Barton [Fri, 7 Apr 2006 00:47:39 +0000 (00:47 +0000)]
Did some changes to the getMeshFromObject wrapper.
Made obj_export use getMeshFromObject

obj_export now copies images from mtex as well as texface when copy images enabled.
obj_export tested to work with exporting fluidsim animations (somebody reported it was broken, must have been fixed at some point?)

15 years agoadded HingeConstraint.cpp to SConscript
Erwin Coumans [Thu, 6 Apr 2006 21:58:46 +0000 (21:58 +0000)]
added HingeConstraint.cpp to SConscript

15 years agoadded hinge constraint support to Bullet physics
Erwin Coumans [Thu, 6 Apr 2006 20:37:38 +0000 (20:37 +0000)]
added hinge constraint support to Bullet physics

15 years agoReordering OpenEXR libraries to correctly reflect dependencies.
D.J. Capelis [Thu, 6 Apr 2006 20:11:06 +0000 (20:11 +0000)]
Reordering OpenEXR libraries to correctly reflect dependencies.

This fixes some ld errors when the static versions of the EXR libs are used.

15 years agoI renamed a couple of simple variables to prevent warnings about
Kent Mein [Thu, 6 Apr 2006 17:27:15 +0000 (17:27 +0000)]
I renamed a couple of simple variables to prevent warnings about
variable blah at a higher scope is already defined...
(one of these was introduced by me when I moved a variable declaration
to the top of the function.)


15 years agoFor 3ds import script, try to get set() function by importing the
Chris Want [Wed, 5 Apr 2006 19:28:21 +0000 (19:28 +0000)]
For 3ds import script, try to get set() function by importing the
function Set() from sets (stoopid python!) if the python version is
less than 2.4.

Campbell: please check!

15 years agoAdded BPyMesh for mesh python mesh functions.
Campbell Barton [Wed, 5 Apr 2006 18:54:38 +0000 (18:54 +0000)]
Added BPyMesh for mesh python mesh functions.
at the moment it only has meshWeight2Dict and dict2MeshWeight
  These allow you to deal with vertex weights as a list of dicts which makes scrips short and easy to understand.
   (kh_python, perhaps dict access to the python verts could replace this )

Used the above util functions to update mesh_cleanup.
Copied from the source

'Material Clean', 'Remove unused materials.'
'Group Clean', 'Remove vertex groups that have no verts using them.'
'Weight Clean', 'Remove zero weighted verts from groups (limit is zero threshold).'
'Weight Normalize', 'Make the sum total of vertex weights accross vgroups 1.0 for each vertex.'

Normalizing lets you see how much % of the vertex a bone owns just by looking at 1 of the bone weights.

Would be nice to have this functionality in Blender but theres not much room for new buttons in teh vgroup and material area :/

15 years agoFix #3999
Ton Roosendaal [Wed, 5 Apr 2006 17:21:24 +0000 (17:21 +0000)]
Fix #3999

Outliner, Group view, operation menu "unlink group" also set the group user
counter to zero, which it should not do.
Note; the definition of this command is to make sure no users exist of this
group, but the group itself can still be there with objects.

15 years agoBugfix #4009
Ton Roosendaal [Wed, 5 Apr 2006 17:11:01 +0000 (17:11 +0000)]
Bugfix #4009

Missing redraw in menu to choose 'metric' for Voronoi texture.

15 years agoAdded an option to batch rename vert Groups.
Campbell Barton [Wed, 5 Apr 2006 16:48:55 +0000 (16:48 +0000)]
Added an option to batch rename vert Groups.

15 years agoTwo more quicktime changes for compiling after OSX software update
Ton Roosendaal [Wed, 5 Apr 2006 15:31:21 +0000 (15:31 +0000)]
Two more quicktime changes for compiling after OSX software update

15 years agoAnother #define __CARBONSOUND__ needed because of wacko Quicktime decision
Ton Roosendaal [Wed, 5 Apr 2006 12:03:43 +0000 (12:03 +0000)]
Another #define __CARBONSOUND__ needed because of wacko Quicktime decision
to leave carbon framework in bad state.

15 years agoUpgrading in 10.3 to quicktime 7 seems to remove a header file, which
Ton Roosendaal [Wed, 5 Apr 2006 11:59:20 +0000 (11:59 +0000)]
Upgrading in 10.3 to quicktime 7 seems to remove a header file, which
stops Ghost from compiling.

Information on this link here:

15 years agoAdded the option only to update selected verts in the target mesh when copying bone...
Campbell Barton [Wed, 5 Apr 2006 07:10:30 +0000 (07:10 +0000)]
Added the option only to update selected verts in the target mesh when copying bone weights.
Good when you need to update a copy with changes to the weights.

15 years agofixed two issues that hinder linux build
Erwin Coumans [Wed, 5 Apr 2006 02:01:34 +0000 (02:01 +0000)]
fixed two issues that hinder linux build

15 years ago==misc spelling and typos ==
Tom Musgrove [Wed, 5 Apr 2006 00:53:07 +0000 (00:53 +0000)]
==misc spelling and typos ==

a patch from Ed Halley to fix assorted typos in tooltips

15 years ago==makefiles==
Tom Musgrove [Wed, 5 Apr 2006 00:15:19 +0000 (00:15 +0000)]

pthreads wasn't added to the release zipfile on cygwin, patch by rob hausauer

15 years agoimproved some Bullet Dynamics, related to friction/contact constraints.
Erwin Coumans [Tue, 4 Apr 2006 22:26:11 +0000 (22:26 +0000)]
improved some Bullet Dynamics, related to friction/contact constraints.

15 years ago - properly prototype dummy fnmatch to match call
Daniel Dunbar [Tue, 4 Apr 2006 20:37:08 +0000 (20:37 +0000)]
 - properly prototype dummy fnmatch to match call

15 years agoNew option for convert-menu font->curve: "Curve (Single filling group)".
Alexander Ewering [Tue, 4 Apr 2006 09:14:07 +0000 (09:14 +0000)]
New option for convert-menu font->curve: "Curve (Single filling group)".

Since the text-object remake, it was not possible anymore to 'cut out'
text from, say, a box made by a polycurve, by converting text to curve
and then joining - only the first character would be cut out.

This is because of the filling groups (nu/dl->charidx)
I introduced for getting the vast speedup and the possibility
of overlapping characters.

The new convert menu option now assigns filling group 0 to all of
the nurbs generated.

Maybe filling groups should be exposed in the UI in general for curves -
there are various occasions where they are useful.

(Hint to the UI mafia! ;)

15 years agofixed error in boneweight copy and type in obj export.
Campbell Barton [Mon, 3 Apr 2006 21:48:18 +0000 (21:48 +0000)]
fixed error in boneweight copy and type in obj export.

15 years agoFix some warning for unsigned vs signed comparisons.
Ken Hughes [Mon, 3 Apr 2006 20:31:10 +0000 (20:31 +0000)]
Fix some warning for unsigned vs signed comparisons.

15 years agoFixed small but that was causing an eternal loop.
Campbell Barton [Mon, 3 Apr 2006 20:15:24 +0000 (20:15 +0000)]
Fixed small but that was causing an eternal loop.

15 years ago-> Stored Selections in Mesh DNA
Geoffrey Bantle [Mon, 3 Apr 2006 19:02:22 +0000 (19:02 +0000)]
-> Stored Selections in Mesh DNA

Stored selections now get saved to mesh library blocks as direct data.
The idea that stored selections are 'erased' when leaving editmode and
switching objects is pretty mysterious for the user. Note that currently
the mselect array in a mesh is not written to file.  Not sure whether
to change this or not.

15 years agoFixed a but where applying the modifier option was disabled, Meshes woudl have there...
Campbell Barton [Mon, 3 Apr 2006 16:14:24 +0000 (16:14 +0000)]
Fixed a but where applying the modifier option was disabled, Meshes woudl have there objects matricies applied.
(Now always work on copied data- Blender.Mesh could do with a copy function)
Now triangulate works without "Apply Modifiers" enabled.

Much thanks to Gianluca Faletti for helping me track down the problem.

15 years agomade some gfx debug code win32 specific
Erwin Coumans [Mon, 3 Apr 2006 01:28:43 +0000 (01:28 +0000)]
made some gfx debug code win32 specific

15 years agocommented out some asserts that don't work multiplatform
Erwin Coumans [Sun, 2 Apr 2006 22:36:15 +0000 (22:36 +0000)]
commented out some asserts that don't work multiplatform

15 years agoapplied Charlies patch for game engine graphics. display list support, and bumpmappin...
Erwin Coumans [Sun, 2 Apr 2006 21:04:20 +0000 (21:04 +0000)]
applied Charlies patch for game engine graphics. display list support, and bumpmapping shader improvements.

15 years agoSped up quite a bit using zsorting and fast index guessing. so verts can find the...
Campbell Barton [Sun, 2 Apr 2006 20:59:02 +0000 (20:59 +0000)]
Sped up quite a bit using zsorting and fast index guessing. so verts can find the closest vert in the other mesh.
from 37.3sec to 8.65 sec on the test I used (human with 24 bones) - 24k verts on the source mesh.

15 years agoFix gcc warnings about NULL used in arithmetic comparison.
Ken Hughes [Sun, 2 Apr 2006 20:19:30 +0000 (20:19 +0000)]
Fix gcc warnings about NULL used in arithmetic comparison.

15 years agofixed a crashing bug in new vehicle physics, and removed some debugging code in conta...
Erwin Coumans [Sun, 2 Apr 2006 20:15:24 +0000 (20:15 +0000)]
fixed a crashing bug in new vehicle physics, and removed some debugging code in contact/friction physics code.

15 years ago - fix some minor typing/redefinition errors, should
Daniel Dunbar [Sun, 2 Apr 2006 18:11:02 +0000 (18:11 +0000)]
 - fix some minor typing/redefinition errors, should
   not be misconstrued as "working" by myself

15 years agoBugfix #3996
Ton Roosendaal [Sun, 2 Apr 2006 17:44:14 +0000 (17:44 +0000)]
Bugfix #3996

Particles were fully recalculated each time on frame advance, when they
had an animation itself (like Ipo). Was not needed for dynamic particles.

15 years agoAdded to select group-
Campbell Barton [Sun, 2 Apr 2006 15:40:56 +0000 (15:40 +0000)]
Added to select group-
Siblings, ad Type
This removes the need for the "Select Type" menu (please review Broken)

15 years agoA calculation was using an integer 100000000000, which was being truncated:
Ken Hughes [Sun, 2 Apr 2006 14:22:19 +0000 (14:22 +0000)]
A calculation was using an integer 100000000000, which was being truncated:

source/blender/src/writeimage.c: In function `save_rendered_image_cb_real':
source/blender/src/writeimage.c:129: warning: integer constant is too large
for "long" type

Since the calculation is on a float anyway, changed constant to a float.


15 years agoBugfix #4046
Ton Roosendaal [Sun, 2 Apr 2006 12:45:55 +0000 (12:45 +0000)]
Bugfix #4046

Copying constraints should refresh the dependency graph, otherwise the
new relations don't get calculated properly.

15 years agoBugfix #4042
Ton Roosendaal [Sun, 2 Apr 2006 12:39:11 +0000 (12:39 +0000)]
Bugfix #4042

New empty drawsize and type are initialized on loading old files now.

15 years agoBugfix #4047
Ton Roosendaal [Sun, 2 Apr 2006 12:20:46 +0000 (12:20 +0000)]
Bugfix #4047

"Delete scene" should exit modes too, crashed in dependency graph then.
Now it exits editmode and paint modes first.

15 years agoFix for #4048
Ton Roosendaal [Sun, 2 Apr 2006 12:08:34 +0000 (12:08 +0000)]
Fix for #4048

Camera was excluded from depsgraph when not visible in current layer...
resulting in camera animations to not move.

Solved with just an exception, but it certainly is attention point for the
depsgraph cleanup.

15 years agoBugfix #4051
Ton Roosendaal [Sun, 2 Apr 2006 11:48:22 +0000 (11:48 +0000)]
Bugfix #4051

- particle duplicators should not include parent animation (error in
  duplicator recode of last december)
- added exception for 'died' particles to keep correct orientation

Also in this commit:

- added comment in code to explain why vertexnormals in mesh are equal to
  vertex location when no faces exist
- cleanup of BKE_object.h for functions that don't need export.

15 years agoAdded proper initialize for curve pointer, fix for commit of march 24th.
Ton Roosendaal [Sun, 2 Apr 2006 11:41:46 +0000 (11:41 +0000)]
Added proper initialize for curve pointer, fix for commit of march 24th.

15 years agoBugreport #4057
Ton Roosendaal [Sun, 2 Apr 2006 08:21:47 +0000 (08:21 +0000)]
Bugreport #4057

Uninitialized variable used in viewmove for 2d windows... the reporter
found it himself. thanks Michael Jones!

15 years agoBugfix when checking for a container mesh (Mesh.Unlink needed here)
Campbell Barton [Sun, 2 Apr 2006 01:46:10 +0000 (01:46 +0000)]
Bugfix when checking for a container mesh (Mesh.Unlink needed here)

15 years agoSilly var typo fix.
Campbell Barton [Sat, 1 Apr 2006 19:28:55 +0000 (19:28 +0000)]
Silly var typo fix.

15 years agoBug fix #3900, washed out AO colors
Ton Roosendaal [Sat, 1 Apr 2006 15:35:25 +0000 (15:35 +0000)]
Bug fix #3900, washed out AO colors

Darn typo in AO code... it only multiplied the red compononent for AO. :)

15 years agoThis script copys vertex groups and weights from 1 weighted mesh, to all unweighted...
Campbell Barton [Sat, 1 Apr 2006 15:32:58 +0000 (15:32 +0000)]
This script copys vertex groups and weights from 1 weighted mesh, to all unweighted meshes.
It just uses the closest to copy the weights, but this means the meshes need not have the same number of verts.
Worldspace coords are used so the meshes only need to overlap in worldspace.

15 years agoAnd the preview.blend for texture preview fix
Ton Roosendaal [Sat, 1 Apr 2006 14:09:23 +0000 (14:09 +0000)]
And the preview.blend for texture preview fix

15 years agoTexture button preview:
Ton Roosendaal [Sat, 1 Apr 2006 14:08:57 +0000 (14:08 +0000)]
Texture button preview:

- now draws intensity value correct (black/white was inversed)
- added option to show texture alpha too

15 years agoSequence render bug: pressing ANIM didn't update renderwindow, when files
Ton Roosendaal [Sat, 1 Apr 2006 12:53:51 +0000 (12:53 +0000)]
Sequence render bug: pressing ANIM didn't update renderwindow, when files
for input were 32 bits.

15 years agoPreviewrender fix: when moving the mouse still while previews should render
Ton Roosendaal [Sat, 1 Apr 2006 09:36:18 +0000 (09:36 +0000)]
Previewrender fix: when moving the mouse still while previews should render
the escape happened without resetting a variable correctly, resulting in
black preview.

This can still be coded better...

15 years agomore Bullet physics improvements, mainly stability and performance related.
Erwin Coumans [Sat, 1 Apr 2006 03:30:15 +0000 (03:30 +0000)]
more Bullet physics improvements, mainly stability and performance related.
AddObjectActuator has new python method to immediately create objects (this allows to create multiple objects in 1 frame in different positions)

15 years agoAdded relative vertex references to obj importer,
Campbell Barton [Fri, 31 Mar 2006 13:07:27 +0000 (13:07 +0000)]
Added relative vertex references to obj importer,
Found a model that used negative relative vertex indicies.
positive relative vert indicies should work also but untested (no example models).

15 years agoAdded matt's empty drawsize property to python.
Campbell Barton [Fri, 31 Mar 2006 09:50:39 +0000 (09:50 +0000)]
Added matt's empty drawsize property to python.

15 years agoRemoved debug printing.
Campbell Barton [Fri, 31 Mar 2006 02:35:16 +0000 (02:35 +0000)]
Removed debug printing.

15 years agoFREE_WINDOWS was declaring a typedef for __int64. __int64 was alredy defined.
Campbell Barton [Thu, 30 Mar 2006 22:44:33 +0000 (22:44 +0000)]
FREE_WINDOWS was declaring a typedef for __int64. __int64 was alredy defined.
so WIngws' GCC was seeing it as
typedef long long long long... and not compiling.

Added an ifndef around this decleration. safe solution. but probably remove the typedef entirely.

- Cam

15 years agoBugfix: isffmpeg() could access a pointer array using an index of -1,
Ken Hughes [Thu, 30 Mar 2006 21:51:59 +0000 (21:51 +0000)]
Bugfix: isffmpeg() could access a pointer array using an index of -1,
causing a segfault.

15 years ago==Nothing to see here, move along==
Chris Want [Thu, 30 Mar 2006 14:23:25 +0000 (14:23 +0000)]
==Nothing to see here, move along==

Removing some outdated files from elbeem, as suggested by Nils.
(Compiles OK without them.)

15 years agofixed vehicle related issue (re-enabled them)
Erwin Coumans [Thu, 30 Mar 2006 06:08:41 +0000 (06:08 +0000)]
fixed vehicle related issue (re-enabled them)

15 years ago==Nothing to see here, move along==
Chris Want [Wed, 29 Mar 2006 23:16:09 +0000 (23:16 +0000)]
==Nothing to see here, move along==

A header (BKE_Scene.h) was not included.

15 years ago==Nothing to see here, move along==
Chris Want [Wed, 29 Mar 2006 23:14:37 +0000 (23:14 +0000)]
==Nothing to see here, move along==

Try to get the yy_wrap and yy_parse definitions for IRIX. Hoping
that it will also help Kent's multiply resolved warnings, I've done
this so that these symbols are defined only if they are currently
undefined. I'm not sure if it will work though, please test!

15 years agoFixed some bugs in BPyImage comprehensive loade. (used by 3ds and obj import)
Campbell Barton [Wed, 29 Mar 2006 18:25:42 +0000 (18:25 +0000)]
Fixed some bugs in BPyImage comprehensive loade. (used by 3ds and obj import)

OBJ Importer,
Added true FGon support for faces >4 verts. (Does a propper scanfill and optionaly converts it to an FGON.) - Checks for flipping, uses a face fan when scanfill fails.
Added the option to split by materials, into seperate mesh objects (Good for large databases)
Made smoothGroups optional.

15 years agoAdded BOP_Mesh constructor to get rid of this:
Kent Mein [Wed, 29 Mar 2006 16:47:56 +0000 (16:47 +0000)]
Added BOP_Mesh constructor to get rid of this:
BOP_Mesh.h:45: warning: ‘class BOP_Mesh’ only defines private constructors and h
as no friends

drawimasel.c initalized a variable so it didn't give warnings about it.
(wasn't really needed but if the code changes could be potential issue)


15 years ago- fixed elbeem header include problems
Nils Thuerey [Wed, 29 Mar 2006 14:57:14 +0000 (14:57 +0000)]
- fixed elbeem header include problems

15 years agoSeveral minor fixes:
Nils Thuerey [Wed, 29 Mar 2006 07:35:54 +0000 (07:35 +0000)]
Several minor fixes:
- Added part of Austin's msvc8 fixes (vector::erase function
  was "misused"), hopefully compiles better now.
- Ctrl-b now also bakes a selected fluidsim domain
  similar to the softbodies.
- Added surface smoothing option for domains: default is
  1, higher values result in a smoother surface (and probably
  slightly higher comupation times), while 0 means the surface
  is not modified at all.
- Added BLENDER_ELBEEMBOBJABORT environment variable in readBobj,
  if >0 quits blender when a not yet existing fluidsim
  frame should be loaded. Useful for rendering simulations
  as far as possible from the command line.
- Surface normals pointer is now set to NULL in readfile.c
- Fixed win32 error string handling, now uses a function
  to return the string from the solver.
- Fixed fluidsim particle halo scaling problem.
- Solver update

15 years ago==Directx 8 importer==
Tom Musgrove [Wed, 29 Mar 2006 06:25:07 +0000 (06:25 +0000)]
==Directx 8 importer==

addition of a direct x importer by Ben Omari

15 years ago==Directx 8 exporter update==
Tom Musgrove [Wed, 29 Mar 2006 06:22:43 +0000 (06:22 +0000)]
==Directx 8 exporter update==

update to the direct x exporter by Ben Omari

15 years agomore physics work: fixed some deactivation bug, improved contact constraint stability...
Erwin Coumans [Wed, 29 Mar 2006 03:11:30 +0000 (03:11 +0000)]
more physics work: fixed some deactivation bug, improved contact constraint stability and friction (lower the number of iterations).

15 years agoI fixed some warnings about multiply defined yy_parse (etc) fuctions.
Kent Mein [Tue, 28 Mar 2006 20:56:58 +0000 (20:56 +0000)]
I fixed some warnings about multiply defined yy_parse (etc) fuctions.
Did some small indentation fixes, and moved some variables so they
were declared at the top of the function blocks.


15 years agodisabled restitution in the new iterative contact constraint.
Erwin Coumans [Tue, 28 Mar 2006 20:55:44 +0000 (20:55 +0000)]
disabled restitution in the new iterative contact constraint.

15 years agofixed scons build for moved and added file.
Erwin Coumans [Tue, 28 Mar 2006 20:18:14 +0000 (20:18 +0000)]
fixed scons build for moved and added file.

15 years agoRemoved a bad return and and unused variable.
Campbell Barton [Tue, 28 Mar 2006 03:20:10 +0000 (03:20 +0000)]
Removed a bad return and and unused variable.
swappsed all // for /**/.

15 years agoFix gcc warning about usage of identifier "main"; renamed the variable to
Ken Hughes [Mon, 27 Mar 2006 22:33:21 +0000 (22:33 +0000)]
Fix gcc warning about usage of identifier "main"; renamed the variable to

15 years agoAdd structure declaration to beginning of file to fix gcc warnings.
Ken Hughes [Mon, 27 Mar 2006 22:22:08 +0000 (22:22 +0000)]
Add structure declaration to beginning of file to fix gcc warnings.

15 years agoMove variable declaration to beginning of code block, to avoid compiler
Ken Hughes [Mon, 27 Mar 2006 22:20:24 +0000 (22:20 +0000)]
Move variable declaration to beginning of code block, to avoid compiler
warnings or errors.

15 years agoModified editmesh_mods.c
Campbell Barton [Mon, 27 Mar 2006 21:35:31 +0000 (21:35 +0000)]
Modified editmesh_mods.c
Added "Similar Edge Face Angles" to "Select Edge Groups"
This means you can select edges based on the angles of edges in the existing selection.
Only works for edges with 2 face users at the moment.

15 years agoanother couple of uninitalized variables get the axe.
Kent Mein [Mon, 27 Mar 2006 16:15:44 +0000 (16:15 +0000)]
another couple of uninitalized variables get the axe.

This is only to make things predictable until that section of the
code is finished.  Ton said it'd be a good idea to drop in in for now.


15 years agoMake editmesh edge length and face area drawing's precission proportonate to the...
Campbell Barton [Mon, 27 Mar 2006 14:57:53 +0000 (14:57 +0000)]
Make editmesh edge length and face area drawing's precission proportonate to the gridsize.
Needed when working with small models.

15 years agoneeded to normalize the plane for the manipulator.
Campbell Barton [Mon, 27 Mar 2006 08:52:28 +0000 (08:52 +0000)]
needed to normalize the plane for the manipulator.

15 years agoremoved 2 warnings from epydocs
Campbell Barton [Mon, 27 Mar 2006 08:34:06 +0000 (08:34 +0000)]
removed 2 warnings from epydocs

15 years agoSeperated out some functionality into 3 new functions.
Campbell Barton [Mon, 27 Mar 2006 08:25:06 +0000 (08:25 +0000)]
Seperated out some functionality into 3 new functions.
These functions are used by the manipulator to get data from an editselection. regardless of weather its a face/edge/vert.

15 years agoSynchronized Bullet physics to latest version.
Erwin Coumans [Mon, 27 Mar 2006 06:37:30 +0000 (06:37 +0000)]
Synchronized Bullet physics to latest version.

- Changed license from MIT to ZLib.
- Added 3D Sweep and Prune contribution
- More stable native constraint solver

Sorry for any inconvenience caused by this checkin.
All Blender buildsystems require update: added files and moved files.