Yafaray4tS v0.9.0

LightWorks, VRay, Dribble, YafaRay and more..
User avatar
clintonman
Captain
Posts: 5431
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: 18 Jul 2018, 19:11 Using the Bucket Rendering new scrubber's values is causing the PST timer to stay on and not work as expected. IE: Rendering... stuck meassage.
How complex is the scene you are rendering. What value did you set for the timer. Did the render complete or is the only problem the stuck message? While rendering did you see it as it updated or only the final image? do you have more than one instance of truespace running? Did you try restarting the computer?

No way to reproduce without more information.

Edit: also forgot to ask is it patched or no patched, full or std version?
Clinton Reese

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

Re: Yafaray4tS v0.9.0

Post by trueBlue »

I think it was user error again by entering wrong values in Time Save.
I had at one point two consoles running in the background and the PST timer was not shutting off.

Enclosed is an update.
Changes:

Tile Size's edit control
Change on update

Time Save
Changed the Edit box to zero decimals.
Add a Off/On button

Edited the Render Pass panel
Edited the Render Pass's Window Frame

Changed the YafaRay4tS toolbar Volume button's help Text

Edited the YafaRay4tSv090 Installation Instructions.txt to match the YafaRay4tS Help file.

New YafaRay4tS Help.chm
Please take a look and help me with the ? marks.
And or any other changes needed.
There is a blank Procedurals.htm page at the end of the help file. Was not sure it will be needed or not.


I think I made a mistake with the Yafaray Settings RMB Command.RsObj by adding an exclamation to the
if(!Node.Exists("/Yafaray Folder")){ line.

Code: Select all

	if(Node.Exists("/Offline renderers/Yafaray")) {
		var myenum = System.CreateDO("Common Data Package/String Enum Data");
		myenum = Node.Value("/Offline renderers", "Renderer");
		var str = myenum.GetSelectedString();
		myenum.SetSelectedString("Yafaray");
		Node.Value("/Offline renderers", "Renderer") = myenum;
	}
	if (Node.Exists(Space.CurrentScene()+"/YafaRay4tS")){
	} else {
		if(!Node.Exists("/Yafaray Folder")){
			Node.Copy("/Yafaray Folder/YafaRay4tS", Space.CurrentScene());
		}
	}
	UserInterface.OpenToolPanelViewEx2("" , "" ,Space.CurrentScene()+"/YafaRay4tS", 6, 1, 0)
My thought was that the YafaRay4tS.RsObj should not be replaced, given that if a user had a scene with their settings in place, it would be a problem. So the way it is now, if there is no YafaRay4tS.RsObj in the scene, it will not be created. Thats not good either! Please take a look.
Removed due to update
User avatar
clintonman
Captain
Posts: 5431
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 »

I get an error when I press the save settings button.
Attachments
SaveSettingsError.jpg
SaveSettingsError.jpg (48.6 KiB) Viewed 3621 times
Clinton Reese

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

Re: Yafaray4tS v0.9.0

Post by trueBlue »

I do too! IDK? I did not touch any scripts except as noted.
User avatar
trueBlue
Captain
Posts: 5215
Joined: 06 Jul 2009, 22:50
Type the number ten into the box: 10

Re: Yafaray4tS v0.9.0

Post by trueBlue »

I rebuilt it and no errors with this one. It is in the original post.
User avatar
clintonman
Captain
Posts: 5431
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 »

Found the reason. trueSpace had it as not true or false, solution is just to manually set a value true then back to false.
Clinton Reese

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

Re: Yafaray4tS v0.9.0

Post by trueBlue »

So after taking a look at the Save Settings script, would that work for the Yafaray Settings RMB Command.RsObj?
User avatar
trueBlue
Captain
Posts: 5215
Joined: 06 Jul 2009, 22:50
Type the number ten into the box: 10

Re: Yafaray4tS v0.9.0

Post by trueBlue »

clintonman wrote: 19 Jul 2018, 20:48 Found the reason. trueSpace had it as not true or false, solution is just to manually set a value true then back to false.
This new update 'RC 18' fixed another issue I that I missed.

I did not change the Volume buttons Help text on the other one inside.
User avatar
clintonman
Captain
Posts: 5431
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: 19 Jul 2018, 18:26 ...

Code: Select all

	...
	if (Node.Exists(Space.CurrentScene()+"/YafaRay4tS")){
	} else {
		if(!Node.Exists("/Yafaray Folder")){
			Node.Copy("/Yafaray Folder/YafaRay4tS", Space.CurrentScene());
		}
	}
	...
That code will not do anything. It exists inside the YafaRay4tS node. If it doesn't exist then it won't run. If it does exist then

Code: Select all

if (Node.Exists(Space.CurrentScene()+"/YafaRay4tS")
will always be true so the else will never run.
Clinton Reese

http://clintons3d.com
User avatar
clintonman
Captain
Posts: 5431
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: 19 Jul 2018, 20:50 So after taking a look at the Save Settings script, would that work for the Yafaray Settings RMB Command.RsObj?
I don't understand.
Clinton Reese

http://clintons3d.com
Post Reply