Procedural textures in Yafray

Is there any way to export procedural texturing to Yafray? I can’t seem to find a way to do it.

Actually, if you are using YableX, on the material settings screen there is the Modulators button. Press that and you can then add clouds, etc. there.

Not sure if you can import direct from Blender yat on that though.

BgDM

No you cannot.

Yafray has its own procedurals

Stefano

still, with access to the code generating the procedurals in Blender, I wonder how hard it would be to transfer them to yafray… :-?

Martin

Actually I think the algorithm is pretty the same :slight_smile:

Stefano

Alrighty, then it becomes easier to tweak the settings using the material window in Blender and then transfer those settings to YafRay. Also, if they are exactly the same, I guess it will become easier for nishin to work on his yafray export (coughtuhopuucough)

Martin

Man, that feature would be a life saver. I have been getting sick of using UV maps for all of my materials… It would also be neat of blender could take even non-uvmaped textures and turned them into uv maps to be applied withen yafray.

dante

What might also be useful:

A UV unwrap script that also generates the image from the procedurals.

It wouldn’t have to unwrap it in any decent manner, they just all have to fit with no overlap. Then generate the image somehow using the material settings for the object. Would be really useful for exports. Maybe not yafray but for other formats where all you have is UV…

Basically the idea is that the new image applied as UV should look the same as the old object (except maybe without bumpmapping, but it could generate a bumpmap and all those things as well as seperate images)

I’d do it but I wouldn’t know where to start :frowning: and besides, I don’t want to have to sift through the blender source to find the procedures for the textures. I tried looking through that code once but gave up pretty quickly, it’s so fecking HUGE! :o