Current stable version: 0.1.1

Yafaray can't load textures from Blender because of unknown format

Project:YafaRay
Version:0.1.1
Component:Blender Exporter
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

Hi.


I am using Blender 2.49 with YafaRay 0.1.1 on 64-bit Arch Linux system. I can't render even a simple, textured cube, because of following error (displayed in console):

unknown file extension, testing format...
unknown format!
Could not load image
error: no texture was constructed by plugin 'image'!

Texture works in Blender internal renderer. Texture is in JPEG format, but I get the same error with BMP and PNG textures. I tried to investigate the problem, and it seems that the setjmp function in line 92 of src/textures/jpeg.cc returns nonzero value.

Comments

#1

Hi,

as I see you are using version 0.1.1, which is stable and it's developement already ended, so I think that it is not a coding problem, unless you compiled it in a wrong way. Current development version of yafaray is 0.1.2, and its available on forum.

Once I have encountered such problem, but I cant remember what was the solution, but it meant that the image is not accesible. So I will tell you some requirements, for textures to work in yafaray. All textures must be defined with full (non relative) paths, so they must be unpacked in blender and the path must be accessible for the program. Try using different paths for textures. Look up in the XML output file (there is an option to generate it in the GUI), where the program tries to locate the files. Set the access rights for the location, check out if other programs are not using the file now.

#2

Status:active» closed