YafaRay4tS version 0.7.6 Beta test

LightWorks, VRay, Dribble, YafaRay and more..
User avatar
trueBlue
Lieutenant Junior Grade
Posts: 892
Joined: 06 Jul 2009, 22:50

Re: YafaRay4tS version 0.7.6 Beta test

Post by trueBlue » 16 Feb 2014, 14:26

clintonman wrote: Removed automatic 45 degree smoothing
Is this different from Normals Smoothing?
Attachments
Capture.PNG
Capture.PNG (3.88 KiB) Viewed 176 times

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

Re: YafaRay4tS version 0.7.6 Beta test

Post by clintonman » 16 Feb 2014, 15:08

trueBlue wrote:
clintonman wrote: Removed automatic 45 degree smoothing
Is this different from Normals Smoothing?
Is the same thing. When this isn't applied to the mesh the code was giving it 45 degree in the xml file and that was causing problems.
Clinton Reese

http://clintons3d.com

User avatar
trueBlue
Lieutenant Junior Grade
Posts: 892
Joined: 06 Jul 2009, 22:50

Re: YafaRay4tS version 0.7.6 Beta test

Post by trueBlue » 16 Feb 2014, 19:27

Wow! Caustic scene is much better in Yaf015 vs Yaf012B2
Thanks Clinton!

Glass scene causes Yaf012B2 to crash but not Yaf015
Edit: Applying Smooth Normals fixes crash
Yaf012B2 is better than Yaf015

Edit2: DarkTides SunSky caused Yaf012B2 to crash

Edit3: Image caused Yaf012B2 to crash

Edit4: Sun Sky w/ Use Sun Checked caused Yaf012B2 to crash
Me thinks that Y4tS076 should be released without backwards compatibilty.

User avatar
FHembree
Senior Chief Petty Officer
Posts: 220
Joined: 21 Feb 2011, 17:43
Type the number ten into the box: 9

Re: YafaRay4tS version 0.7.6 Beta test

Post by FHembree » 16 Feb 2014, 19:57

Learn something new all the time. After rendering some of the sample scenes I found the setting for draw parameters that rendering the yafaray setting
as part of the rendering. Very helpful.
Attachments
drawparameters.jpg
caustics.jpg

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

Re: YafaRay4tS version 0.7.6 Beta test

Post by clintonman » 17 Feb 2014, 04:59

trueBlue wrote:...
Me thinks that Y4tS076 should be released without backwards compatibilty.
I'd first like to see if we can keep the compatibility. Some of the changes can be applied for yaf 1.1, clay render, draw parameters and more.
Clinton Reese

http://clintons3d.com

User avatar
trueBlue
Lieutenant Junior Grade
Posts: 892
Joined: 06 Jul 2009, 22:50

Re: YafaRay4tS version 0.7.6 Beta test

Post by trueBlue » 17 Feb 2014, 07:13

Okay cool!
Made some additions to the installer.
First you add the path to the Yafaray-xml.exe to the popup panel.
Select the Install button which runs the installation then runs your "Create registration file" script and then runs another script that Merges the file. Adds the path to the Y4tS too!

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

Re: YafaRay4tS version 0.7.6 Beta test

Post by clintonman » 17 Feb 2014, 15:28

trueBlue wrote:Okay cool!
Made some additions to the installer.
First you add the path to the Yafaray-xml.exe to the popup panel.
Select the Install button which runs the installation then runs your "Create registration file" script and then runs another script that Merges the file. Adds the path to the Y4tS too!
Very nice!
Clinton Reese

http://clintons3d.com

User avatar
trueBlue
Lieutenant Junior Grade
Posts: 892
Joined: 06 Jul 2009, 22:50

Re: YafaRay4tS version 0.7.6 Beta test

Post by trueBlue » 17 Feb 2014, 17:42

Sometimes I am getting a bogus error on line 12, "Access Denied".

Code: Select all

var tS = System.GetMainDir() + '\\'
fso1 = new ActiveXObject("Scripting.FileSystemObject");
if(fso1.FolderExists(tS + 'Rs Main Libraries\\YafaRay4tS Setup')){
fso1.DeleteFolder(tS +'Rs Main Libraries\\YafaRay4tS Setup') <-------------------------------------Line 12
 fso1.CopyFolder (YafaRay4tSv075 +'\\YafaRay4tS Setup', tS + 'Rs Main Libraries\\', true)
}else{
fso1.CopyFolder (YafaRay4tSv075 +'\\YafaRay4tS Setup', tS + 'Rs Main Libraries\\', true) }
Nevertheless it deletes the folder but stops the script from running. Running it again is successful.
I am trying to emcompass the script with a try/catch error, but I am not having any success appling it correctly. Perhaps you can take a look when it is all said and done?

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

Re: YafaRay4tS version 0.7.6 Beta test

Post by clintonman » 18 Feb 2014, 00:06

trueBlue wrote:Sometimes I am getting a bogus error on line 12, "Access Denied".

Code: Select all

var tS = System.GetMainDir() + '\\'
fso1 = new ActiveXObject("Scripting.FileSystemObject");
if(fso1.FolderExists(tS + 'Rs Main Libraries\\YafaRay4tS Setup')){
fso1.DeleteFolder(tS +'Rs Main Libraries\\YafaRay4tS Setup') <-------------------------------------Line 12
 fso1.CopyFolder (YafaRay4tSv075 +'\\YafaRay4tS Setup', tS + 'Rs Main Libraries\\', true)
}else{
fso1.CopyFolder (YafaRay4tSv075 +'\\YafaRay4tS Setup', tS + 'Rs Main Libraries\\', true) }
Nevertheless it deletes the folder but stops the script from running. Running it again is successful.
I am trying to emcompass the script with a try/catch error, but I am not having any success appling it correctly. Perhaps you can take a look when it is all said and done?
Sure. Could the delete be failing because the folder is open in explorer, just a stab in the dark.
Also lines 13 and 15 look the same so you can remove the else portion and move line 13 outside the braces.
Clinton Reese

http://clintons3d.com

User avatar
trueBlue
Lieutenant Junior Grade
Posts: 892
Joined: 06 Jul 2009, 22:50

Re: YafaRay4tS version 0.7.6 Beta test

Post by trueBlue » 18 Feb 2014, 00:21

I will check that out, Thanks!
Edit: looks like if the library is modified in any way triggers the error.

Here is a script I created that transfers over 120 settings from Y4tS075 to Y4tS076. Everything except the paths. Have not figured that out yet but also thinks it might not be necessary.
Attachments
Transfer YafaRay4tS settings.zip
(37.07 KiB) Downloaded 5 times

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest