blender.git
10 years agoSetting ignore_deprecation_warnings as 1 by default in GamePlayer
Dalai Felinto [Fri, 3 Apr 2009 03:52:19 +0000 (03:52 +0000)]
Setting ignore_deprecation_warnings as 1 by default in GamePlayer
(in the embed BGE it is still 0)

10 years agomade grease pencil delete a frame if you delete all the strokes in it.
Joseph Eagar [Fri, 3 Apr 2009 03:16:31 +0000 (03:16 +0000)]
made grease pencil delete a frame if you delete all the strokes in it.

10 years agoBGE Python
Campbell Barton [Fri, 3 Apr 2009 02:16:56 +0000 (02:16 +0000)]
BGE Python
- Bugfix for running dir() on all BGE python objects. was not getting the immediate methods and attributes for each class.
- Use attributes for KX_Scene (so they are included with dir())
- Override __dict__ attributes for KX_Scene and KX_GameObject so custom properties are included with a dir()

10 years agoScript written for apricot, poly reduces based on known topologies, keeping edge...
Campbell Barton [Thu, 2 Apr 2009 11:30:27 +0000 (11:30 +0000)]
Script written for apricot, poly reduces based on known topologies, keeping edge loops unlike edge collapsing poly reduction.
Example
http://www.graphicall.org/ftp/ideasman42/unsubsurf.gif

10 years ago[#17963] NearSensor segmentation fault
Campbell Barton [Thu, 2 Apr 2009 08:33:45 +0000 (08:33 +0000)]
[#17963] NearSensor segmentation fault
bugfix in bullet
Caused by using the index from closestAxis4 before checking its -1

10 years ago[#18472] [patch] Speeding up Blenderplayer's profile drawing
Campbell Barton [Thu, 2 Apr 2009 06:59:27 +0000 (06:59 +0000)]
[#18472] [patch] Speeding up Blenderplayer's profile drawing
from Mitchell Stokes (moguri)

10 years ago[#18477] Prevent .svn directories being included in OS X app bundles
Campbell Barton [Thu, 2 Apr 2009 06:46:56 +0000 (06:46 +0000)]
[#18477] Prevent .svn directories being included in OS X app bundles
from James Crosby (sheep)

10 years ago[#18452] Particle children API for python.
Campbell Barton [Thu, 2 Apr 2009 06:39:09 +0000 (06:39 +0000)]
[#18452] Particle children API for python.
from Alberto Santos (dnakhain)

"This patch adds a few new variables relationated with Particle System children such as children amount, render amount,
child clumping..."

10 years agoAdded getitem/setitem access for KX_GameObject
Campbell Barton [Thu, 2 Apr 2009 05:38:05 +0000 (05:38 +0000)]
Added getitem/setitem access for KX_GameObject
ob.someProp = 10
can now be...
ob["someProp"] = 10

For simple get/set test with an objects 10 properties, this is ~30% faster.

Though I like the attribute access, its slower because it needs to lookup BGE attributes and methods (for parent classes as well as KX_GameObject class).

This could also be an advantage if there are collisions between new attributes added for 2.49 and existing properties a game uses.

Made some other small optimizations,
- Getting and setting property can use const char* as well as STR_String (avoids making new STR_Strings just to do the lookup).
- CValue::SetPropertiesModified() and CValue::SetPropertiesModified(), were looping through all items in the std::map, advancing from the beginning each time.

10 years agoBGE API cleanup: ReplaceMeshActuator mesh attributes now returns a KX_MeshProxy....
Benoit Bolsee [Wed, 1 Apr 2009 08:59:36 +0000 (08:59 +0000)]
BGE API cleanup: ReplaceMeshActuator mesh attributes now returns a KX_MeshProxy. Fix a bug in KX_MeshProxy where the Python type was not set right.

10 years ago[#18479] 'Consolidate into one image' does not calculate/use 'pixel margin'
Campbell Barton [Wed, 1 Apr 2009 07:13:55 +0000 (07:13 +0000)]
[#18479] 'Consolidate into one image' does not calculate/use 'pixel margin'
Thanks to Dusan Stevanovic for pointing out the fix.

Also noticed alpha wasn't being rendered, enabled texface alpha.

10 years ago[#18478] Unwrap (smart projections) should accept values grater than 0.25 for island...
Campbell Barton [Wed, 1 Apr 2009 02:02:26 +0000 (02:02 +0000)]
[#18478] Unwrap (smart projections) should accept values grater than 0.25 for island margin (it works just fine when changed in original script)

increased value as suggested.

10 years agoClean up for the imminent migration from SVN to GIT.
Guillermo S. Romero [Tue, 31 Mar 2009 22:34:34 +0000 (22:34 +0000)]
Clean up for the imminent migration from SVN to GIT.

10 years agoBGE API cleanup: DynamicActuator, ReplaceMeshActuator, TrackToActuator.
Benoit Bolsee [Tue, 31 Mar 2009 21:03:15 +0000 (21:03 +0000)]
BGE API cleanup: DynamicActuator, ReplaceMeshActuator, TrackToActuator.

10 years ago[#18455] The new FFMPEG version gives the wrong color
Martin Poirier [Tue, 31 Mar 2009 19:39:17 +0000 (19:39 +0000)]
[#18455] The new FFMPEG version gives the wrong color

ffmpeg format switched from RGBA32 to BGR32, it's no longer needed to swap color planes.

NOTE: this commit also attempts to fix the big endian case, but since I don't have a machine to test it, I'd appreciate if someone else would.

10 years agoBGE API cleanup, patch from Moguri: RaySensor, NetworkMessageActuator, NetworkMessage...
Benoit Bolsee [Tue, 31 Mar 2009 19:02:01 +0000 (19:02 +0000)]
BGE API cleanup, patch from Moguri: RaySensor, NetworkMessageActuator, NetworkMessageSensor.

10 years ago== etch-a-ton ==
Martin Poirier [Tue, 31 Mar 2009 14:29:58 +0000 (14:29 +0000)]
== etch-a-ton ==

Correct joint-guided roll to use the previous bone, not the following (that was silly). Also made first bone use view axis (since it has no previous), this is much nicer that using rotation correction only. Using the joint roll option makes it MUCH more orientation independant.

11 years ago[#18473] SCons build fails when linking blender when WITH_BF_OGG enabled
Campbell Barton [Tue, 31 Mar 2009 08:13:21 +0000 (08:13 +0000)]
[#18473] SCons build fails when linking blender when WITH_BF_OGG enabled
fix for linking on linux

11 years ago[#18439] Controlling the bevel shape for a text object with a curve no longer works.
Campbell Barton [Tue, 31 Mar 2009 06:22:25 +0000 (06:22 +0000)]
[#18439] Controlling the bevel shape for a text object with a curve no longer works.
own fault, broke rev16702.
Curves created by fonts didnt have their radius set. Forgot do do this when making radius calculated with the curve (like tilt)

11 years ago[#18277] Segfault crash by editing mesh with subsurf+ParticleInstance modifiers
Campbell Barton [Tue, 31 Mar 2009 00:58:02 +0000 (00:58 +0000)]
[#18277] Segfault crash by editing mesh with subsurf+ParticleInstance modifiers
Marked as fixed but was still using uninitialized variables.

11 years agoHide full retarget panels behind rt -1 (not ready for large scale use and not too...
Martin Poirier [Mon, 30 Mar 2009 15:26:14 +0000 (15:26 +0000)]
Hide full retarget panels behind rt -1 (not ready for large scale use and not too well documented yet. Doesn't affect etch-a-ton.

11 years agor19455 to Re-enable vertex welding for soft-bodies failed even on simple cases like...
Campbell Barton [Mon, 30 Mar 2009 00:40:19 +0000 (00:40 +0000)]
r19455 to Re-enable vertex welding for soft-bodies failed even on simple cases like a cube with scrambled mesh data.
Please test before committing.

m_vertexArray has no doubles now and is not aligned to 3, using m_triFaceArray to get the verts for each face.

11 years agoApplied patch #18446, to do versions on damping
Erwin Coumans [Sun, 29 Mar 2009 19:54:05 +0000 (19:54 +0000)]
Applied patch #18446, to do versions on damping

Re-enable vertex welding, only for soft bodies. They require it. Future versions could expose such vertexWeldingThreshold.

11 years agoOnly apply advanced setting of angular/linear factor to rigid bodies (with angular...
Erwin Coumans [Sun, 29 Mar 2009 18:34:35 +0000 (18:34 +0000)]
Only apply advanced setting of angular/linear factor to rigid bodies (with angular rotation). The setting broke 'dynamic'-only objects.

11 years agoBGE API cleanup: CDActuator, ParentActuator, VisibilityActuator done. Thanks to Andre.
Benoit Bolsee [Sun, 29 Mar 2009 15:17:55 +0000 (15:17 +0000)]
BGE API cleanup: CDActuator, ParentActuator, VisibilityActuator done. Thanks to Andre.

11 years agoMoved EXR settings to OS related zone.
Guillermo S. Romero [Sat, 28 Mar 2009 19:31:22 +0000 (19:31 +0000)]
Moved EXR settings to OS related zone.
It had its own "which OS" conditionals, so please check the moving did
change the result.

11 years agogame engine compile fix for MSVC, game engine team might want to check.
Andrea Weikert [Sat, 28 Mar 2009 11:09:53 +0000 (11:09 +0000)]
game engine compile fix for MSVC, game engine team might want to check.

11 years agoremoved unneeded arg from makeknots() and replaced some numbers with defines
Campbell Barton [Sat, 28 Mar 2009 05:51:18 +0000 (05:51 +0000)]
removed unneeded arg from makeknots() and replaced some numbers with defines

11 years agoTooltip fix, there is no such thing as "Tadius interpolation"
Campbell Barton [Sat, 28 Mar 2009 04:25:21 +0000 (04:25 +0000)]
Tooltip fix, there is no such thing as "Tadius interpolation"

11 years agoBGE API Cleanup: GameActuator (patch from Andre)
Benoit Bolsee [Fri, 27 Mar 2009 22:11:30 +0000 (22:11 +0000)]
BGE API Cleanup: GameActuator (patch from Andre)

11 years agoBGE API cleanup: AddObject, DeleteObject and Scene actuator added.
Benoit Bolsee [Fri, 27 Mar 2009 21:54:16 +0000 (21:54 +0000)]
BGE API cleanup: AddObject, DeleteObject and Scene actuator added.

11 years agoFixed a couple of null issues spotted by coverity.
Kent Mein [Fri, 27 Mar 2009 16:27:48 +0000 (16:27 +0000)]
Fixed a couple of null issues spotted by coverity.
CIDS: 42 and 470

Kent

11 years agoSome small cleanups and reorganization.
Guillermo S. Romero [Thu, 26 Mar 2009 18:45:39 +0000 (18:45 +0000)]
Some small cleanups and reorganization.

11 years agoAdded attributes for Ipo Actuator settings (replacing all methods)
Campbell Barton [Thu, 26 Mar 2009 01:42:01 +0000 (01:42 +0000)]
Added attributes for Ipo Actuator settings (replacing all methods)

11 years agoscons+msvc update for the FFMpeg recent updates
Dalai Felinto [Wed, 25 Mar 2009 23:09:17 +0000 (23:09 +0000)]
scons+msvc update for the FFMpeg recent updates

11 years agoBad crash in volume snapping code when duplis where involved.
Martin Poirier [Tue, 24 Mar 2009 19:39:43 +0000 (19:39 +0000)]
Bad crash in volume snapping code when duplis where involved.

Found out using Coverity's scan report.

11 years agoChanged missing line ending style for TEX_ files
Kent Mein [Tue, 24 Mar 2009 19:39:02 +0000 (19:39 +0000)]
Changed missing line ending style for TEX_ files
in sculptmode.c move initalization of a var to fix an issue
where index of array could be -1.
Found by coverity.

Kent

11 years agoUse Benoits attributes in KX_GameObject.
Campbell Barton [Tue, 24 Mar 2009 19:37:17 +0000 (19:37 +0000)]
Use Benoits attributes in KX_GameObject.

Deprecated..
getPosition, setPosition, getOrientation, setOrientation, getState, setState, getParent, getVisible, getMass

* swapped set/get to get/set in KX_PYATTRIBUTE_RW_FUNCTION macro to match pythons getsetattrs.
* deprecation warnings in the api and notes in epydocs.
* added 'state' attribute
* gameob.mass = 10 # now works because its not checking only for float values.
* dir(gameob) # includes attributes now

11 years agoRenumbered the texture nodes because they were clashing with the other nodes.
Robin Allen [Tue, 24 Mar 2009 18:51:21 +0000 (18:51 +0000)]
Renumbered the texture nodes because they were clashing with the other nodes.
This will break compatibility with previous texnode testing builds (but not
with any released versions)

11 years agoFix for bug #18423: BGE lights in overlay scene also affected
Brecht Van Lommel [Tue, 24 Mar 2009 15:45:08 +0000 (15:45 +0000)]
Fix for bug #18423: BGE lights in overlay scene also affected
other scenes, for texture face / multitexture materials.

Fix for bug #18428: BGE lights on hidden layers were still used,
for all material types, now they have no effect

11 years agoFix for bug #18438: TEX_valToNormal.c array size error.
Brecht Van Lommel [Tue, 24 Mar 2009 13:39:50 +0000 (13:39 +0000)]
Fix for bug #18438: TEX_valToNormal.c array size error.
Error pointed out by Dan Eicher, thanks!

11 years ago[#18260] FMOD Removal
Campbell Barton [Tue, 24 Mar 2009 09:09:10 +0000 (09:09 +0000)]
[#18260] FMOD Removal
from Jorg Muller (nexyon)

also removed references to CVS in install

11 years agofix for [18443] Object.GetSelected() returns empty when run from command line
Campbell Barton [Tue, 24 Mar 2009 03:53:20 +0000 (03:53 +0000)]
fix for [18443] Object.GetSelected() returns empty when run from command line

11 years agoAdded BF_PROFILE (same name as in scons files) option.
Kent Mein [Mon, 23 Mar 2009 19:52:49 +0000 (19:52 +0000)]
Added BF_PROFILE  (same name as in scons files) option.
Set it to true to build with -pg

Also I added CCFLAGS to final link of targets.  Not sure why it wasn't there before.

Kent

11 years agoAnother patch by GSR
Kent Mein [Mon, 23 Mar 2009 18:11:46 +0000 (18:11 +0000)]
Another patch by GSR
Just some minor cleanups.

Kent

11 years agoirix/scons: use $LCGDIR/sdl instead of $LCGDIR/SDL.
Stefan Gartner [Mon, 23 Mar 2009 17:50:41 +0000 (17:50 +0000)]
irix/scons: use $LCGDIR/sdl instead of $LCGDIR/SDL.
Fixed bug #18293: SDL files under lib for irix-6.5-mips are included twice

11 years agoSpeedup for bullet physics mesh conversion
Campbell Barton [Mon, 23 Mar 2009 06:00:21 +0000 (06:00 +0000)]
Speedup for bullet physics mesh conversion
Was adding each face with a remove doubles option that made conversion increasingly slower for larger meshes, this would often hang blender when starting with the BGE with larger meshes.

Replace btTriangleMesh()->addTriangle() with btTriangleIndexVertexArray()

YoFrankie level_1_home.blend starts a third faster, level_nut about twice as fast.

- previous commit was also incorrect using the original meshes vert locations rather then the vert locations that came from the derived mesh.
- Softbody is relying on removing doubles at 0.01 to give stable results, this no longer works but seems a bit dodgy anyway. Maybe some post-processing filter could fix up a mesh for bullet softbody.

11 years agoMSVC project files updated for ffmpeg 0.5 and armature. You must also update lib...
Benoit Bolsee [Sun, 22 Mar 2009 23:39:36 +0000 (23:39 +0000)]
MSVC project files updated for ffmpeg 0.5 and armature. You must also update lib/windows.

11 years agoBGE API cleanup: add support for attribute set/get through functions only.
Benoit Bolsee [Sun, 22 Mar 2009 21:36:48 +0000 (21:36 +0000)]
BGE API cleanup: add support for attribute set/get through functions only.

11 years agoonly write tex plugin and envmap data to file if texture is the right type. This...
Martin Poirier [Sun, 22 Mar 2009 21:06:08 +0000 (21:06 +0000)]
only write tex plugin and envmap data to file if texture is the right type. This takes care of lingering errors with missing texture plugins after texture type is changed

11 years agoSpeedup for bullet creating convex hull meshes
Campbell Barton [Sun, 22 Mar 2009 21:04:28 +0000 (21:04 +0000)]
Speedup for bullet creating convex hull meshes
In a simple test with ~12000 verts, overall BGE startup time went from ~4.5 sec to a bit under a second.

- before adding each vert it did a check for a duplicates.
- Using RAS_Polygon verts can give a lot of duplicates because the verts also store UV's and normals.
- Was increasing the array one item at a time, now resize the array once.
- Use the blender mesh mvert array rather then RAS_TexVert's, so needed to include some DNA headers.

11 years ago== FFMPEG ==
Peter Schlaile [Sun, 22 Mar 2009 19:19:21 +0000 (19:19 +0000)]
== FFMPEG ==

Updated ffmpeg to release version 0.5
updated x264 to today's daily build
thanks to ben2610 for first patches (but you got hddaudio.c wrong :)

11 years agoremoved edgecode from the game engines RAS_Polygon class since its not used
Campbell Barton [Sun, 22 Mar 2009 17:03:55 +0000 (17:03 +0000)]
removed edgecode from the game engines RAS_Polygon class since its not used

11 years agofixes for...
Campbell Barton [Fri, 20 Mar 2009 06:12:22 +0000 (06:12 +0000)]
fixes for...
[18429] Typo in IPO Actuator

[18377] Crash fo yofankie (G.curscreen==NULL)
/* No screen, happens when saving a blendfile in background mode,
 * then loading in the game engine
 * just assume we need the mesh info */

11 years agopatch from Banlu Kemiyatorn
Campbell Barton [Fri, 20 Mar 2009 02:26:02 +0000 (02:26 +0000)]
patch from Banlu Kemiyatorn
* when joining only 2 faces dont check they are convex
* allow edge rotate for non planer faces
- Both were very annoying especially when sub-surf modeling with edge loops

11 years agoFix for bug #18419: game engine debug drawing interfered with alpha blending.
Brecht Van Lommel [Tue, 17 Mar 2009 22:03:21 +0000 (22:03 +0000)]
Fix for bug #18419: game engine debug drawing interfered with alpha blending.

11 years agoNew icon and button for Peel Object option for volume snapping.
Martin Poirier [Tue, 17 Mar 2009 21:26:09 +0000 (21:26 +0000)]
New icon and button for Peel Object option for volume snapping.
Use snap point to get default embedding depth (for overlapping volumes).

11 years agofix crash with missing image sequence
Martin Poirier [Mon, 16 Mar 2009 21:39:12 +0000 (21:39 +0000)]
fix crash with missing image sequence

11 years agoThis is patch:
Kent Mein [Mon, 16 Mar 2009 17:02:19 +0000 (17:02 +0000)]
This is patch:
[#17974] two small fix for blender 2.48 (memory leak and uninitalized vars)
Submitted By:
Pavel Nemec (nemecp)

(changes delete to [] and sets to vars to NULL)

Kent

11 years agoMerging etch-a-ton branch in trunk.
Martin Poirier [Mon, 16 Mar 2009 02:55:42 +0000 (02:55 +0000)]
Merging etch-a-ton branch in trunk.

Slightly out of date documentation in wiki, I'll be updating that tomorrow.

http://wiki.blender.org/index.php/User:Theeth/etch-a-ton

11 years agoBGE
Nathan Letwory [Sun, 15 Mar 2009 23:40:59 +0000 (23:40 +0000)]
BGE
* getting state of RMB was impossible due to wrong check.

11 years ago update v1.12 - 2009.03.14 by migius
Remigiusz Fiedler [Fri, 13 Mar 2009 23:35:15 +0000 (23:35 +0000)]
 update v1.12 - 2009.03.14 by migius
 d3 removed all set()functions (problem with osx/python<2.4 reported by Blinkozo)
 d3 code-cleaning
 d2 temp patch for noname BLOCKS (*X,*U,*D)

11 years agomerging trunk 19093:19274 etch-a-ton
Martin Poirier [Fri, 13 Mar 2009 18:04:38 +0000 (18:04 +0000)]
merging trunk 19093:19274

11 years agoMakefiles: fix definitions of NAN_OPENEXR_* variables on linux, patch provided
Stefan Gartner [Fri, 13 Mar 2009 10:22:49 +0000 (10:22 +0000)]
Makefiles: fix definitions of NAN_OPENEXR_* variables on linux, patch provided
by GSR

11 years agoBGE patch 18368: Modulus (ie %) expression controller in BGE. Implement a cache for...
Benoit Bolsee [Wed, 11 Mar 2009 22:11:52 +0000 (22:11 +0000)]
BGE patch 18368: Modulus (ie %) expression controller in BGE. Implement a cache for the expression for better performance.

11 years agoremoved extra space in text.
Kent Mein [Wed, 11 Mar 2009 02:58:18 +0000 (02:58 +0000)]
removed extra space in text.

Kent

11 years agoremove decimation and opennl libs from gameengine.
Kent Mein [Tue, 10 Mar 2009 16:06:59 +0000 (16:06 +0000)]
remove decimation and opennl libs from gameengine.

Kent

11 years agoAddes libopenjpeg (jpeg2000) support to the Makefiles
Kent Mein [Tue, 10 Mar 2009 16:04:29 +0000 (16:04 +0000)]
Addes libopenjpeg (jpeg2000) support to the Makefiles

Kent

11 years ago[#18388] PLY Import fails if line ending is not \n
Campbell Barton [Tue, 10 Mar 2009 06:58:42 +0000 (06:58 +0000)]
[#18388] PLY Import fails if line ending is not \n
bugfix, read the header as ascii text - open(filename, 'rU'), only the body as binary.

11 years agoAdd support to lock individual axis during rigid body simulation, for translation...
Erwin Coumans [Mon, 9 Mar 2009 07:12:16 +0000 (07:12 +0000)]
Add support to lock individual axis during rigid body simulation, for translation and rotation. This makes it easier to do 1D or 2D physics (tetris, blockout)
todo: create some example/demo.blend.

11 years agoFix: The debug lines of Physics Debug Visualization were drawn incorrectly when using...
Erwin Coumans [Mon, 9 Mar 2009 05:01:16 +0000 (05:01 +0000)]
Fix: The debug lines of Physics Debug Visualization were drawn incorrectly when using overlay scenes (it was using the wrong camera)

11 years agoupgrade to latest Bullet trunk, fix related to vehicle anti-roll, added constraint...
Erwin Coumans [Mon, 9 Mar 2009 04:21:28 +0000 (04:21 +0000)]
upgrade to latest Bullet trunk, fix related to vehicle anti-roll, added constraint visualization.
This commit doesn't add new functionality, but more updates are planned before Blender 2.49 release.

11 years agoBGE patch: undo patch about removing blenderplayer console in Windows: it interferes...
Benoit Bolsee [Sun, 8 Mar 2009 17:23:36 +0000 (17:23 +0000)]
BGE patch: undo patch about removing blenderplayer console in Windows: it interferes with scripts that write to the console. Back to previous state: console cannot be disabled in Windows.

11 years agoAddes jpeg2000 support to cmake.
Kent Mein [Fri, 6 Mar 2009 15:46:13 +0000 (15:46 +0000)]
Addes jpeg2000 support to cmake.
I also did some small tweaks.  removed ifdef's for pluginapi
didn't need them there.
Fixed it so the filesel shows jp2 as image files.
(I'm going to do makefiles next)

Kent

11 years agoUpdate MSVC9 project file for VideoTexture
Benoit Bolsee [Thu, 5 Mar 2009 15:35:15 +0000 (15:35 +0000)]
Update MSVC9 project file for VideoTexture

11 years agoVideoTexture: reactivate VideoTexture for scons/cmake/makefile compilation systems...
Benoit Bolsee [Thu, 5 Mar 2009 15:16:43 +0000 (15:16 +0000)]
VideoTexture: reactivate VideoTexture for scons/cmake/makefile compilation systems, fix video streaming, fix camera support in Linux, add multi-thread cache service, fix crash when a VideoFFmpeg object could not be created.

The multi-thread cache service is activated only on multi-core processors.
It consists in loading, decoding and caching the video frames in a
separate thread. The cache size is 5 decoded frames and 30 raw frames.
Note that the opening of video file/stream/camera is not multi-thread:
you will still experience a delay at the VideoFFmpeg object creation.
Processing of the video frame (resize, loading to texture) is still done
in the main thread.  Caching is automatically enabled for video file,
video streaming and video camera.

Video streaming now works correctly: the videos frames are loaded
at the correct rate. Network delays and frequency drifts are automatically
compensated.
Note: an http video source is always treated as a streaming source,
even though the http protocol allows seeking. For the user it means that
he cannot define start/stop range and cannot restart the video except
by reopening the source. Pause/play is however possible.

Video camera is now correctly handled on Linux: it will not slow down the BGE.
A video camera is treated as a streaming source.

11 years agoMSVC9 project file update for Bullet upgrade.
Benoit Bolsee [Thu, 5 Mar 2009 09:50:16 +0000 (09:50 +0000)]
MSVC9 project file update for Bullet upgrade.

11 years agoFix build: don't use Character stuff, it wasn't meant to be included in Blender/exter...
Erwin Coumans [Tue, 3 Mar 2009 14:31:10 +0000 (14:31 +0000)]
Fix build: don't use Character stuff, it wasn't meant to be included in Blender/extern/bullet2 distro.

11 years agoUpgraded to Bullet 2.74. The upgrade introduced a few bugs, which need to be fixed...
Erwin Coumans [Tue, 3 Mar 2009 03:41:24 +0000 (03:41 +0000)]
Upgraded to Bullet 2.74. The upgrade introduced a few bugs, which need to be fixed before Blender 2.49.
In particular, the Bullet vehicle seems broken, and some soft-body demos don't work.
No new features or benefits are added yet, but a few improvements are planned before Blender 2.49 release.

Please update the build systems, and add those 3 files:
extern/bullet2/src/BulletCollision/CollisionDispatch/btActivatingCollisionAlgorithm.cpp
extern/bullet2/src/BulletCollision/CollisionDispatch/btGhostObject.cpp
extern/bullet2/src/BulletCollision/CollisionShapes/btConvexPointCloudShape.cpp

I'll watch the Blender mailing list, in case this commit causes some issues.

11 years agominor update to be compatible with Bullet 2.74 physics:
Erwin Coumans [Mon, 2 Mar 2009 17:43:35 +0000 (17:43 +0000)]
minor update to be compatible with Bullet 2.74 physics:
btPoint3 has been deprecated, it was already a typedef to btVector3
replace std::vector by btAlignedObjectArray when storing Bullet objects, because MSVC STL implementation has some bugs, preventing to contain aligned objects
(btVector3 is 16-byte aligned, to allow SIMD)

11 years ago* fix linking problem when building WITH_BF_PLAYER=True
Nathan Letwory [Sun, 1 Mar 2009 21:23:04 +0000 (21:23 +0000)]
* fix linking problem when building WITH_BF_PLAYER=True

11 years agoLimit cascading rotations (rotation on each child of a chain) to Individual Center...
Martin Poirier [Sun, 1 Mar 2009 15:03:45 +0000 (15:03 +0000)]
Limit cascading rotations (rotation on each child of a chain) to Individual Center mode, as I thought I had done at first. :|

11 years agoBGE patch #18309 commited: Add an addObject() method to KX_Scene.
Benoit Bolsee [Sat, 28 Feb 2009 22:25:23 +0000 (22:25 +0000)]
BGE patch #18309 commited: Add an addObject() method to KX_Scene.

11 years agoBGE patch #18181 commited: Fixing some blenderplayer arguments (-c, -w, -f).
Benoit Bolsee [Sat, 28 Feb 2009 21:44:24 +0000 (21:44 +0000)]
BGE patch #18181 commited: Fixing some blenderplayer arguments (-c, -w, -f).

11 years agoMSVC9 project file: add ffmpeg avdevice lib to linker for the blenderplayer.
Benoit Bolsee [Sat, 28 Feb 2009 21:37:49 +0000 (21:37 +0000)]
MSVC9 project file: add ffmpeg avdevice lib to linker for the blenderplayer.

11 years agoBGE API cleanup: apply patch from Moguri: Near, Radar, Touch sensor updated.
Benoit Bolsee [Sat, 28 Feb 2009 21:00:27 +0000 (21:00 +0000)]
BGE API cleanup: apply patch from Moguri: Near, Radar, Touch sensor updated.

11 years ago* blender doesn't need the -w anymore to start in a window
Campbell Barton [Sat, 28 Feb 2009 09:25:42 +0000 (09:25 +0000)]
* blender doesn't need the -w anymore to start in a window
* NULL can be used instead of () args for calling python functions from C.

11 years agoBGE Python API
Campbell Barton [Fri, 27 Feb 2009 23:53:09 +0000 (23:53 +0000)]
BGE Python API
* Scene's and GameObjects can now be printed (raised an exception)
* Added GameLogic.getSceneList()

11 years agoblender.desktop file from Rudolf Kastl
Campbell Barton [Fri, 27 Feb 2009 18:49:25 +0000 (18:49 +0000)]
blender.desktop file from Rudolf Kastl

11 years ago[18327] Fix crash when activating nodes
Nathan Letwory [Fri, 27 Feb 2009 00:08:16 +0000 (00:08 +0000)]
[18327] Fix crash when activating nodes
   - faulty linking and header file lead to crashing whenever nodes were used.

11 years agobuild blenderplayer without opennl and decimation
Campbell Barton [Thu, 26 Feb 2009 12:43:24 +0000 (12:43 +0000)]
build blenderplayer without opennl and decimation

11 years agobetter remove t1_generate_luts.c rather then in scons.
Campbell Barton [Thu, 26 Feb 2009 09:14:10 +0000 (09:14 +0000)]
better remove t1_generate_luts.c rather then in scons.

11 years agoPy BGE API
Campbell Barton [Thu, 26 Feb 2009 09:04:06 +0000 (09:04 +0000)]
Py BGE API
Python dir(ob) for game types now includes attributes names,
* Use "__dict__" rather then "__methods__" attribute to be Python 3.0 compatible
* Added _getattr_dict() for getting the method and attribute names from a PyObject, rather then building it in the macro.
* Added place holder *::Attribute array, needed for the _getattr_up macro.

11 years agosmall errors in touch sensor and gameObject
Campbell Barton [Thu, 26 Feb 2009 05:17:54 +0000 (05:17 +0000)]
small errors in touch sensor and gameObject

11 years agoopenjpeg contained a C file with a main() function, user reported it was overriding...
Campbell Barton [Thu, 26 Feb 2009 04:40:00 +0000 (04:40 +0000)]
openjpeg contained a C file with a main() function, user reported it was overriding blenderplayers.
remove this file from building, other build systems should do this too.

11 years ago- Attributes for the collision sensor: propertyName, materialCheck, pulseCollisions...
Campbell Barton [Thu, 26 Feb 2009 04:17:23 +0000 (04:17 +0000)]
- Attributes for the collision sensor: propertyName, materialCheck, pulseCollisions, objectHit and objectHitList.
Removed a check in Python API touch.setProperty() for the property name on the sensor owner before allowing the name to be set - it makes no sense and isnt checked when creating the sensor.
- SCA_DelaySensor.py indent error making epydoc fail.

11 years agoContinue snapping cleaning job.
Martin Poirier [Wed, 25 Feb 2009 20:07:45 +0000 (20:07 +0000)]
Continue snapping cleaning job.

Snap to armature correctly in edit mode and when posed.
Merge snap and embed in skeleton sketching. Ctrl key does both, depends on the snap mode (volume or other). Snaps to other strokes in all snapping mode except Volume.

11 years agoforgot this file- remove Sumo from the menu if its disabled.
Campbell Barton [Wed, 25 Feb 2009 17:20:41 +0000 (17:20 +0000)]
forgot this file- remove Sumo from the menu if its disabled.

11 years agoNew Pulse option for the collision sensor (off by default wont change existing logic)
Campbell Barton [Wed, 25 Feb 2009 17:19:30 +0000 (17:19 +0000)]
New Pulse option for the collision sensor (off by default wont change existing logic)

Previously only the first collision would trigger an event (no collisions a negative event ofcourse)

With the Pulse option enabled, any change to the set of colliding objects will trigger an event.

Added this because there was no way to count how many sheep were on a platform in YoFrankie without running a script periodically.

Changes in collision are detected by comparing the number of objects colliding with the last event, as well as a hash made from the object pointers.

Also changed the touch sensors internal list of colliding objects to only contain objects that match the property or material.

- pulse isnt a great name, could change this.

11 years agoBuilding the game engine with Solid/Sumo is now optional for scons using WITH_BF_SOLID.
Campbell Barton [Wed, 25 Feb 2009 12:07:51 +0000 (12:07 +0000)]
Building the game engine with Solid/Sumo is now optional for scons using WITH_BF_SOLID.
Now Sumo is has been deprecated for a while we might want to remove it for 2.5.