Blender Git Loki

Git Commits -> Revision fafbd9d

Revision fafbd9d by Janne Karhu (master)
February 12, 2011, 14:38 (GMT)
Particles todo item: particle textures
* Effecting particle properties with textures was possible in 2.49,
but not in 2.5 anymore.
* Now particles have their own textures (available in texture panel
for objects with particle systems), which are totally separate from
the material textures.
* Currently a basic set of particle properties is available for
texture control. Some others could still be added, but the whole
system is not intended as an "change anything with a texture" as
this kind of functionality will be provided with node particles in
the future much better.
* Combined with the previously added "particle texture coordinates"
this new functionality also solves the problem of animating particle
properties through the particle lifetime nicely.
* Currently the textures only use the intensity of the texture in
"multiply" blending mode, so in order for the textures to effect
a particle parameter there has to be a non-zero value defined for
the parameter in the particle settings. Other blend modes can be
added later if they're considered useful enough.

Commit Details:

Full Hash: fafbd9d71b95776d1c7583476de74fccefab7f10
SVN Revision: 34798
Parent Commit: c8c86aa
Lines Changed: +717, -377

19 Modified Paths:

/release/scripts/ui/properties_texture.py (+46, -11) (Diff)
/source/blender/blenkernel/BKE_particle.h (+2, -12) (Diff)
/source/blender/blenkernel/BKE_texture.h (+2, -0) (Diff)
/source/blender/blenkernel/intern/depsgraph.c (+24, -0) (Diff)
/source/blender/blenkernel/intern/particle.c (+124, -117) (Diff)
/source/blender/blenkernel/intern/particle_system.c (+130, -229) (Diff)
/source/blender/blenkernel/intern/texture.c (+40, -1) (Diff)
/source/blender/blenloader/intern/readfile.c (+15, -1) (Diff)
/source/blender/blenloader/intern/writefile.c (+5, -0) (Diff)
/source/blender/editors/space_buttons/buttons_context.c (+19, -0) (Diff)
/source/blender/editors/space_buttons/buttons_header.c (+3, -0) (Diff)
/source/blender/editors/space_buttons/space_buttons.c (+1, -0) (Diff)
/source/blender/makesdna/DNA_particle_types.h (+26, -3) (Diff)
/source/blender/makesdna/DNA_space_types.h (+1, -0) (Diff)
/source/blender/makesdna/DNA_texture_types.h (+3, -3) (Diff)
/source/blender/makesrna/intern/rna_particle.c (+253, -0) (Diff)
/source/blender/makesrna/intern/rna_space.c (+8, -0) (Diff)
/source/blender/makesrna/intern/rna_texture.c (+14, -0) (Diff)
/source/blender/makesrna/RNA_access.h (+1, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021