YafaRay4tS version 0.7.6 Beta test

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

Re: YafaRay4tS version 0.7.6 Beta test

Post by trueBlue »

clintonman wrote: Removed automatic 45 degree smoothing
Is this different from Normals Smoothing?
Attachments
Capture.PNG
Capture.PNG (3.88 KiB) Viewed 5473 times
User avatar
clintonman
Captain
Posts: 5429
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 »

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
Captain
Posts: 5214
Joined: 06 Jul 2009, 22:50
Type the number ten into the box: 10

Re: YafaRay4tS version 0.7.6 Beta test

Post by trueBlue »

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
Master Chief Petty Officer
Posts: 329
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 »

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
User avatar
clintonman
Captain
Posts: 5429
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 »

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
Captain
Posts: 5214
Joined: 06 Jul 2009, 22:50
Type the number ten into the box: 10

Re: YafaRay4tS version 0.7.6 Beta test

Post by trueBlue »

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!
User avatar
clintonman
Captain
Posts: 5429
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 »

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
Captain
Posts: 5214
Joined: 06 Jul 2009, 22:50
Type the number ten into the box: 10

Re: YafaRay4tS version 0.7.6 Beta test

Post by trueBlue »

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?
User avatar
clintonman
Captain
Posts: 5429
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 »

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
Captain
Posts: 5214
Joined: 06 Jul 2009, 22:50
Type the number ten into the box: 10

Re: YafaRay4tS version 0.7.6 Beta test

Post by trueBlue »

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 272 times
Post Reply