Yafray not loading plugins?

I get this error message after I try to render a very simple Blender-generated scene:

yafray YBtest.xml
Starting YafRay …
Loading grammar …
Starting parser …
Parsing OK

Loading plugins …
[Warning]: Unknown shader type blendershader
[Error]: undefined shader MAMaterial object ignored
[WARNING]:Unused param cast_shadows in light
[WARNING]:Unused param color in light
[WARNING]:Unused param from in light
[WARNING]:Unused param power in light
[Warning]: Wrong type for background constant
[Loader]: Added camera MAINCAM
Using a world resolution of 0.00253968 per unit
Rendering with 5 raydepth
No anti-aliasing.
[Warning]: Background world_background does not exist
Building bounding tree … OK
Light setup …
Setting up lights …
Finished setting up lights

Render pass: [###]
Saving Targa file as /home/edwards/projects/blender/render/YBtest.tga
OK

Is it actually loading up the plugins? Why am I getting Unknown shader type blendershader? I’m running Linux Redhat 9.0. I’ve installed yafray in /usr/local and the libblendershader.so is in /usr/local/lib/yafray/

Any ideas?

I haven’t used Yafray too much (I’m an impatient lazy guy and Blender’s internal raytracer is fast enough for me… lol :P), so I don’t know for sure, but from what I see the plugin loads pretty fine… :wink:

About the “Blendershader” thing, are you sure that /usr/local/lib or /usr/local/lib/yafray, is in your LD_LIBRARY_PATH??? It could be a possible reason (perhaps…)…

Maybe you should try to add it to the /etc/ld.so.conf and then run ‘ldconfig’, or install yafray in ‘/usr’ instead of ‘/usr/local’

I don’t know, I’ve run out of ideas…

YafRay searchs libs and plugin itself, so LD_LIBRARY_PATH is not used. Maybe mikejedw has compiled YafRay using a prefix and then YafRay was installed in another one…

Luis.

No, I just used “scons” without modifications.

It’s weird that it doesn’t say that it can’t find any of the plugins, if that’s what’s going on. I’m totally perplexed by this.

Hmm, ok, now I tried it with the RPM from the yafray site. Using it as a standalone (instead of a plugin since yafray RPM and blender were compiled with two different versions of gcc), it does seem to load up the plugins.

BUT, now I just get a background color and no objects. I don’t see any errors showing up. There’s a light and a camera, so everything ought to render, but, for some reason, it doesn’t. It should render a simple plane with a UV sphere through the middle of it.

Anyone else experiencing this kind of Yafray weirdness? I feel like I’m taking crazy pills.


Starting YafRay ...
Loading grammar ...
Starting parser ...
Parsing OK

Loading plugins ...
Registered basicblocks
Registered arealight
Registered globalphotonlight
Registered basicshaders
Registered blendershaders
Registered hemilight
Registered HDRI background
Registered photonlight
Registered mix block
Registered pathlight
Registered pointlight
Registered Shader Background
Registered softlight
Registered spherelight
Registered spotlight
Registered sunlight
Registered sunsky
[Loader]: Added shader MAMaterial
[Loader]: Added object Plane
[Loader]: Added pointlight light LAMP1
[Loader]: Added constant background world_background
[Loader]: Added camera MAINCAM
Using a world resolution of 0.00253968 per unit
Rendering with 5 raydepth
No anti-aliasing.
Building bounding tree ... Object count= 1
OK
Light setup ...
Setting up lights ...
Finished setting up lights


Render pass: [###]
Saving Targa file as /home/edwards/projects/blender/render/YBtest.tga
OK