Only search projects.blender.org
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!
Date
: 2011-02-02 16:08
Sender
:
Shinsuke Irie
Confirmed. Thanks!
Attached Files:
Name
Date
Download
totrefl_test.blend
2011-02-01 19:56
Download
Changes:
Field
Old Value
Date
By
status_id
Open
2011-02-02 13:07
jhk
close_date
None
2011-02-02 13:07
jhk
Status
Investigate
2011-02-02 13:07
jhk
assigned_to
none
2011-02-02 11:00
jhk
Status
New
2011-02-02 11:00
jhk
File Added
14835: totrefl_test.blend
2011-02-01 19:56
irie