Log In
New Account
Home My Page Projects Blender 2.x BF release
Summary Activity Tracker SCM Files

Blender 2.6 Bug Tracker: Browse

[#25899] Renderer can't trace successive total internal reflection

Date:
2011-02-01 19:56
Priority:
3
State:
Closed
Submitted by:
Shinsuke Irie (irie)
Assigned to:
Janne Karhu (jhk)
Category:
Rendering
Status:
Fixed / Closed
Relates to:
Duplicates:
Patches:
 
Summary:
Renderer can't trace successive total internal reflection
Detailed description
I noticed that the internal renderer produces wrong results in the case that the ray should be reflected multiple times inside an object. In an actual object, the total internal reflection often occurs successively, but in Blender it occurs only at most once.

See "totrefl_test.blend" I attached. There are two colored spheres and a transparent wall. If the renderer can correctly trace the successive total internal reflection, we should see the green sphere through the wall but actually see the red one.

Followup

Message
  • Date: 2011-02-02 11:00
  • Sender: Janne Karhu
  • Assigned to self for investigation.
  • Date: 2011-02-02 12:15
  • Sender: Shinsuke Irie
  • I have posted a patch for this bug (patch #25900).
  • Date: 2011-02-02 13:07
  • Sender: Janne Karhu
  • Fix committed in r34622, this was calculated wrong since 2006, so it was a great find! The raytracing code assumed transparency to go "air -> glass -> air -> glass...", but of course this is not what happens in the case of total internal reflection. Now the calculations should be correct though!
 

Attached Files:

Name Date Download
totrefl_test.blend 2011-02-01 19:56 Download

Changes:

Field Old Value Date By
status_idOpen2011-02-02 13:07jhk
close_dateNone2011-02-02 13:07jhk
StatusInvestigate2011-02-02 13:07jhk
assigned_tonone2011-02-02 11:00jhk
StatusNew2011-02-02 11:00jhk
File Added14835: totrefl_test.blend2011-02-01 19:56irie