Blender Git Commits

Blender Git "master" branch commits.

Page: 4719 / 5574

April 21, 2009, 12:42 (GMT)
needed to remove gen_utils functions from Mathutils.c
April 21, 2009, 11:01 (GMT)
BGE: Support mesh modifiers in the game engine.

Realtime modifiers applied on mesh objects will be supported in
the game engine with the following limitations:

- Only real time modifiers are supported (basically all of them!)
- Virtual modifiers resulting from parenting are not supported:
armature, curve, lattice. You can still use these modifiers
(armature is really not recommended) but in non parent mode.
The BGE has it's own parenting capability for armature.
- Modifiers are computed on the host (using blender modifier
stack).
- Modifiers are statically evaluated: any possible time dependency
in the modifiers is not supported (don't know enough about
modifiers to be more specific).
- Modifiers are reevaluated if the underlying mesh is deformed
due to shape action or armature action. Beware that this is
very CPU intensive; modifiers should really be used for static
objects only.
- Physics is still based on the original mesh: if you have a
mirror modifier, the physic shape will be limited to one half
of the resulting object. Therefore, the modifiers should
preferably be used on graphic objects.
- Scripts have no access to the modified mesh.
- Modifiers that are based on objects interaction (boolean,..)
will not be dependent on the objects position in the GE.
What you see in the 3D view is what you get in the GE regardless
on the object position, velocity, etc.

Besides that, the feature is compatible with all the BGE features
that affect meshes: armature action, shape action, relace mesh,
VideoTexture, add object, dupligroup.

Known problems:
- This feature is a bit hacky: the BGE uses the derived mesh draw
functions to display the object. This drawing method is a
bit slow and is not 100% compatible with the BGE. There may
be some problems in multi-texture mode: the multi-texture
coordinates are not sent to the GPU.
Texface and GLSL on the other hand should be fully supported.
- Culling is still based on the extend of the original mesh.
If you have a modifer that extends the size of the mesh,
the object may disappear while still in the view frustrum.
- Derived mesh is not shared between replicas.
The derived mesh is allocated and computed for each object
with modifiers, regardless if they are static replicas.
- Display list are not created on objects with modifiers.

I should be able to fix the above problems before release.
However, the feature is already useful for game development.
Once you are ready to release the game, you can apply the modifiers
to get back display list support and mesh sharing capability.

MSVC, scons, Cmake, makefile updated.

Enjoy
/benoit
April 21, 2009, 10:19 (GMT)
5th: another compile fix
April 21, 2009, 09:44 (GMT)
Blender Python API
- Removed the gen_utils.c dependency from Mathutils (since gen_utils wont go into 2.5 but mathutils will), repalced with python functions.
- removed Blender.Mathutils.Point, since it was not documented, the C api never used it, none of our scripts used it (and I never saw a script that used it).
April 21, 2009, 09:38 (GMT)
Fix compilation error in MSVC.
April 21, 2009, 09:31 (GMT)
4th: another file corrupted
April 21, 2009, 09:20 (GMT)
BGE: show profile in millisecond in addition to percentage.
April 21, 2009, 08:49 (GMT)
2nd try to merge sim_physics with trunk rev 19825
Please check if volumetrics are yet working
April 21, 2009, 07:16 (GMT)
Blender Python API

use getseter's for quat and euler types attributes, python3 compatible module initialization for Mathutils and BGL.

April 21, 2009, 01:59 (GMT)
[#18557] incorrect alpha IPO behavior in game engine
from Louis-Dominique Dubeau (zenoparadox)
report contained fix, ancient bug from rev2.
April 20, 2009, 23:27 (GMT)
use PyList_SET_ITEM instead of PyList_SetItem,

PyList_SetItem does error checking and decref's existing values, PyList_SET_ITEM is a macro for direct assignment, only for use on new lists.

April 20, 2009, 23:17 (GMT)
BGE Python API
Separate getting a normal attribute and getting __dict__, was having to do too a check for __dict__ on each class (multiple times per getattro call from python) when its not used that often.
April 20, 2009, 21:20 (GMT)
BGE VideoTexture: fix bug with VideoTexture.materialID() since recent commit.
April 20, 2009, 18:31 (GMT)
Bugfix for [#18554] Time + Scale Node Crash
April 20, 2009, 18:23 (GMT)
Bugfix 18558

In OSX, using spin/extrude etc. buttons, with more than 1 3d window open,
should turn cursor in a Question Mark to indicate you have to tell which
window to use (yes weak, but that's 2.4x!). OSX didn't support that type
of cursor, so no hint happened. Now uses the 'hand' icon for osx... no
nicer one is there afaik.

April 20, 2009, 16:53 (GMT)
UI: more scene buttons tweaks by Thomas Dinges.

April 20, 2009, 16:31 (GMT)
Merge ICON_SNAP_PEEL_OBJECT and corresponding icon in blenderbuttons (need new icon though)
April 20, 2009, 15:06 (GMT)
2.50: svn merge https://svn.blender.org/svnroot/bf-blender/trunk/blender -r19323:HEAD

Notes:
* blenderbuttons and ICON_SNAP_PEEL_OBJECT were not merged.

April 20, 2009, 13:18 (GMT)
Booleans: Fix for "no faces" error, reported by alxarch, thanks!
April 20, 2009, 13:16 (GMT)
UI: fix for back buffer option in scene buttons, by Thomas Dinges.

By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021