Rough glass isn't working properly in blend material

Project:YafaRay
Component:YafaRay Core
Category:bug report
Priority:normal
Assigned:David Bluecame
Status:closed
Description

Rough glass isn't working while using blend material combination - it results in completely black material with no diffuse. Check the file below: 

AttachmentSize
blend_rough_glass.blend240.78 KB

Comments

#1

The blend material doesn't work properly. 

  • The middle sphere is a blend material between the left and right, with blend value set to 0.0, so it should look exactly like the left one, but it does not. All intermediate blend values are also behaving wrong.

The middle sphere should look like the left

 

  • When using a texture to blend, there are some artifacts at the material bordering regions. It's most expressed with DL.

artifacts

This was rendered with revision 545 of the experimental version.

The blend material is an important feature of Yafaray, so fixing this should take pecedence over new features.

Check out the appended test scene.

AttachmentSize
btest.new01.blend.zip 266.94 KB

cgmo.net

#2

Status:active» duplicate

The example from the initial bug report is still happening. Even when I'm not sure if it's the same problem, I believe this is probably related to the bug http://www.yafaray.org/node/323  so I'm marking this as duplicate, but if a fix is found for the other, I'll check whether it fixes this bug or not.

#3

Status:duplicate» active

Correction: after investigating further, this is a different issue so I'm marking it as "active" again.

Looks like the Rough Glass material does not have the interface functions needed to integrate it in the blend material. This will require quite some work.

#4

Assigned to:Anonymous» David Bluecame

#5

Status:active» ready to commit

The first problem (rough glass black when used in a blend material) will be fixed in the next YafaRay-E version.

I could not replicate the second problem, it was probably fixed already at some point in time.

#6

Status:ready to commit» fixed

Fixed in v3.0.0-beta: http://www.yafaray.org/community/forum/viewtopic.php?f=15&t=5173

#7

Status:fixed» closed

Closing as it was marked as "fixed" for 4 weeks without any further comments from users.