YafaRay4tS v1.0.0

LightWorks, VRay, Dribble, YafaRay and more..
User avatar
trueBlue
Captain
Posts: 5216
Joined: 06 Jul 2009, 22:50
Type the number ten into the box: 10

Re: YafaRay4tS v1.0.0

Post by trueBlue »

:bananathumb:
Awesome, looks kind of like a Sun Dial!
Can not wait to try it out
Looks like you solved the Sun Sky washing out the colors of the scene objects

What is the Background Skylight and how or when would you use it?
Is it related to the Sun Sky and or Darktide?
User avatar
clintonman
Captain
Posts: 5432
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: YafaRay4tS v1.0.0

Post by clintonman »

trueBlue wrote: 17 Mar 2024, 13:16 :bananathumb:
Awesome, looks kind of like a Sun Dial!
Can not wait to try it out
Looks like you solved the Sun Sky washing out the colors of the scene objects

What is the Background Skylight and how or when would you use it?
Is it related to the Sun Sky and or Darktide?
I never saw the Sun Sky washing out the colors, so you may still have the problem when you get it.
Background Skylight is the YafaRayLightRig used for lighting from the background and is used in both Sunsky and Darktide.
Clinton Reese

http://clintons3d.com
User avatar
trueBlue
Captain
Posts: 5216
Joined: 06 Jul 2009, 22:50
Type the number ten into the box: 10

Re: YafaRay4tS v1.0.0

Post by trueBlue »

It is just the Sun Sky Preview not the rendered image where the scene objects get washed out to white
Sun Sky Preview.png
.
If I delete all of the SunSkyObject lights except the first one, the preview does not wash out the scene objects

Just did a test with no scene lights using Sun Sky as a Background type
If I do not enable the Background Skylight, it renders Black
Renders Black.png
User avatar
trueBlue
Captain
Posts: 5216
Joined: 06 Jul 2009, 22:50
Type the number ten into the box: 10

Re: YafaRay4tS v1.0.0

Post by trueBlue »

This works better for me even with all of the Lights
InputConversion

Code: Select all

// OnComputeOutputs 
// Called to compute values of all output connectors
function OnComputeOutputs(params)
{
	var Turbidity = params.ConValue('Turbidity');
	var PreviewScale = params.ConValue('PreviewScale');
	var SunPower = params.ConValue('SunPower');
	var Power = params.ConValue('Power');

	var BackgroundType = params.ConValue('BackgroundType');
	var Night = params.ConValue('Night');

	var SunColorOut = System.CreateDO('Common Data Package/Color Data');

	SunColorOut.SetColorRGB8(218, 217, 216);

//	var nightPower = 1.000
	var nightPower = 0.01

	if(BackgroundType == "Darktide SunSky" && Night) {
//		nightPower = 0.500;
//Use same nightPower as Sun Sky
nightPower = 0.1;
		//SunColorOut.SetColorRGB8(186, 181, 253);
		//SunColorOut.SetColorRGB8(215, 209, 237);
//Use same color as Sun Sky
SunColorOut.SetColorRGB8(218, 217, 216);
	}

	params.ConValue('TurbidityOut') = Turbidity 
	params.ConValue('PreviewScaleOut') = PreviewScale 
	params.ConValue('SunPowerOut') = SunPower * 1.85 * nightPower
	params.ConValue('PowerOut') = Power
	params.ConValue('SunColorOut') = SunColorOut
}
InputConversion.png
Darktide.png
User avatar
clintonman
Captain
Posts: 5432
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: YafaRay4tS v1.0.0

Post by clintonman »

Pre-update release March 17 2024


fix yafaray camera name - camera from the library is NOT the yafaray camera
dont use clipboard when animating with modelspace
anim panel opens floating for easier render cancel when modelspace is included
new open camera 3d view button
new backgrounds
sunlight select, selects the directional light, not the sun sphere
new light direction controls
change select sunsphere to open panel for sunskyobject
show/hide for sunsky and yaflightrig nodes
fix external render frame # bug
both yaf bg and hdri will check each other for pre-existing previews/background spheres
removed moonsky sphere and light
fix light count in bg preview
general sunsky preview improvements - limited by many crashes during material edit
opt viewer and image viewer will not close each others windows
darktide night colors for sunsky nodes
can move background lights closer than background sphere for improved shadow preview quality
background changed default diffuse and caustic photons to true to match blender



The bulk of planned changes are in place, the next release should be bug fixes and ui enhancements. Outside of that some of the sample scenes need some minor fixes and notes.

There is no documentation for these changes yet.


http://clintons3d.com/plugins/truespace ... faray.html
Clinton Reese

http://clintons3d.com
User avatar
clintonman
Captain
Posts: 5432
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: YafaRay4tS v1.0.0

Post by clintonman »

I added the text of the changes to the pdf documentation. So there is at least a description of the new panels and controls.
Attachments
YafaRay4tS Help_21.zip
(1.37 MiB) Downloaded 8 times
Clinton Reese

http://clintons3d.com
User avatar
trueBlue
Captain
Posts: 5216
Joined: 06 Jul 2009, 22:50
Type the number ten into the box: 10

Re: YafaRay4tS v1.0.0

Post by trueBlue »

Before running the YafaRay4tS Installer
All plugins must be Installed and Loaded using trueSpace's Package Manager
Restart trueSpace is required to complete the installation of these plugins

Clintons3dPlugin.dll
OptDetectors.dll
Clintons3dPluginExt.dll
jpeg62.dll
libtiff3.dll
Copy the jpeg62.dll and libtiff3.dll to the same folder as the Clintons3dPluginExt.dll file for the optional TIFF Loader

The above files are included in the YafaRay4tSv100 folder

YafaRay4tS Installer
Updates:
YafaRay4tS panel UI
Removed 2 of 3 Image Viewer(s)
ResetToDefaults script
ExternalViewerButton script
AboutBitmap script "v 1.0.0 - March 17, 2024" Note: Also shows in the About aspect

Background - Sun Sky
Select, # To Light, and # From Light "Changed Alert"
Preview script(s) "Changed Alert to Status Message"

YafaRay4tS Setup library
Updates:
SunSkyObject panel UI and add Default settings
DirectionalSun panel UI
YafaRayLightRig12 panel UI
YafaRayLightRig42 panel UI
YafaRay4tS.RsScn
Yafaray Camera
EntryPoint

YafaRay Lights library
YafaRay4tS.RsSLgts
All lights set to not Cast Shadow
YafaRay Spot & YafaRay IES Spot "Power set to 15.000"

Preferences/Lights
All lights set to not Cast Shadow
YafaRay Spot & YafaRay IES Spot "Power set to 15.000"

Current YafaRay4tS Help.pdf
Update: Installation_Instructions.odt "Still needs improvement"

Edit: Update 3/19/2024
Add:
Global Function Set
HDRI to Lights
OpenFloatingPanel
Status Message

Edit: Update 3/20/2024
Fixed: Background - Select button
Fixed: YafaRayReset.RsObj
Add: New Status Message scripts

Edit: Update 3/21/2024
Add: D3D Material Converter to the Material Editor to the Non-UU Install
Create: clintonobjects/CustomScriptsStore folders in the installation update
Fixed: Components - Compositing installation update

Removed due to update
User avatar
clintonman
Captain
Posts: 5432
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: YafaRay4tS v1.0.0

Post by clintonman »

Update March 23 2024

Getting close to done on this project. The main thing going forward will be to refine the documentation.

new camera view button - open 3d view from camera
easier animation cancel via a panel button
fix yafaray camera naming bugs
ui cleanup by trueBlue
sun sky preview enhancements
brighter spotlights by default - increased power from 5 to 15
improved area light
new YafaRay4tS.RsSLgts from tB
add boxtest.png to textures for orco sample scene
image viewer from trueBlue
background light rigs use fewer undos
updated to latest pdf manual preview

http://clintons3d.com/plugins/truespace ... faray.html

added the orco_mapping scene and some notes for using the sample scenes

http://clintons3d.com/plugins/truespace ... mples.html
Clinton Reese

http://clintons3d.com
User avatar
trueBlue
Captain
Posts: 5216
Joined: 06 Jul 2009, 22:50
Type the number ten into the box: 10

Re: YafaRay4tS v1.0.0

Post by trueBlue »

Use Sun & Night should be enabled by default
Example:
No lights in the scene and add Sun Sky Preview with Use Sun disabled, renders BLACK and does not match the Preview
SunSkyObject panel - Directional Sun Light button does not work
Not able to adjust the shadow, because the scene is Black

tS761 non-UU installation
Removed due to update
User avatar
clintonman
Captain
Posts: 5432
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: YafaRay4tS v1.0.0

Post by clintonman »

trueBlue wrote: 24 Mar 2024, 01:56 Use Sun & Night should be enabled by default
Example:
No lights in the scene and add Sun Sky Preview with Use Sun disabled, renders BLACK and does not match the Preview
SunSkyObject panel - Directional Sun Light button does not work
Not able to adjust the shadow, because the scene is Black

tS761 non-UU installation
SunSkyDefaults.jpg
Use Sun & Night should not be enabled by default

Not happening here. Get the background of SunSky, mostly white.

Side note: Tried your scene and it doesn't have any yafaray materials.
Clinton Reese

http://clintons3d.com
Post Reply