Yafaray4tS v0.9.0

LightWorks, VRay, Dribble, YafaRay and more..
Post Reply
User avatar
clintonman
Captain
Posts: 3955
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Yafaray4tS v0.9.0

Post by clintonman »

Officially started work on the next version of yafaray4ts.
Testing is with versions 2.1.1 and 3.0.0. The official notes say XP support was dropped in 2.1.1, I did a test and it did work in winXP. The "drop of support" must refer to the Blender integration.
quickExteriorP.jpg
outdoorsP.jpg
max3dkuchniaP.jpg
glossyasdiffuseP.jpg
glassP.jpg
causticsP.jpg
Bug fixes for mesh smoothing, fixed color gamma to use new scheme, fixed face directions in caustics scene, blender does not use face directions

Additions/Changes
added 2.1.1 and 3.0.0 to the version checks,
experiments for preview - changed appearance of area and spotlights, replaced infinite light with directional light so can see shadows, made a combo infinite and ambient light to simulate light from background gradiants and sunsky items, changed appearance of glass shader
The previews will never be 100% because the materials would have to have versions for each lighting model and there is no easy way to simulate bouncing lights of a scene.

The only other preview change I have in mind is to add some fake reflections to glass and other shiny materials.
Clinton Reese

http://clintons3d.com

User avatar
clintonman
Captain
Posts: 3955
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: Yafaray4tS v0.9.0

Post by clintonman »

quickExteriorOldP.jpg
max3dkuchniaOldP.jpg
glassOldP.jpg
Here are a few of how the old previews look for comparison.
Clinton Reese

http://clintons3d.com

User avatar
trueBlue
Captain
Posts: 3398
Joined: 06 Jul 2009, 22:50
Type the number ten into the box: 10

Re: Yafaray4tS v0.9.0

Post by trueBlue »

WOW! That is awesome Clinton!
Can't wait to check it out.

User avatar
bitkar
Captain
Posts: 1611
Joined: 16 Mar 2010, 07:14
Type the number ten into the box: 0
Location: Czech Republic
Contact:

Re: Yafaray4tS v0.9.0

Post by bitkar »

yay, new up to date renderer! always love to see something good for rendering in tS.
Michal aka bitkar
tS freak since tS2 (1998) and forever (tS7.61 modeler)

User avatar
clintonman
Captain
Posts: 3955
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: Yafaray4tS v0.9.0

Post by clintonman »

YafBackgroundPreview.jpg
Wrote code and made lights for most of the background lighting previews. The new preview button reads the type of background and creates lights and a large sphere painted with the background. The preview scale input below the button controls the size of the sphere.

Image shows the image background which uses a down facing projector light with the same image as the background sphere only blurred.
The constant color background has a sphere and an ambient light.
The gradient background has a gradient sphere, an ambient light for the horizon and an infinite light facing downward for the sky color.

The sky background types will be some generic gradient type sphere, with a directional light for the sun that is targeted at the origin plus an ambient light for the rest.
Clinton Reese

http://clintons3d.com

User avatar
clintonman
Captain
Posts: 3955
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: Yafaray4tS v0.9.0

Post by clintonman »

outdoorsPV.jpg
Sky background previews shown above are done and added image based background using a projector light with a blurred image. The sky backgrounds uses a cloud texture on the sphere with a tint based on the turbidity value. Added buttons for controlling the sunlight. 1. select light so it can be moved, 2. copy light location to the Yafaray4tS node so the values can be exported. 3. copy Yaf sun location to the light

Also discovered that the gamma fix was wrong. Incorrect colors happen in exported xml file even when produced from Blender. Removed the gamma "fix".

That's the last of the background previews. The previous posts had the manual experiments, now there are controls built in to create all the preview lights and spheres.

I think next will be the light preview values, then an update for the materials.
Clinton Reese

http://clintons3d.com

User avatar
clintonman
Captain
Posts: 3955
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: Yafaray4tS v0.9.0

Post by clintonman »

Lights are done. Most were already good as far as brightness levels. Also added a render shadow option to each light.
Clinton Reese

http://clintons3d.com

User avatar
clintonman
Captain
Posts: 3955
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: Yafaray4tS v0.9.0

Post by clintonman »

YafNoiseTexture.jpg
First working preview for procedural textures. It also shows an update for blending the color with the texture. In the old version the texture just turned off the color. There will be separate tabs for each texture map type, diffuse map, mirror map etc.

This is just the preview, it's not hooked up to the renderer in any way yet.
Clinton Reese

http://clintons3d.com

User avatar
trueBlue
Captain
Posts: 3398
Joined: 06 Jul 2009, 22:50
Type the number ten into the box: 10

Re: Yafaray4tS v0.9.0

Post by trueBlue »

Are you using seamless textures?

User avatar
clintonman
Captain
Posts: 3955
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: Yafaray4tS v0.9.0

Post by clintonman »

trueBlue wrote:
01 Apr 2018, 13:15
Are you using seamless textures?
No, it's a procedural texture. The preview is like the wrapped polka dot procedural texture on model side as shown in the image below.
The preview won't be identical to the final result. It will just give an idea of what the render will look like.

Now that you mention it I see that the Z value will need to be added to the offset and size for textures so 3D textures can be used in the render as well as the wrapped uv style.
wrappedPolkaSeam.jpg
Last edited by clintonman on 02 Apr 2018, 02:02, edited 1 time in total.
Clinton Reese

http://clintons3d.com

Post Reply