Page 1 of 22
YafaRay4tS v1.0.0
Posted: 31 Dec 2023, 22:36
by clintonman
Image is animated maybe click to see it?
bottom is uv and top is global texture coordinates
Small update that adds support for 3D texture renders for the wood, marble, cloud and voronoi procedural textures. It also fixes a bug where animations cannot be rendered from the Unofficial Updates Standalone version.
There are 2 installers, one for the Unofficial Updates and another that requires many more steps to install all the prerequisites. The only prerequisite for the UU is that the rsx plugin Clintons3dPlugin is at or above v163850.
http://clintons3d.com/plugins/truespace ... faray.html
Other changes:
opens the procedural texture panels in a floating window instead of the stack
Texture Coordinates options - UV, Global, Generated
Negative option - The effect of the Texture is negated
Blend Mode options - mix, add, muliply, substract, screen, difference, darken, lighten, overlay
wood, marble, cloud and voronoi nodes only exist in the Components - Compositing library, removed from the YafaRay Materials library
updates all the status messages to use the plugin based status message
fix broken blend material to export colors properly
fix broken clouds color export
scene utilities will update blend materials
fix bug when try to render compound non-yafaray materials from older tS sample file
Re: YafaRay4tS v1.0.0
Posted: 04 Jan 2024, 16:10
by trueBlue
YafaRay Spotlights
Edit: Changing ThresholdAttenuation to 0.000 looks like a better option too
Currently, AttQuadratic is set to 0.000
.
If I change AttQuadratic to 0.050, I do not get the Ughly results
Render Before
.
Render After
Re: YafaRay4tS v1.0.0
Posted: 05 Jan 2024, 03:37
by trueBlue
Here is the updated YafaRay Lights library
Let me know if you approve
Removed due to update
Re: YafaRay4tS v1.0.0
Posted: 05 Jan 2024, 04:17
by clintonman
Not there yet. Image has 3 spotlights all with the default values but at different heights.
The falloff needs work, only the lowest spot on the right matches the render.
Maybe I can apply some of the glTF falloff lessons to it. There's nothing I could find in the YafaRay docs that mentions what the falloff should be, so hopefully it's similar. I think I have a YafaRay slide presentation, maybe it will give a clue, I'll check there first.
Found it in the wayback machine,
https://web.archive.org/web/20120929122 ... nglish.pdf
Its from a crash course by one of the authors or users of YafaRay.
"Fast and good results, thanks to
raytracing and YafaRay
physically
based rendering techniques."
This makes me think the lights need inverse square falloff, so I think you're on the right track focusing on AttQuadratic
Re: YafaRay4tS v1.0.0
Posted: 05 Jan 2024, 05:56
by clintonman
top original glass render, bottom background power set to 0
Still experimenting but here's an important note for the glass scene. The background light needs to be turned off to even begin matching the trueSpace spotlight with the rendered result.
Background panel > Power = 0
Edit: another note is that the ground plane is a single face so it needs to be subdivided to look proper inside tS
Re: YafaRay4tS v1.0.0
Posted: 05 Jan 2024, 07:05
by clintonman
Getting much closer now.
Ground plane divided to 289 vertices
Background Power=0
3 lights from my test scene added to the glass scene
Helper script for testing to set all the lights attquadratic and power division values
AttConstant=0, AttLinear=0.05, AttQuadratic=0.0001
inside ../YafaRay Spot/Color Picker/Yafaray Helper changed from Power = Power * 50 to Power = Power / 35
Next is converting the 3 test lights to different yafaray light types to check their attenuation values and power math.
Re: YafaRay4tS v1.0.0
Posted: 05 Jan 2024, 14:51
by trueBlue
I also changed ThresholdAttenuation to 0.000 in the Spotlights that I uploaded
This is the from the YafaRay Scenes library
Glass
Same settings as the original with the new (1/3/2024) YafaRay4tS panel, Materials, and modified Spotlight
Original Plane is not sub divided
You might want to try a new Workspace Scene and use the YafaRay4tS Utilities to convert the lights
The YafaRay4tS Utilities does not alter the Attenuation values
This is what lead me to experiment with the Attenuation values
.
AttQuadratic = 0.050
ThresholdAttenuation = 0.050
.
AttQuadratic = 0.050
ThresholdAttenuation = 0.000
.
Here is new purposed scene from the YafaRay4tS Setup library
(1/3/2024) YafaRay4tS panel
Note: This will need to be updated to the latest release
Re: YafaRay4tS v1.0.0
Posted: 05 Jan 2024, 19:29
by clintonman
Here's the updated lights library.
Area Light - AttConstant=0, AttLinear=0.05, AttQuadratic=0.0001, helper has Power / 30
IES Light - AttConstant=0, AttLinear=0.05, AttQuadratic=0.0001, helper has Power / 22
Point Light - AttConstant=0, AttLinear=0.05, AttQuadratic=0.0001, helper has Power / 30
Spot Light - AttConstant=0, AttLinear=0.05, AttQuadratic=0.0001, helper has Power / 30
Sphere Light - AttConstant=0, AttLinear=0.05, AttQuadratic=0.0001, helper has Power / 50
Sphere Light needs a fix to the YafaRay4tS LightsFnSet, it exports at double the size
Added Longitude and Latitude inputs for use with the sphere light Render option
Exported the ORA
Re: YafaRay4tS v1.0.0
Posted: 05 Jan 2024, 22:57
by trueBlue
clintonman wrote: ↑05 Jan 2024, 19:29
Here's the updated lights library.
Area Light - AttConstant=0, AttLinear=0.05, AttQuadratic=0.0001, helper has Power / 30
IES Light - AttConstant=0, AttLinear=0.05, AttQuadratic=0.0001, helper has Power / 22
Point Light - AttConstant=0, AttLinear=0.05, AttQuadratic=0.0001, helper has Power / 30
Spot Light - AttConstant=0, AttLinear=0.05, AttQuadratic=0.0001, helper has Power / 30
Sphere Light - AttConstant=0, AttLinear=0.05, AttQuadratic=0.0001, helper has Power / 50
Sphere Light needs a fix to the YafaRay4tS LightsFnSet, it exports at double the size
Added Longitude and Latitude inputs for use with the sphere light Render option
Exported the ORA
Most likely, a big Ask?
Any chance the YafaRa4tS Scene Utilities can adjust to the above values?
Even bigger Ask?
Can you do the same as you did with the Convert Light Types?
Code: Select all
if( (connector[3] & CONFLG_HIDDEN) != 0 && connector[0] != "LE2Data") continue;
if((connector[3] & CONFLG_IN) == 0 && connector[0] != "LE2Data") continue;
Re: YafaRay4tS v1.0.0
Posted: 05 Jan 2024, 23:31
by trueBlue
Ugh, you removed the YafaRay Light(s) Color inputs from the ORA panel
No 3D View indication to what the Color is
Here is a working YafaRay4tS Help.chm file for your installer
Date created 12/24/2019 1:11 PM
For whatever reason the pages are not showing in yours