Blender Git Loki

Git Commits -> Revision 1c4f21f

Revision 1c4f21f by Sergey Sharybin (master)
February 15, 2016, 20:26 (GMT)
Cycles: Initial support of 3D textures for CUDA rendering

Supports both smoke/fire and point density textures now.

Reduces number of textures available for sm_20 and sm_21, but you have
to compromise somewhere on such a limited hardware.

Currently limited to linear interpolation only, and decoupled ray
marching is not supported yet. Think those could be considered just a
further improvement.

Some quick example:

https://developer.blender.org/F282934

Code is minimal and we can fully consider it a fix for missing
support of 3D textures with CUDA.

Reviewers: lukasstockner97, brecht, juicyfruit, dingto

Reviewed By: brecht, juicyfruit, dingto

Subscribers: mib2berlin

Differential Revision: https://developer.blender.org/D1806

Commit Details:

Full Hash: 1c4f21f85e17ac557c9867a7764a31d5ebe74eb0
Parent Commit: b5171e2
Lines Changed: +83, -20

8 Modified Paths:

/intern/cycles/device/device_cuda.cpp (+49, -9) (Diff)
/intern/cycles/kernel/geom/geom_volume.h (+17, -2) (Diff)
/intern/cycles/kernel/kernel_compat_cuda.h (+2, -0) (Diff)
/intern/cycles/kernel/kernel_textures.h (+6, -0) (Diff)
/intern/cycles/kernel/svm/svm.h (+2, -2) (Diff)
/intern/cycles/kernel/svm/svm_image.h (+2, -2) (Diff)
/intern/cycles/kernel/svm/svm_voxel.h (+4, -4) (Diff)
/intern/cycles/render/image.h (+1, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021