Erwin Coumans
3a1b7ece40
updating Bullet 2.x with latest changes. The integration + C-API will follow at some stage.
2006-11-12 21:05:10 +00:00
Nathan Letwory
e71fc134fe
* have blenderplayer compile with Verse support enabled.
2006-11-01 05:43:05 +00:00
Erwin Coumans
92fd043346
update Bullet 2.x with latest changes, notice that the integration is not finished yet, and GameBlender is still using extern/bullet.
2006-10-31 18:19:57 +00:00
Nathan Letwory
45c1f23f19
Apply patch #5127 by Joseph Eagar (joeedh)
...
* This addresses the long command-line problem when building with SCons/MingW on windows through a dosbox (cmd.exe).
My test buildpath was: C:\Documents and Settings\nathan\My Documents\blender\build\win32-mingw
Should be rather long enough, don't you think?
/Nathan
2006-10-27 09:01:42 +00:00
Erwin Coumans
44d16f0562
Added refactored Bullet 2.x library. Important: these files are not part of the Blender build yet. First, the integration will be updated to make use of the new Bullet version. Then all build systems needs to be updated.
...
The refactoring didn't leave a single file the same, all filenames and classes have bt prefix, methodnames start with lowercase, a single headerfile can be included, and also a single include path.
Plan is to make use of this Bullet 2.x version in extern/bullet2 within the coming weeks, then extern/bullet can be discarded/ignored/content removed.
2006-10-23 02:54:30 +00:00
Nathan Letwory
980608af53
* remove -Wextra from makefile to make older compilers happy
...
* updated v_connection with version from Verse CVS for better unhandled unhandled-packet printing
2006-10-16 10:54:51 +00:00
Nathan Letwory
b2a8417fce
Add Verse master-server functionality
...
* added two files from verse-master
* server list is available in outliner (new mode "Verse Servers")
* verse sessions are now also in new mode "Verse Sessions" in outliner
* fixed drawing of verse sessions and their nodes
* in user preferences System & OpenGL master-server ip setting (default master.uni-verse.org)
* in File>Verse entry "Get Servers" to get server list or
* RMB on "Available Verse Servers" in outliner to "Refresh" server list
Enjoy :)
2006-10-12 11:53:50 +00:00
Nathan Letwory
1266234202
* remove the .Append(LIBS = ['libverse']), since it confused the build system.
...
* removed unused options BF_VERSE_LIBPATH, BF_VERSE, BF_VERSE_LIBS, since they are not used at all.
* some whitespace mods
There should be no more issues with "libverse.lib" not being found (or anything like
that).
2006-10-11 07:28:37 +00:00
Andrea Weikert
0f497dea2b
==== MSVC 7 project files ====
...
- added vs_master.c to verse_server project
- added dependency on verse to verse_server project
- cleanup of object file name in verse_server project
2006-10-03 21:44:18 +00:00
Nathan Letwory
1c1283198b
* fix small bug in creation of verse server executable (path)
...
* remove debug printouts
2006-10-03 12:22:56 +00:00
Nathan Letwory
859ea2fc01
* make verse compile with new verse release
...
* added -src/-dst patch from Emil (on my request - is already in verse CVS)
2006-10-03 11:33:41 +00:00
Jiri Hnidek
9726cdc493
- I forgot to add new file to cvs repo during my last commit, I'm sorry
2006-10-03 11:09:58 +00:00
Jiri Hnidek
b62927b85c
updated verse to version r6p1
2006-10-02 13:29:17 +00:00
Andrea Weikert
230b1a85d7
=== MSVC 7 project files ===
...
- small fix of a few output paths
2006-10-01 14:30:14 +00:00
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