Blender Git Loki

Git Commits -> Revision ffc3c82

Revision ffc3c82 by Sergey Sharybin (gooseberry_farm)
June 10, 2015, 09:27 (GMT)
Cycles: Merge density and color volume attributes if they both requested

This way we store quite reasonable amount of memory (density is stored as RGBA
textures, which ends up in gigabytes of RAM for hires smoke sims).

It's not really pretty implementation and we'll really need to support textures
with 1 and 3 channels instead of doing such packing, but we need to be able to
render some files here.

Commit Details:

Full Hash: ffc3c829738ecb7376217aaf6852084a6aa0b19b
Parent Commit: 9416a70
Lines Changed: +47, -11

4 Modified Paths:

/intern/cycles/blender/blender_mesh.cpp (+28, -4) (Diff)
/intern/cycles/kernel/geom/geom_volume.h (+14, -6) (Diff)
/intern/cycles/render/attribute.h (+1, -0) (Diff)
/intern/cycles/render/mesh.cpp (+4, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021