Wings 3D Development Forum

Full Version: YafaRay Plug-in
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10 11
Here are spheres showing YafaRay materials using their default settings lit by Ambient light/HDRI/Kitchen Probe. The SSS example has a second light, an area light with default settings lighting it. Examples shown include Light, Glass, SSS, Glossy, Coated Glossy, Shiny Diffuse, and Chrome (Shiny Diffuse w/Mirror Reflection set to 1.0). In order to use SSS you have to use YafaRay 0.1.3 Experimental.

Get the Wings3D YafaRay plug-in here... YafaRay Plug-in

[Image: th_YafarayLight.png] [Image: th_YafarayGlass.png] [Image: th_YafaraySSS.png] [Image: th_YafarayGlossy.png]
[Image: th_YafarayCoatedGlossy.png] [Image: th_YafarayShinyDiffuse.png] [Image: th_YafarayChrome.png]

For past history of this plug-in development see the following thread in the Old Forum... YafaRay Plugin Development in Old Forum

oort
Oort ... can you create a scene with Ball, Cube, and something else showing
how light might reflect around between mostly reflective objects and one more
object that is maybe not quite as reflective ?

I have a friend shopping for renderers (not me), who asked about Yafray.
ggaliens,
I don't have time right now. YafRay is the old version of the software. The new software is called YafaRay.

Send him to the YafaRay gallery to see what you can do with YafaRay. Here is a link... YafaRay Gallery

If he is rendering from Wings3D with my YafaRay plug-in, image textures are still not working correctly. If all he needs is basic materials then he will be ok.

oort
This past Friday I finally figured out the YafaRay.xml code needed to get a UV cube to render correctly...Biggrin I will post that info in the Programming section. Tonight I succeeded in getting the Wings3D YafaRay plugin to work with image textures...Biggrin Biggrin Below are some examples. The blue fish is a model I downloaded from the web a long time ago. I will see if I can find it and post a link to give credit. I finally found the site where I got the blue fish model... Free 3d fish models. You can use 7-zip to extract the .rar files.

YafaRay plug-in Download Page ... It is ready for downloading. Keep a backup of the old version just in case.Undecided

oort

[Image: th_yafarayuvcube_zps3da82eab.png]
[Image: th_yafaraybluefish_zpsd7143c14.png]
I have fixed Bump Map support... Ready for download at the usual place.

oort

[Image: yafaraybumpmap_zps1d8d47e9.png]
There is another update... Meshlight Export has been perfected thanks to help from Micheus. Ready for download. I plan to post a render tomorrow.

Next, I plan to start cleaning up the internal code and exported .xml code...

Meshlights scattered using ggaliens scatter.

[Image: MeshlightsScatter_zps0934a179.png]

oort
Another update... Texture Blending Modes (Add,Multiply,Subtract,Screen,Divide,Difference,Darken,Lighten) have been added. Mix was already there by default.

Add two Modulators to your material. Make the first one Diffuse and the second one Bump or other. Set the First Modulator to the desired Blending Mode and set the Second Modulator to Add. The middle tile in the image below is an Add/Mix combination of Diffuse and Bump.

[Image: blendingmodes_zps32509bc1.png]

On a side note... it is also possible to define a single Modulator as a procedural (marble,cloud,wood,etc.) and increase its normal to get a bump effect.

[Image: th_marblevoronoi_zps4507ac02.png]

oort
I have Alpha Transparency (Yafaray Alpha Intensity) Maps working....

Under Modulators change "Alpha Off" to either "Alpha Transparency" or "Diffuse+Alpha Transparency".

1. For "Alpha Transparency" use two image maps. Modulator 1 as Diffuse Map (Alpha Off) and Modulator 2 as Alpha Transparency Map (Alpha Transparency).

Use Shiny Diffuse for your material and leave Transparency at 0.0 and Set Transmit Filter to 1.0.
For all other faces on the object with the Alpha Transparency Map set the material color to white and Transparency to 1.0.

2. For "Diffuse+Alpha Transparency" use one image map with an alpha background (png or tga). Modulator 1 as Diffuse Map (Diffuse+Alpha Transparency).

Use Shiny Diffuse for your material and set Transparency to 1.0 and Set Transmit Filter to 1.0.
For all other faces on the object with the Alpha Transparency Map set the material color to white and Transparency to 1.0.

oort

[Image: alphamapleaf_zps45b18eae.png]
Are you sure this leaf was rendered?! Isn't a picuture?! Smile
Excellent render.
Thanks Micheus,
Just a great image texture (I think a picture of a real leaf) and great rendering software.... YafaRAy... Smile

I am still trying to figure out the YafaRay xml code needed for Translucency... then I plan to start cleaning up internal and exported code.

oort
Pages: 1 2 3 4 5 6 7 8 9 10 11