Particles
authorBrecht Van Lommel <brechtvanlommel@pandora.be>
Wed, 5 Dec 2007 12:40:54 +0000 (12:40 +0000)
committerBrecht Van Lommel <brechtvanlommel@pandora.be>
Wed, 5 Dec 2007 12:40:54 +0000 (12:40 +0000)
commit29d87d64caac51fc900825063421a35ac9a7c7ae
treed0ee294c6a4960a986c6e722d2c34b98c562c642
parent2422b1e401aac4ae6fbe33764ffc337e5eb8fd79
Particles
=========

- Texture orco coordinates for particles are now actual orcos instead
  of just the vertex positions, which means they are the same under
  deformations and the same as the ones on the mesh.
- Particle distribution now uses these orcos to get consistent
  distributions independent of deformation.
- This required changing the way orco's are computed for meshes. Now
  instead of generating an orco derivedmesh separately, the derivedmesh
  is generated alongside the regular one and stored in an orco custom
  data layer.
12 files changed:
source/blender/blenkernel/BKE_mesh.h
source/blender/blenkernel/BKE_particle.h
source/blender/blenkernel/intern/DerivedMesh.c
source/blender/blenkernel/intern/customdata.c
source/blender/blenkernel/intern/displist.c
source/blender/blenkernel/intern/mesh.c
source/blender/blenkernel/intern/modifier.c
source/blender/blenkernel/intern/particle.c
source/blender/blenkernel/intern/particle_system.c
source/blender/makesdna/DNA_customdata_types.h
source/blender/render/intern/source/convertblender.c
source/blender/src/editparticle.c