April 22, 2014, 09:27 (GMT) |
Separation of concerns: Moved functions for building object rigid bodies and applying Bullet results to them into a dedicated file. The same should happen for particles, shapes, constraints etc. later. The purpose of this is to keep the main Bullet world API limited to dealing with Bullet primarily and avoid fixating it on Object DNA data. |
April 22, 2014, 09:23 (GMT) |
A couple of small fixes for merge issues. |
April 22, 2014, 09:23 (GMT) |
Use instanced object collision shapes for particles instead of plain spheres. The "collision_shape" attribute is no longer needed, the shapes can be retrieved from the instanced objects instead (which must be RBs themselves). |
April 22, 2014, 09:23 (GMT) |
Sensible default value support for particle attributes. Some data types (normal, color, quaternion, matrix) get common default values, others are just 0 and have to be defined by the user if necessary. |
April 22, 2014, 09:23 (GMT) |
Added default rotation attribute. |
April 22, 2014, 09:23 (GMT) |
Basic dupli display for particles. Conflicts: source/blender/blenkernel/intern/anim.c |
April 22, 2014, 09:23 (GMT) |
Fixed read/write code for particle display dupli lists and added a modifier object walk callback (also used in readfile for generic modifier lib_link). |
April 22, 2014, 09:23 (GMT) |
Free dupli object lists correctly when freeing display structs. |
April 22, 2014, 09:23 (GMT) |
Boilerplate RNA for the particle display settings. |
April 22, 2014, 09:23 (GMT) |
Add a dupli display method by default. |
April 22, 2014, 09:23 (GMT) |
Single display 'add' function, is easier to provide as API method. |
April 22, 2014, 09:23 (GMT) |
Automatically set the object transflag for nparticle duplis, like current particles (but actual code is in nparticle to stay out of object code as much as possible). |
April 22, 2014, 09:23 (GMT) |
Moved the particle display list from the modifier into the psys itself. This makes the modifier more easily replaceable later on and allows more detailed management of the particle object settings (in particular dupli flags). |
April 22, 2014, 09:23 (GMT) |
Particle display type for duplis. |
April 22, 2014, 09:23 (GMT) |
Removed old unused nparticle modifier code. |
April 22, 2014, 09:23 (GMT) |
Only call the 'validate' function for particles once, to prevent them from being removed and added back to the world continuously, which resets the motion state each time. Also set the USED flag outside of validate since this is not executed every step and would otherwise delete all existing particles. |
April 22, 2014, 09:23 (GMT) |
Added new bparticles function for copying the current particle state instead of just creating a new empty state. Also clear the py_handle when copying the state, otherwise the PyObject is invalid. |
April 22, 2014, 09:23 (GMT) |
Set some usable default values for a number of particle rigid body settings. |
April 22, 2014, 09:23 (GMT) |
Some missing stddef.h includes for NULL. |
April 22, 2014, 09:23 (GMT) |
Very basic sync method for particles, which copies the state and updates the particle positions from rigid bodies. |
|
|
|


Master Commits
MiikaHweb | 2003-2021