Current stable version: 0.1.1

Problem with set smooth / set solid

Project:YafaRay
Version:0.1.2-beta1
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:postponed
Description

There's a strange rendering problem with glossy materials. I've noticed this mainly on large flat objects, but it may happen elsewhere as well. Parts of the object don't seem to be rendered as glossy, while others are, producing an undesired result. I've attached a picture demonstrating this problem. I used a brighter material to better display what's going on, but when using darker textures, sometimes those parts of the render can turn out very dark or black, making the problem much more noticeable.

AttachmentSize
desk.png277.99 KB

Comments

#1

To me it looks as if this is a 'Set Smooth'/'Set Solid' issue:

It seems to me YafaRay can only recognize a whole mesh as being either smooth or solid. If some faces in a mesh are set to solid and others to smooth, this distinction gets lost during the export. To solve this, you can either use the 'AutoSmooth' function or the 'EdgeSplit' modifier.

In your case YafaRay interprets the table's surface as smooth - hence the distorted reflection.

Not sure if this can be called a bug.

#2

Title:Problem with Glossy materials» Problem with Glossy materials (EDIT: problem with set smooth / set solid)

You're right, I separated the smooth faces from the solid faces and it fixed the problem. Auto smooth also did seem to fix the problem as well. I thought some of my objects didn't seem to be rendering properly, I guess this is why. Sometimes I need objects to have some smooth and some solid parts. For now, I suppose AutoSmooth will have to do, but I think we should be able to render objects with smooth and solid faces properly.

AttachmentSize
desk.png 300.76 KB

#3

Title:Problem with Glossy materials (EDIT: problem with set smooth / set solid)» Problem with set smooth / set solid
Version:0.1.1» 0.1.2-beta1

this issue still remains on YafaRay 012 beta2 / Blender 2.5 exporter. Blender is able to set different faces either smooth or flat in edit mode within the same object, but YafaRay renders the whole object either smooth, flat or autosmooth. I believe the problem is not in the exporter but it is YafaRay internally that has never supported this feature.

http://dl.dropbox.com/u/31120453/yafaray/bugs/smoothflatshading/smoothso...

http://dl.dropbox.com/u/31120453/yafaray/bugs/smoothflatshading/smoothso...

#5

Category:bug report» feature request
Status:active» postponed

Changed to 'feature request' and 'postpone'