No lights in YafAray

Trying to fix lighting problems in Blender I wanted to render with YafAray. Now the problem is that while I can render using the plugin all lights are non-existent. In fact it’s even worse. The scene is entirely black while where the lights should be sort of “negative” light exists (like a slight white rim… although the light is RED!). Furthermore the sun-light lamp (a hemi-lamp plus a shadow-only sun-lamp) are also totally ignored by YafAray. Furthermore if tell YafAray to add a sun-light itself the rendered image is one hell of a pixel mess (like using very bad AO settings in Blender).

Can anybody give a “usable” tutorial which goes from the very beginning to a final image? I have no idea what’s going on and this kind of render output is not even worth farting at right now.
:mad:

There are no Hemi lights or shadow only lights in Yafaray.

I really think you ought to read this:-
http://yafaray.org/documentation/userguide

There are also tutorials in the tutorial section.

I did read this all. The best I managed to get is a point light but the result is so pixelated/grainy it’s totally unusable. Furthermore there seems to be no way to have light without shadows. The red lights in the scene are shadow-less point lights placed above the mesh itself. Looks like the negative light effect comes from yafaray considering all lights casting shadows. Biggest crap is also that the examples don’t work. It’s all a grainy mess.

That is right. Just like the real world - you add a light, you add a shadow.

There are no shadow-less lights in Yafaray.

Did you read the part about Sampling, AA Samples and AA passes?
http://www.yafaray.org/documentation/userguide/rendersettings

Maybe you want to look in the Yafaray gallery and compare your pixelated mess with the examples there. I understand your frustration at being unable to good results instantly, but many people have taken the time to learn how to use the software and make impressive detailed work with it. Please don’t blame the software for your own errors.

Why don’t you post up the .blend for us to look at?

How about a ghost or a window? A window does not cast shadows since it’s mostly transparent. Here this is impossible.

Did you read the part about Sampling, AA Samples and AA passes?
Yes I did and it only makes the pixel mess worse. It looks to me right now like Yafaray is lacking any kind of bi-linear or tri-linear filtering on textures as the mess happens especially with busy textures (for example asphalt, grass on distance and so forth).

Maybe you want to look in the Yafaray gallery and compare your pixelated mess with the examples there. I understand your frustration at being unable to good results instantly, but many people have taken the time to learn how to use the software and make impressive detailed work with it. Please don’t blame the software for your own errors.
Software should come with reasonable defaults. They are not supposed to be god-send or anything but at last some defaults which render (a)not all pitch black and (b)not all like it’s on a grainy old movie strip. If you do RTFM and even the examples given fail then I don’t think it’s mainly my fault.

well, increase the number of samples, and brighten the lights :wink:
and yes, yaf is slower than BI.

The defaults work just fine for most people, using more Samples/passes reduces the noise.
For windows and ghosts enable ‘Transparent Shadows’ in the render settings. This is explained in the links I provided.
A black render is usually the result of failing to set up lighting in the Yafaray gui.

Post the .blend if you want further assistance, someone can confirm whether the error is with the file, the settings or the installation.

Did also the one with Transparent Shadows to no avail though. Requires in my opinion an alpha channel but one side is mirroring (police mirror effect) and for this one you need a no-shadow option. Besides a semi-transparent ghost would cause transparent shadows but that’s not actually what you want. Unless this Transparent Shadows button works entirely different.

What goes for the lights I figured out the problem with the sun-light. Still a problem is though (1)shadows (sun does not get inside rooms through windows), (2)missing sky (I use a 360° sky texture but can’t get it into yafaray) and pixelation (missing bi-linear filtering or in general mip-mapping on textures).

I’ve been at Yafaray for a while myself, and true to form, there is plenty to learn. So far, I have learnt about bump mapping, and your thread/exercise seems like a good lesson. To be honest, I have learnt more about the internal render with the Yafaray documention.

here is an example.
left to right: 75% translucent, 75% transparent, glass.
transparent shadows enabled.



yaf_ex.blend (296 KB) (used yafaray 0.1.2, but should work fine with 0.1.1)

edit: stupid forum converts png to jpg…
the original image was smooth. :mad:

Still shadows though in that one. Placing this on a window the inside of a room would still be dark.

Window glass blocks light, it is just a law of physics…

The glass Suzanne is a solid thick block, so it will stop more light than 4mm window glass. There is also little ambient lighting.
Check some reference images for comparison, or photograph strong sunlight through an open window, and compare the difference in illumination between filtered and unfiltered.
Here are some photographs, notice how the glass casts shadows:-

Here are some showing direct sun is brighter than filtered:-
http://img2.photographersdirect.com/img/25555/wm/pd2040892.jpg

Here is an image rendered with Yafaray using only external lighting and with 4mm glass in the windows:-
http://www.yafaray.org/phpBB3/download/file.php?id=2283&mode=view
The inside of the room is not dark.