Commit Graph

394 Commits

Author SHA1 Message Date
Andrea Weikert
0b7e25d3bd === MSVC 7 project files ===
- added verse support
- verse library and server are compiled with the extern solution
- note: verse server still misses icon, VS2003 refuses to add the currently provided icon
2006-09-30 14:31:27 +00:00
Andrea Weikert
857f7a66fa ==== MSVC 7 project files ===
maintenance work:
- added missing files in blenkernel
- updated Bullet in extern
- Python: SurfNurb.c
- removed compile and dependency of PHY_Ode
- made blenderplayer compile again (had to add pthreads lib)
2006-09-17 17:55:57 +00:00
Erwin Coumans
ed064df60b fixed bug in contact manifold generation, concave and compound objects require point with deepest penetration. 2006-09-05 04:16:35 +00:00
Chris Want
7970da34ed 'Better' cleaning for bullet (trickier to clean than most, since it is two
libraries split among many subdirectories).
2006-09-01 22:00:29 +00:00
Erwin Coumans
5c24f4a989 updated aabb calculation 2006-08-30 22:35:03 +00:00
Jens Ole Wund
653a35b267 msvc6 still builds :) 2006-08-30 07:43:54 +00:00
Erwin Coumans
bf49ff5050 Got a license from Intel for VTune, thanks! First performance analysis showed unexpected slowdown due to island management. Added path-compression to UnionFind, and iterate just over island-id's, rather then all objects, when filling islands. 2006-08-29 23:27:27 +00:00
Nathan Letwory
9123507c2e Patch #4043 Bullet scons fix (Joseph Eagar, aka joeedh)
* This is a simplified SConscript for Bullet building. It should keep itself better
 up-to-date since it uses env.Glob(). Tested to work on Linux and Windows (both mingw and vc)

/Nathan
2006-08-28 08:52:39 +00:00
Erwin Coumans
6ce5d97c56 upgraded Bullet rigidbody physics to latest version 1.9 2006-08-28 06:44:29 +00:00
Nathan Letwory
7fd8ce8156 * Patch #4909 by Joseph Eagar (joeedh)
- this patch adds verse support for SCons, which can be enabled by
    giving WITH_BF_VERSE=1, ie. on command-line
  - this patch also adds a custom lib dir possibility. From the patch description:


 "To set a custom ../lib dir, put LCGDIR="path to lib dir, including the platform folder name!" in your user-config.py."

* Fixed win32-vc-config.py so that it links to the proper library. Reported by Brandano.
2006-08-22 13:04:07 +00:00
Jiri Hnidek
91c9917bc0 - bug fix of verse server and verse library backported from verse cvs 2006-08-22 11:10:31 +00:00
Jiri Hnidek
92077aa9dc added verse library (release r6) to extern directory 2006-08-20 16:09:03 +00:00
Jiri Hnidek
2ee42ac01e Huge commit: VERSE
- All code is in #ifdef ... #endif
 - Only make build system is supported and you have to add:
    export WITH_VERSE=true
   to user-def.mk file
 - Blender can share only mesh objects and bitmaps now
 - More informations can be found at wiki:
    http://mediawiki.blender.org/index.php/BlenderDev/VerseIntegrationToBlender
    http://mediawiki.blender.org/index.php/BlenderDev/VerseIntegrationToBlenderUserDoc

  I hope, that I didn't forget at anything
2006-08-20 15:22:56 +00:00
Kent Mein
6c89868386 Adds scons support for SunOS...
(I have one small problem with linking python's static library but
other than that this should work)

Kent
2006-08-03 02:46:37 +00:00
Erwin Coumans
3b1a592fb7 debug lines / register the applied impulse for constraint (for breaking) 2006-07-03 05:58:23 +00:00
Peter Schlaile
9be8517ca3 == FFMPEG ==
Merge conflict indicators left... arghh.
2006-06-25 19:16:45 +00:00
Peter Schlaile
347df56270 == FFMPEG ==
Added Cygwin / mingw default location also
2006-06-25 19:15:50 +00:00
Peter Schlaile
3f34e2a180 == FFMPEG ==
Added extern/ffmpeg.
Gets only build on WITH_FFMPEG=true and NAN_FFMPEG = LCGDIR/ffmpeg.
2006-06-25 18:25:36 +00:00
Kent Mein
43b0fb0b09 When I made solid and qhull not build when not needed I switched their
order around.  solid depends on qhull headers so this fixes it.
(you would only notice if you did not have the qhull headers in blender/../lib)

Kent
2006-06-23 16:35:44 +00:00
Joseph Gilbert
3851ea07d4 *msvc project update
- commiting fixes for vc8
- updating projects for added files
2006-06-23 15:25:57 +00:00
Erwin Coumans
ce0436fb01 bugfix: tau/damping not linked up, this allows for solving some physics setup problems 2006-06-23 00:34:59 +00:00
Erwin Coumans
cd5a7fbe84 workaround for a irregularity/bug in physics system (happens very seldom, just 1 report so far, linear velocity/AABB becomes NaN) 2006-06-22 01:10:50 +00:00
Erwin Coumans
c570e2dc0b clarified text to catch some rare collision issue 2006-06-21 20:35:06 +00:00
Kent Mein
ad388f6a39 small fix to make it so solid and qhull are not build if not needed.
Got the go ahead on #blendercoders, Erwin if you need my address to
hunt me down I'll email it to you. ;)

Kent
2006-06-21 15:27:49 +00:00
Erwin Coumans
4201a0bfcf bugfix: removing constraints should activate rigidbodies. 2006-06-20 05:41:28 +00:00
Erwin Coumans
a29ed091d6 bugfix/workaround for problem with hard-coded collision margins being too large. (part2) 2006-06-18 22:13:45 +00:00
Erwin Coumans
06bf1cddec Bulllet bugfix, assignment rather then test 2006-06-17 14:41:00 +00:00
Erwin Coumans
292ef64e3e fixed synchronisation problem with (kept on loosing this documentation bit when merging from Blender -> Bullet) 2006-06-17 14:19:59 +00:00
Erwin Coumans
9b79c57f38 fixed Bullet bug: constraints didn't merge simulation islands. 2006-06-17 13:55:59 +00:00
Jens Ole Wund
bddc22e01c MSVC6
Defensive way not to interfere with other (crystal) build systems
so .. i can maintain building bullet for blender on MSVC6 without spitting in
the "whateverbulletteamthinkstobenice" soup
2006-06-16 22:06:22 +00:00
Jens Ole Wund
1d5136f57e bullet + GE happy on msvc6 again :)
phew .. setting 'include pathes'  in VS6 is real pain
2006-06-15 21:22:22 +00:00
Erwin Coumans
986f999671 try to catch error/ freezing reported on OSX 2006-06-15 13:39:05 +00:00
Erwin Coumans
3458ed4753 Bullet, bugfix: don't simulate when substeps are set to 0 2006-06-12 18:47:56 +00:00
Ken Hughes
a57bb6bee1 Bugfix #4081: support for OpenBSD platform for scons. Big thanks to Nathan Houghton for this contribution. 2006-06-05 15:52:26 +00:00
Erwin Coumans
2c9214bcc9 improved GJK accuracy for large objects 2006-05-23 22:35:31 +00:00
Erwin Coumans
ab71e2a9b5 -added basic support for GameActuator 'load game', relative paths were broken, just load file into memory and load blend from memory.
-near sensor support
- python binding for PhysicsConstraints.setNumTimeSubSteps (dividing the physics timestep to tradeoff quality for performance)
2006-05-22 21:03:43 +00:00
Erwin Coumans
bf38cf6f80 Bullet: added per-contact point user-cache, + callback. This allows Collision Detection to be used more generically, and still have persistent info stored, like contact constraints.
Bullet: added support for restitution
2006-05-19 20:20:46 +00:00
Joseph Gilbert
3be8e53c10 update to msvc7 projectfiles 2006-05-13 14:46:48 +00:00
Erwin Coumans
ede20c166a - Charlie provided a work-around for some armature related crashes
- fixed some Bullet raycasting (hitfraction was not properly updated for static meshes)
- removed some cvs tags in Bullet's BMF _Font files (they keep on conflicting when duplicated in different repositories)
- set default linearsleepingtreshold explicitly
2006-05-11 17:58:23 +00:00
Erwin Coumans
66f0950d34 fixed raycasting related issue 2006-05-11 02:14:48 +00:00
Erwin Coumans
93c47e1071 - Added support for kinematic objects (interaction between rigidbodies), deriving linear/angular velocity from previous transform/current transform and deltatime.
- Made another attempt to migrate from Sumo to Bullet: import of older files automatically switch to Bullet, but you can override it, and save the file in 2.42 version. then it stays Sumo physics.
2006-05-11 00:13:42 +00:00
Erwin Coumans
1567254b12 (experimental) logic timestep to 60hertz instead of 30 hertz. 2006-05-10 02:04:21 +00:00
Erwin Coumans
d66d173c20 fixed 2 physics related bugs (friction had a typo, and jacobian calculation too) 2006-05-09 19:03:26 +00:00
Erwin Coumans
e19fcdc670 fixed Bullet raycasting filtering issue 2006-05-09 01:15:12 +00:00
Erwin Coumans
43b3256be4 missing commit. this profiling is disabled in Blender, but the headerfile is needed. 2006-04-28 01:49:03 +00:00
Erwin Coumans
f51d1ef7d6 - fixed Bullet noResponse/ghost mode
- added ccd option (future use, very basic and inefficient)
- some internal Bullet refactoring/improvements
2006-04-28 00:08:18 +00:00
Erwin Coumans
f9597df32d added Bullet rigidbodies that behave like Sumo 'dynamic', without rotations. Done using a special hinge constraint (no translational degrees of freedom removed) 2006-04-26 06:01:46 +00:00
Erwin Coumans
45d0123a59 fixed several internal Bullet rigidbody dynamics bugs:
- broadphase had bugs in removing objects,
- persistent manifold renamed value,
- cylinder penetration depth fixed,
- memory leak for persistent manifold
2006-04-26 03:20:28 +00:00
Erwin Coumans
8291024b99 fixes in raycasting 2006-04-24 04:58:37 +00:00
Erwin Coumans
d1c0a4e6d1 use ContinuousConvexCollision for raycaster, fixes raycast problems 2006-04-23 18:42:17 +00:00
Joseph Gilbert
f54a113cde Update to the VC7 projectfiles.
This should bring the projectfiles upto date for msvc7.

Moving these to version 7.1 so that the version 8 people don't have such a hard time importing into 2005.

Build intern.sln, extern.sln and then blender.sln. Enjoy. :p
2006-04-17 20:05:39 +00:00
Erwin Coumans
904a0792f7 Bullet physics: fixed some accuracy problem (square length should be compared to square epsilons), and more collision sensor work + deactivation issues 2006-04-17 06:27:57 +00:00
Erwin Coumans
971ee74c84 added support for 'Ghost' object and collision sensor (preliminary) 2006-04-17 01:33:10 +00:00
Chris Want
176641b273 ==Something very minor==
To get blender to build I needed to comment out:

#include "NarrowPhaseCollision/EpaPenetrationDepthSolver.h"

Erwin, please check.
2006-04-16 19:34:49 +00:00
Erwin Coumans
187cc0a5fe enabled ipo in combination with physics (no friction effect from kinematic to dynamic transferred yet) 2006-04-14 04:03:56 +00:00
Erwin Coumans
80313105d9 don't use Epa yet 2006-04-13 14:41:18 +00:00
Erwin Coumans
13e0d22d89 a lot of work in a few small changes to improve penetration depth. and some fixes in shaders from Charlie. 2006-04-13 05:11:34 +00:00
Erwin Coumans
8dbe14b70b applied Charlies patch, reverted some GLSL shader stuff, improved penetration depth estimate. 2006-04-11 05:57:30 +00:00
Erwin Coumans
e9d4518c3a finished RemoveHandle implementation 2006-04-11 02:48:34 +00:00
Erwin Coumans
67be335566 fixed a lot of GCC 4.0 warnings. 2006-04-08 13:05:22 +00:00
Erwin Coumans
1a363c619a added HingeConstraint.cpp to SConscript 2006-04-06 21:58:46 +00:00
Erwin Coumans
84d27d74cb added hinge constraint support to Bullet physics 2006-04-06 20:37:38 +00:00
Erwin Coumans
bb23675a9f fixed two issues that hinder linux build 2006-04-05 02:01:34 +00:00
Erwin Coumans
9d41401d93 improved some Bullet Dynamics, related to friction/contact constraints. 2006-04-04 22:26:11 +00:00
Erwin Coumans
cf2f1956de fixed a crashing bug in new vehicle physics, and removed some debugging code in contact/friction physics code. 2006-04-02 20:15:24 +00:00
Erwin Coumans
36fd42ac85 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)
2006-04-01 03:30:15 +00:00
Erwin Coumans
6f4ff97091 fixed vehicle related issue (re-enabled them) 2006-03-30 06:08:41 +00:00
Erwin Coumans
e8ce63fcf9 more physics work: fixed some deactivation bug, improved contact constraint stability and friction (lower the number of iterations). 2006-03-29 03:11:30 +00:00
Erwin Coumans
6f974329ca disabled restitution in the new iterative contact constraint. 2006-03-28 20:55:44 +00:00
Erwin Coumans
7c68db9bb7 fixed scons build for moved and added file. 2006-03-28 20:18:14 +00:00
Erwin Coumans
af9573e9ea 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.
2006-03-27 06:37:30 +00:00
Kent Mein
97a4e4f88d a bunch of small warnings fixes:
newline missing at end of file fixes:
TypedConstraint.h WheelInfo.h RaycastVehicle.h VehicleRaycaster.h
CcdPhysicsEnvironment.cpp

radiance_hdr.c fixed the following warning by changing type of local variable:
radiance_hdr.c:357: warning: pointer targets in passing argument 3 of
‘fwritecol rs’ differ in signedness

edgeRender.c,edgeRender.h same thing changed type of local vars to get rid
of warnings about signedness

RAS_OpenGLRasterizer.cpp removed unused variable unit line 1295

Kent
2006-03-24 16:40:32 +00:00
Jens Ole Wund
ca6aca0c07 restoring minimum debug build on msvc6 projects
-no GE
-no OpenExr / hum.. may be that's why storing a PNG does not crash
2006-03-14 08:49:41 +00:00
Nathan Letwory
b4505d32dc ==SCons==
* WITH_BF_GAMEENGINE=0 implicitely means WITH_BF_BULLET=0 now
2006-03-01 09:15:50 +00:00
Jens Ole Wund
4e6d43a2cb msvc6 projects building debug 2006-02-28 09:07:13 +00:00
Jens Ole Wund
a040e208ee mscv6 projects again
no GE right now ( need to adapt to erwins file reshuffle
so may be i wait a bit until he has his mind made up )
elbeem is running when you remove the extra std:: at some places
well the msvc6 preprocessor is not very smart
--> std:: is not a member of std:: :)
so i guess there is a "using namespace std" somewhere
2006-02-28 08:31:33 +00:00
Kent Mein
fa1129dc1d converted sqrtf to SimdSqrt Solaris has no sqrtf.
Kent
2006-02-25 13:43:15 +00:00
Nathan Letwory
9202ec2cad ==SCons==
* compile game-engine libs only when actually enabled
2006-02-24 18:55:44 +00:00
Erwin Coumans
c2782ce10e added 'disable sleeping' option for rigidbodies. + bugfix of out of sync wheels for vehicle 2006-02-22 06:58:05 +00:00
Chris Want
957832ecf1 Trying to get the bullet re-org to work with Makefiles. 2006-02-21 20:45:20 +00:00
Erwin Coumans
02dc8de55d included WheelInfo headerfile rather then forward declare (gcc stl container needs actual class information) 2006-02-21 07:33:19 +00:00
Erwin Coumans
e3b840d086 exposed a few more tuning paramters 2006-02-21 07:08:23 +00:00
Erwin Coumans
e4d8bd5984 added vehicle specific files + updated scons file (Makefile/projectfiles need updating) 2006-02-21 06:08:58 +00:00
Erwin Coumans
730c02f3fe updated scons file, case-sensititivy problem fixed 2006-02-21 05:57:46 +00:00
Erwin Coumans
90e5a9aa14 Reorganized Bullet physics files, added preliminary vehicle simulation files (disabled).
Requires some changes to projectfiles/makefiles/scons, for the added and removed files!
2006-02-21 05:36:56 +00:00
Erwin Coumans
11d253594f allow typed constraints (for future hinge/vehicles etc) 2006-02-13 06:37:34 +00:00
Erwin Coumans
f55e45f855 more vehicle preparation and some bullet collision detection bugfixes (related to collision margin) 2006-02-13 06:28:35 +00:00
Nathan Letwory
ef1b7a5735 ==SCons==
+ 'scons blenderplayer' builds blender AND blenderplayer now (tested on Linux
  only, but was only linking issue, so should work on other platforms too).

  NOTE: I noticed some compileflags for GE specific libs that were left out -
  I re-enabled them in the SConscripts, but I'm going to do a test build my-
  self now, so if there are problems with them on win32, I probably already
  know about them :)
2006-02-07 21:24:36 +00:00
Nathan Letwory
d7e5f37172 ==SCons==
* Fix typo in bullet SConscript
* win32-vc now copies all necessary files to BF_INSTALLDIR, including dlls
2006-02-05 18:48:01 +00:00
Nathan Letwory
631a8d85d4 * WITH_BF_GETTEXT and WITH_BF_FREETYPE are merged into WITH_BF_INTERNATIONAL
* typo in adding BF_OPENAL_LIBPATH, resulting in it not being added at all
2006-02-05 12:24:52 +00:00
Nathan Letwory
3bb82a27fc == SCons ==
* This commit is all of the rewrite work done on the SCons system. For
  documentation see doc/blender-scons.txt and doc/blender-scons-dev.txt.
  Also http://mediawiki.blender.org/index.php/BlenderDev/SconsRefactoring
  contains valuable information, along with what still needs to be done.

    - linux, os x and windows compile now.
    - files are compiled to BF_INSTALLDIR (see config/(platform)-config.py)
        - NOTE: Jean-Luc P will commit sometime during the weekend proper
          appit() for OS X. For now, copy the resulting binary to an
          existing .app bundle.
    - features:
        - cleaner structure for better maintenance
        - cleaner output during compile
        - better handling of build options
        - general overall speed increase
        - see the wiki for more info

  Cygwin, FreeBSD and Solaris systems still need work. For these systems:
    1) copy a config/(platform)-config.py to ie. config/cygwin-config.py
    2) set the proper defaults for your platform
    3) mail me at jesterking at letwory dot net with you configuration. if
       you need any modifications to the system, do send a patch, too.

  I'll be giving first-aid today and tomorrow, after that it'll be all
  regular development work :)

  /Nathan
2006-02-04 14:15:10 +00:00
Kent Mein
8e9222ec21 More simple fixes to cleanup warnings and what not:
extern/bullet/BulletDynamics/ConstraintSolver/SimpleConstraintSolver.h
        added newline at end of file.
 intern/boolop/intern/BOP_Face2Face.cpp
        fixed indentation and had nested declarations of a varible i used
                for multiple for loops, changed it to just one declaration.
 source/blender/blenkernel/bad_level_call_stubs/stubs.c
        added prototypes and a couple other fixes.
 source/blender/include/BDR_drawobject.h
 source/blender/include/BSE_node.h
 source/blender/include/butspace.h
 source/blender/render/extern/include/RE_shader_ext.h
        added struct definitions
 source/blender/src/editmesh_mods.c
 source/gameengine/Ketsji/KX_BlenderMaterial.cpp
 source/gameengine/Ketsji/KX_ConvertPhysicsObjects.cpp
 source/gameengine/Ketsji/KX_RaySensor.cpp
        removed unused variables;
 source/gameengine/GameLogic/Joystick/SCA_Joystick.cpp
        changed format of case statements to avoid warnings in gcc.

Kent
2006-01-30 19:59:33 +00:00
Tom Musgrove
5953857f92 ==warnings cleanup==
killed off some newline warnings in bullet
2006-01-29 06:04:13 +00:00
Chris Want
635224802e The extern/bullet from HEAD is needed to compile the gameengine in
orange
2006-01-28 17:25:03 +00:00
Erwin Coumans
1332091dc2 bullet in the orange branch seems to be merged incorrectly. updated to the latest version 2006-01-11 06:24:18 +00:00
Ton Roosendaal
e7285229b8 Tuesday merger of bf-blender into orange branch. 2006-01-10 22:10:14 +00:00
Kent Mein
39fcd3586f Lots of stupid warning fixes:
Added newlines at end of a bunch of files that didn't have them.
removed a couple of unused variables and an extra ';'
(Also removed config.h crap from these files)

Kent
2006-01-05 23:10:54 +00:00
Joseph Gilbert
700ff0193b *msvc7 update
- added bullet files to project
- fixed compiler path on bBullet project
2006-01-03 16:19:36 +00:00
Erwin Coumans
bab1b90edc more game engine bug-fixes, hooked up 'formfactor' as inertia tensor tweaker, friction/restitution, more scaling related fixes. 2005-12-31 21:59:56 +00:00
Erwin Coumans
9119b6e8a5 Fixed several bugs: python refcounting related and Bullet related (basic add/remove object support, bounding volume hierarchy). Added a few files, updated the Bullet scons. Vc6/7 Bullet projectfiles need to add a couple of files: 'Bullet/CollisionShapes/BvhTriangleMeshShape.cpp',
'Bullet/CollisionShapes/ConvexTriangleCallback.cpp',
'Bullet/CollisionShapes/EmptyShape.cpp',
'Bullet/CollisionShapes/OptimizedBvh.cpp',
'Bullet/CollisionShapes/TriangleCallback.cpp',
'Bullet/CollisionShapes/TriangleIndexVertexArray.cpp',
'Bullet/NarrowPhaseCollision/ManifoldContactAddResult.cpp'.
Sorry, no armatures fix yet.
2005-12-31 07:20:08 +00:00
Hans Lambermont
f0e7d21793 - include path and file changes for FreeBSD 2005-12-27 20:37:15 +00:00
Jens Ole Wund
66a0ebcbe0 adding some msvc6 magic to bullet part 1 2005-11-16 23:37:02 +00:00
Jens Ole Wund
e25b7c519e special service for msvc6 projects
post build step for booleans --> copy boolop.lib to lib folder _foo_/lib/windows..

enabeling bullet for GE
wants to link with _foo_/lib/windows/bullet/lib/bullet3.lib
you have to build it with continuous.dsw in exten/bullet and copy it manually there
since bullet is exten i think no automagic in place here
2005-11-11 20:15:16 +00:00
Erwin Coumans
281f236e6e Minor changes in Bullet:
- on Ton's request use double versions of cos,sin,tan, sqrt etc.
just like Solid in MT_Scalar #if defined (__sun) || defined (__sun__) || defined (__sparc) || defined (__APPLE__)
- updated an url in the header of files
2005-10-30 06:44:42 +00:00
Erwin Coumans
745fc2f9d0 updated SConstruct and Makefile so that if you compile the gameengine, is always enables bullet, independent of sumo/ode.
So for the 2.4 release, both bullet AND sumo will be enabled. You can choose in the world buttons which physics engine is active for a scene.

sorry if this breaks your builds!
2005-10-23 17:55:19 +00:00
Ton Roosendaal
d8fe530797 Ftgl patch for texture fonts got lost... somehow. That made them much
slower than pixmap fonts. Test on buttons window CTRL+ALT+T timer shows it
goes down from 2500 to 100 on this commit. :)
2005-09-26 18:47:50 +00:00
Erwin Coumans
bbffe9b5b2 added some get methods and stuff 2005-09-06 16:45:48 +00:00
Erwin Coumans
92731af84f support for __MINGW32__ compiler, it doesn't have __forceinline 2005-08-18 17:32:25 +00:00
Chris Want
4a50f5b593 Support for 'Bullet' in the Makefiles. Enable with:
export NAN_USE_BULLET=true

in environment, or in user-def.mk
2005-08-18 06:07:02 +00:00
Erwin Coumans
c99c7fbcb3 some more fixes in the raycast/mouse over 2005-08-17 19:52:56 +00:00
Erwin Coumans
5ebc7c8bda added more debug text, enabled the bullet penalty solver, instead of ode solver by default, added a better demo. 2005-08-12 13:42:00 +00:00
Erwin Coumans
29f06ad76e some more work on bullet raycast 2005-08-08 17:08:42 +00:00
Erwin Coumans
66dc186fb6 fixed sphere shape, added non-uniform scaling (making it an ellipsoid)
removed bug-fixing comments
2005-08-05 22:10:27 +00:00
Erwin Coumans
b6d9fbf0db fixed the mouse-over sensor,
added raycast support for bullet (no triangle-mesh support, soon)
added python methods for 'getHitObject', getRayDirection, getHitPosition and getHitNormal for mouse over sensor,
which makes it easy for a shootout.blend demo :)
2005-08-05 17:00:32 +00:00
Erwin Coumans
210ab537ce improved deactivation, exposed more tweakable parameters to python,
fixed some copy/paste bug in inertia/inverse inertia.
colors in deactivation debug
2005-08-04 19:07:39 +00:00
Erwin Coumans
2cc6d565cb moved some hardcoded constants into tweaking tresholds
exposed those tresholds to python (more 'expert' settings)
2005-08-03 18:22:30 +00:00
Simon Clitherow
671235b69b Finalised support for compiling BULLET on linux.
Bullet is now off by default on all platforms until we get an OK
from Erwin. To enable it, change USE_PHYSICS to 'bullet' in your
config.opts.
2005-08-02 18:54:11 +00:00
Erwin Coumans
558b8daf67 added python binding for debugdraw,
tweaked friction, some more preparations but no real functionality added yet
2005-08-02 14:59:49 +00:00
Joseph Gilbert
292c03ab8e _.NET projectfiles update_
* converted files to .NET 2002
* removed unneeded projectfiles from bullet
* PHY_Bullet outputs to correct directories
* Bullet linked to activex and blenderplayer
* misc updates
2005-08-02 13:44:49 +00:00
Simon Clitherow
208da2a5d0 Added support for compiling BULLET with scons on windows
using bandoler's patch as a basis (thanks!).

A couple of notes:

-  This is for windows only, I did not have a chance to try linux yet.

-  SConscript for PHY_Bullet may need tweaking (plus support
 for other platforms), but at least it's in there :)

Any problems, shout :)
2005-08-01 21:19:41 +00:00
Erwin Coumans
49499c49be updated vc7 projectfiles so they work with bullet 2005-07-31 14:40:51 +00:00
Erwin Coumans
697b22cc41 updated testbed demo 2005-07-30 18:58:21 +00:00
Erwin Coumans
ed997ca8d2 more physics work, tuning parameters, hooking up friction etc. 2005-07-30 18:10:53 +00:00
Erwin Coumans
dad6ef9045 added physics-debugging
didn't check every single file, so might have broken some gameengine stuff, will fix it this weekend!
2005-07-29 18:14:41 +00:00
Joseph Gilbert
66c7f07280 _build environment for bullet physics_
- adds bullet projectfiles to the extern.sln build
(please rebuild extern.sln)
2005-07-28 18:29:18 +00:00
Erwin Coumans
b5ec3efeaf removed duplicate testing files 2005-07-28 12:21:55 +00:00
Erwin Coumans
411123b250 - added debug line drawing in gameengine (handy for debugging physics problems)
- added #ifdef for a visual studio 8 crashing problems
- added scaling and tolerances to triangle meshes
2005-07-27 09:30:53 +00:00
Erwin Coumans
16b76eb0ec added bandoler's SConscript file for Bullet 2005-07-23 15:06:45 +00:00
Erwin Coumans
f6024cfdac aCVS: ----------------------------------------------------------------------
added minkowskisum in the raytrace demo
update vc8 projectfiles
2005-07-22 16:46:15 +00:00
Erwin Coumans
e34b1b3276 added the Elsevier CDROM license to one file. This still allows to use the software for any purpose, commercial or non-commercial. 2005-07-20 10:19:43 +00:00
Erwin Coumans
2dbb9409df initialize simd quad in default constructor
this should not be necessary, its for testing
2005-07-19 04:11:47 +00:00
Erwin Coumans
701b9c21fd more preparations for bullet physics, and some eol issues with SCA_Joystick* 2005-07-18 05:41:00 +00:00
Erwin Coumans
9a26c98605 provided proper license for lcp solver 2005-07-17 10:07:46 +00:00
Erwin Coumans
feb4f51103 Added Bullet library.
Only windows projectfiles for now.
Will ask Hans to get unix makefiles done.
2005-07-16 09:58:01 +00:00
Rob Haarsma
9abdd362b7 Bugfix #2704
Modified bFTGL so the bitmaps supplied by the font itself aren't used.
Patch originally supplied by Shizu, somehow this was never added to
FTGL.

Be sure to build binaries with bFTGL, not the provided ftgl.lib from the
lib dir. (this one can be deleted afaic)
2005-06-06 14:42:50 +00:00
Jean-Luc Peurière
38202abff8 ccommented stuff in qhull geom.c with standard C comments not C++ ones 2005-06-05 13:46:28 +00:00
Jean-Luc Peurière
f38e0686d9 new round of warning fixes. we are now down to 24 with Xcode on blender
alone with the following flags :
-Wall -Wno-char-subscripts -Wno-missing-braces.

the only one still worrying me is in rand.c line 57 :

rand.c:57: integer constant is too large for "long" type

but i have no clue about how correct cross-compiler and 32/64 bits friendly

see also my mail to commiter list for signed/unsigned issues
2005-06-04 16:22:50 +00:00
Ton Roosendaal
884c94500b Another update on FTGL texture fonts drawing. Added the same floor() trick
to precisely align the glyphs to pixel coordinates as used in the Pixmap
version. It now looks fully identical here.
2005-05-11 21:09:13 +00:00
Nathan Letwory
bcd5d1c9ed * integrate bFTGL with Scons
* add some ENV = os.environ's here and there (help those who have msvc toolkit installed)

Note for OSX users: check from your config.opts the correct info for the precompiled ftgl lib is used.
2005-05-06 13:37:18 +00:00
Chris Want
6275dd5b14 Clean up for Makefiles: some of the directories were being printed
wrong (e.g., "/Fuzzics" and "/Joystick", and some of  the solid stuff).
This was particularly noticable during "make clean".
2005-04-09 22:40:34 +00:00
Joseph Gilbert
f49224137f - update to msvc7 projectfiles to accomodate recent file additions
- fixed bad path in extern project file
2005-03-30 05:19:33 +00:00
Joseph Gilbert
f33b71bcbd Removed freetype project from extern solution 2005-02-25 21:24:50 +00:00
Joseph Gilbert
61767b4f48 MSVC7 update and freetype2 source
- Added correct .libs to be linked to GP_Ghost
- Fixed incorrect library extensions for the linker (*.lib and not unix *.a)
- Projects have been set to be multi-threaded - projects were being linked to different versions of the CRT
- All projects are now linking to python 2.3 (this fixes an error regarding struct sizes in python)
- Removed invalid source paths from inclusion for the compiler
- Fix dependency issues with the GP_Ghost module
- Proper .dll's are now being copied to their respective locations for debug and release version of blender/blenderplayer
- Warnings have been set to level 2
- Import paths have been updated and organized for the compiler
- Duplicate import paths for the compiler have been removed
- Removed silly silly silly silly unix path-separators from window paths
- Post-Build scripts have been updated where neccessary (XCOPY is retatined)
- Fixed the output of various .lib files (PHY_Sumo and Yafray)
- PHY_Sumo now uses a .pch
- Removed #undef _DEBUG from debug builds :p
- FTF_Font is now contains a debug build and is being set to it's correct output path
- Blender/Blenderplayer/3DPlugin all linkto Debug libs where appropriate (instead of static release libs to avoid conflicts with the CRT)
- Python23_d.dll is now loaded into a true debug output of both blenderplayer and blender debug builds
- msvcrtd.dll is now loaded into a true debug output of both blenderplayer and blender debug builds
- Post-builds now clean up their mess
- ActiveX controller now builds
- BlenderPlayer now builds
- Internal libs now using .pch
- Moved the build directory from /blender/obj to ../build/msvc_7/  to follow precedence with scons builds
- Builds are now organized to follow precedence with scons builds with a /libs and a /intern /extern /source obj folders
- Set the proper build path for opennl
- Forcing BLO_loader source files to follow project defaults
- Added an 'extern' project that mimics the /make build of the 'intern' project
- Extern build includes solid and it's associated builds, ftgl, and freetype
- Added .vcproj files to /extern directory
- Added new extern.sln file to /extern directory
- All project now link to the built solid.lib from the extern project instead of lib/windows
- Removed uneeded XCOPYs commands from post-builds
- Added conditional Directory building to post-builds
- Freetype2 source commit (this is need for the building of a correct MFC linked version of the activeX controller as well as a correct release and debug build of the blender project)
- Ftgl is built and linked by the 'extern' project
- Intern/Extern project are now exporting their proper header files
- PHY_Physics is now linking to the correct set of header files (in build path not source)
- Makesdna builds object files into build directory now
- Projects are now ignoring the CORRECT versions of the CRT's  :)
- Renderconverter is now outputting it's obj file to it's own directory instead of /render
- Gen_system is now being built to ../kernel
- BL_src_cre is now being built to /creator
- *.exp and *.ilk are now being cleaned up from linkers
- Libpng.dll and zlib.dll are now being copied to the /bin
- MTDLL build are now available for the correct projects
- ActiveX 3D Plugin now links correctly to solid and freetype2
- Corrected the Preprocessor #define that was labeled incorrectly in FTF_Font and Blender that was causing the FTGL libs to export dll calling conventions.
- Changed the solution configurations to 3D Plugin Release, Debug and Blender Release, Debug for internal and external librarys
- Changed the solution configurations to 3D Plugin Release, Debug and Blender Release, Debug for blender and added 2 new solutions configurations BlenderPlayer Release, Debug
-
2005-02-20 21:33:11 +00:00
Kent Mein
8c4608bbf4 I updated the FREETYPE2 checks so it didn't build freetype stuff
if WITH_FREETYPE2 was set to false.

Also added/cleaned up source/nan_compile.mk NAN_NOKETSJI stuff a hair.

Kent
2005-02-18 16:52:03 +00:00
Rob Haarsma
465b15eb69 Modified FTGL for proper texturefont support.
Also fixed msvc6 (release only) projectfile to build and output correctly.
2005-01-21 14:43:21 +00:00
Kent Mein
26f63bfa19 Added bFTGL to extern and updated the Makefiles. I'm guessing there will
need to be tweaks but it seems to work on my linux box.  I haven't
touched any of the other build systems so those will need to be done.

We probably don't need all of this stuff but I figured better to add a little
too much then to little.

Kent
2005-01-21 05:15:33 +00:00
Ton Roosendaal
65d5d124d0 Makefile didnt copy files correctly, obviously because the nan_definitions
were not there...
2004-12-14 13:08:17 +00:00
Chris Want
12307b358d Making the C++ stuff work for the MipsPro 7.3 compiler.
Kester might want to check this for correctness
Kent might want to test if this breaks the Sun compile.
2004-11-23 23:04:30 +00:00
Jean-Luc Peurière
cd7b789907 more conservative default build options for OS X
O3 works thought on my system, but should not be set on reference releases
2004-11-14 14:38:03 +00:00
Kester Maddock
b3395edd2a Add new broad phase collision response to Solid: this will let us hook (and potentially reject) the detail phase. 2004-11-06 04:56:05 +00:00
Kent Mein
a731d22c3d Needed to include <math.h> on solaris for some odd reason for their
c++....   so I ifdefed it.

Kent
2004-11-01 14:25:34 +00:00
Kent Mein
4894785ed7 Cast 0 as unsigned int for sun's CC to get rid of this:
"BP_ProxyList.h", line 60: Error: Cannot use std::pair<BP_Proxy*, int> to initialize std::pair<BP_Proxy*, unsigned>.

Kent
2004-11-01 14:06:13 +00:00
Chris Want
83222e376e Make sure directory $(OCGDIR)/extern is created before building extern
stuff.
2004-08-21 19:12:59 +00:00
Hans Lambermont
0ce1304e1b Theodore Schundler's patches to add FreeBSD support to the scons build
system.
2004-08-15 18:09:37 +00:00
Jean-Luc Peurière
0b9cf9006a compile options for macos X builds 2004-07-27 20:31:03 +00:00
Ton Roosendaal
c1bb49ab16 Fixed OSX ranlib line, to match commented out part in make libs 2004-07-17 11:23:57 +00:00
Kester Maddock
5ff83fa2b8 One more cleanup for MSVC - need separation for debug/release because MSVC can't handle debug and optimisation flags at the same time. 2004-07-17 04:59:25 +00:00
Kester Maddock
e70045b548 Missed these two... 2004-07-17 02:50:15 +00:00
Kester Maddock
a57cd82e9f Remove all the autoconf stuff for QHull & SOLID and use the Makefiles.
This should make building Solid & Qhull much more reliable.
2004-07-17 02:44:24 +00:00
Simon Clitherow
21520c6c14 - updated VC6 project files for SOLID - blender now links with the
static solid lib.

- also cleaned up solid.dsw workspace (removed unused projects).
2004-07-13 21:52:23 +00:00
Kester Maddock
72493e41bd Compile fixes for gcc 3.4 2004-06-04 03:04:56 +00:00
Kester Maddock
15849ce3d2 Port closest points fix from tuhopuu - should return positive distance. 2004-05-16 13:13:41 +00:00
Kester Maddock
d5fde6c48b Added #!/usr/bin/python standard script identifier to the start of SConscript files.
Makes text editors identify SConscripts as Python, and syntax highlight properly.
2004-05-16 13:07:20 +00:00
Hans Lambermont
dd2a4a0249 extend clean target for qhull and solid 2004-05-14 20:40:56 +00:00
Jean-Luc Peurière
ac47d081c4 post 2.33 release commit of the modified SCons files for Os X.
Sconstruct modified so that Blender build on 10.3 without any additionnal
download than source + darwin libs.
defaults settings correct for 10.3.

fixed bug # 1260 : added MT_NDEBUG flag at top-level.
2004-05-08 01:34:39 +00:00
Kester Maddock
762b07f13d Enable doubles internally in Solid for the Makefile build system. 2004-05-05 04:12:53 +00:00
Chris Want
79f3e88021 Build blender with solid-based gameengine on irix using pre-compiled
libs. I turned off the automatic building of solid in extern/ for
irix since the vendor supplied build system does not work well.

Note to JW: this can be built with either mipspro 7.3 or 7.4
(I needed to archive solid with "CC -ar ..." for this to work
with 7.3).
2004-05-04 04:55:24 +00:00
Hans Lambermont
fb72b8d937 - build qhull and solid (next to ode) 2004-05-03 17:58:36 +00:00
Nathan Letwory
892720ffad [SCONS] Optimisation flags for msvc 2004-04-22 04:50:41 +00:00
Kester Maddock
aa5500680d Fix segfault on collisions between dynamic complex (polyheder) and dynamic convex (box/sphere/cone/cylinder) objects. 2004-04-17 00:56:54 +00:00
Nathan Letwory
b3a45ffbe5 correct path to qhull in extern. 2004-04-16 22:07:18 +00:00
Kent Mein
d204f77251 Added #if defined (__sparc) || (__APPLE__)
bits around sqrtf and friends.  ON these two platforms
they are overloaded so its just sqrt not sqrtf.

Kent
2004-03-31 17:01:45 +00:00
Nathan Letwory
00291b5cf4 [GameEngine] Commit all Kester's changes made to the gameengine to restore 2.25 like physics.
[SCons] Build with Solid as default when enabling the gameengine in the build process
[SCons] Build solid and qhull from the extern directory and link statically against them

That was about it.

There are a few things that needs double checking:

* Makefiles
* Projectfiles
* All the other systems than Linux and Windows on which the build (with scons) has been successfully tested.
2004-03-22 22:02:18 +00:00
Nathan Letwory
3081f4a635 - [SCONS] Added building of qhull and Solid from extern when selecting the Solid gameengine. The gameengine has not been updated with the Tuhopuu2 one, so it is not wise to do that yet. This is in preparation for that and won't effect the current build process. 2004-03-09 21:14:03 +00:00
Wouter van Heyst
f56eb94bab Work done to build blender on Linux [sparc64].
extern/ode/dist/ode/test/test_ode.cpp:
- Don't include <ieeefp.h> on sparc linux, it doesn't exist.

extern/ode/Makefile:
- While hacking on ode, get rid of that annoying infinite rebuild

source/Makefile:
- Define a default BINTARGETS (just blenderdynamic) for linux, individual archs
  can override/add to that if they so please

source/nan_link.nmk:
- Add a sparc64 arch target to the linux section of nan_link.mk, using the same
  options as powerpc

After the first ode problem, the build completed all but the linking of a
blender binary, because there wasn't any target defined!

On the rebuilding: The usersettings would have a newer date than targets
depending on it, so it would rebuild entirely. I haven't really fixed this, but
isolated it to the platforms where usersettings need to be moved around (darwin
and windows). FBSD patches the usersettings, so it might still happen there.  I
didn't bother with a proper fix, as it looks like we're moving to scons soon.
I'm amazed no one got annoyed enough before to take care of this.
2004-01-01 23:19:08 +00:00
Michel Selten
95732797bf Added the qhull sources to the repository.
These files are needed by Solid.
I left out the generated Windows .exe files. If needed later on, I'll add
them.
2003-12-06 19:17:13 +00:00
Michel Selten
581c0f232c Added the Solid 3.5 sources to the blender source tree.
This is a direct copy from the CD-ROM contents except for the generated
libraries for the Windows platform. If needed, I can add those later on.
(Those take up over 800 kb).
All files, including license files, documentation, examples and sources are
committed.
2003-12-06 19:02:42 +00:00
Wouter van Heyst
d81fcf73ff Multiline string literals are deprecated in gcc3.3, fixes build error 2003-07-05 11:27:50 +00:00
Wouter van Heyst
a6acb198a8 Sigh, OSX and ranlib again 2003-03-27 19:35:47 +00:00
Wouter van Heyst
6d5f1939a1 Ahum, ode does needs it's usersettings. (non-patching platforms didn't have it,
tried to be to smart)
2003-03-25 19:16:22 +00:00
Wouter van Heyst
dbb49fd378 - Build ode on OSX
- shuffle patching around
2003-03-25 14:39:19 +00:00
Hans Lambermont
ad625dd508 - fix 'debug' target
- add ID and copyrights to top level makefile
2003-02-17 16:51:16 +00:00
Frank van Beek
4eead02134 - create lib dir when compiling blender for windows 2003-01-26 10:19:06 +00:00
Wouter van Heyst
558b75b9d3 Create dist/lib so the build can create it's library as expected 2003-01-20 00:01:05 +00:00
Wouter van Heyst
7401ed64a9 Reenable the ode build on Linux 2003-01-19 22:30:56 +00:00
Hans Lambermont
016cca242f reshuffle the 'install' target :
- 'all' in extern/ first builds every subdir, then also 'install's the
  header files and the library. This way a top-level Makefile only needs
  to call 'all' for extern/ and have it build and install.
- 'clean' still works as it should
2003-01-19 21:17:45 +00:00
Frank van Beek
040797ba3d - ode now compiles and installs under MSVC / cygwin 2003-01-12 10:52:45 +00:00
Hans Lambermont
80acb04124 Enable automated build and install runs on FreeBSD for ODE.
ODE does not build on FreeBSD out of the box, so an automated patchfile
is included as well.
The 'clean' target reverses the patches that were done by 'all'.
2003-01-11 23:20:10 +00:00
Hans Lambermont
97fece8cde Build and install ode in lib/<platform>
Only enabled for Linux now, and not even tested yet :-P (what do you
mean 'in a hurry' ;-)
2003-01-11 19:14:34 +00:00
Hans Lambermont
080dd299d6 - use ODE in lib/ for FreeBSD
- use default python library path
- remove obsolete SSR comments
2003-01-04 20:20:54 +00:00
Maarten Gribnau
c2d3cb6af0 Another small fix to ode:
Added a debug target to the Makefile to get a debug Blender to build
Maarten (mail@maartengribnau.com)
2002-11-04 21:55:48 +00:00
Maarten Gribnau
c21d639735 Changed the OSX config file so that it compiles on OSX 10.2
Checked against a fresh version from the ODE CVS and found that the problem was
not fixed there as well so I felt free to commit it here.
Maarten (mail@maartengribnau.com)
2002-11-04 20:32:30 +00:00
Kent Mein
01bff70383 fixed spacing in the headers to get rid of some warnings and some other
little minor spacing issues.
2002-10-30 02:07:20 +00:00
Norman Lin
bdad961ce3 checkin of ODE library. Do not modify the ODE source code; instead, follow the
development of ode at http://q12.org and periodically copy the q12.org ODE
sourcecode into this tree to update the Blender ODE.

This ODE has not been changed from q12.org and is provided here merely as a
convenience to Blender developers.
2002-10-18 15:02:02 +00:00