Blender Git Commit Log

Git Commits -> Revision 42804d4

Revision 42804d4 by Luca Rood (master)
May 19, 2017, 15:23 (GMT)
Implement particle drawing with draw manager

This still has a couple of issues:
* Instancing is not working when multiple particle systems use the same
primitive. Only the last particle system to be drawn with a particular
primitive shows up.

* Because of colors being passed as uniforms with static variables, the
color of the collection of the last object to be evauluated is used for
all particles being displayed.

Also, note that while this is being drawn in the clay engine, this might
be moved to the object mode later intead.

Part of T51378

Commit Details:

Full Hash: 42804d49b54a4522423849c402b6d55521b18512
Parent Commit: c62bec8
Lines Changed: +360, -12

2 Added Paths:

/source/blender/draw/engines/clay/shaders/particle_prim_frag.glsl (+19, -0) (View)
/source/blender/draw/engines/clay/shaders/particle_prim_vert.glsl (+43, -0) (View)

6 Modified Paths:

/source/blender/draw/CMakeLists.txt (+2, -0) (Diff)
/source/blender/draw/engines/clay/clay_engine.c (+104, -12) (Diff)
/source/blender/draw/intern/draw_cache.c (+140, -0) (Diff)
/source/blender/draw/intern/draw_cache.h (+2, -0) (Diff)
/source/blender/draw/intern/draw_cache_impl.h (+1, -0) (Diff)
/source/blender/draw/intern/draw_cache_impl_particles.c (+49, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021