Following patch fixes a bug in lighting.c introduced in megapov somewhere
version <0.5. I had been complaining about it some time ago (see message-id
3AB### [at] gmxnet). As there does not seem to come out never versions
of megapov and we are still waiting for 3.5 I am posting the patch here now.
The bug affects nearly all scenes with glass or some other material with
transparence and reflection.
- Micha
*** lighting.c Sat Feb 10 10:57:18 2001
--- lighting.c Thu Jun 7 17:11:24 2001
***************
*** 4515,4520 ****
--- 4515,4523 ----
ListReflec[layer_number][2]*=FilCol[2];
*/
+ /* Micha Riser (mri### [at] gmxnet) - readded following line from
pov3.1 */
+ Assign_Vector(ListNormal[layer_number], LayNormal);
+
/* --------------------------------------------- */
/* now compute the BRDF contribution ----------- */
Post a reply to this message
|