Fix related to #33480: for blender internal volume rendering, the camera inside
authorBrecht Van Lommel <brechtvanlommel@pandora.be>
Wed, 12 Dec 2012 14:43:11 +0000 (14:43 +0000)
committerBrecht Van Lommel <brechtvanlommel@pandora.be>
Wed, 12 Dec 2012 14:43:11 +0000 (14:43 +0000)
commitb76d465e3c775b8f7d09fe1f1d0e4fa50a08725b
treee8bc73c8d86954c043d93bddd04b12538d3e2a78
parent5616c7a0585521ca16f352ce2277cf4ac73eced2
Fix related to #33480: for blender internal volume rendering, the camera inside
volume wasn't accurate, it still isn't quite but hopefully a bit better by
taking clip start into account.

With clip start it's actually impossible to do a single 'inside' test, since
there will not be a single point where all camera rays start from, though for
small clip start they will be close together.
source/blender/render/intern/source/convertblender.c