YafaRay4tS version 0.8.0

LightWorks, VRay, Dribble, YafaRay and more..
User avatar
clintonman
Captain
Posts: 5422
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: YafaRay4tS version 0.8.0

Post by clintonman »

trueBlue wrote: 06 Mar 2018, 01:57 Okay I'll try YafaRay.v3.3.0.Standalone.build.MinGW.for.Win7.Win8.1.Win10.64bit
In your previous post I was missunderstanding you when you said Standalone. I thought you were referring to tS761 Standalone. :lol:
I guess developers like that word trueSpace standalone, yafaray standalone. Who knows what else is out there. :)
If it still doesn't work post your scene file.
Clinton Reese

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

Re: YafaRay4tS version 0.8.0

Post by trueBlue »

In your instructions you mention:
Includes a script to update an existing scene's YafaRay4tS node.
But there is no instructions on how to use it.

Question about your Update YafaRay Render Node script:
If I moved the Yafaray Folder from System to Widgets/Tools,
Does this effect your Destination?

var Destination = "Yafaray Folder/YafaRay4tS";
var Source = Space.CurrentScene() + "/YafaRay4tS";

Also, could this be incorporated into the YafaRay4tS Setup, instead of including it into the library?

In your instructions you mention:
Registry script is included in the YafaRay4tS node setup tab.
But there is no instructions on how to use it.
Now that I am going to use a different version of YafaRay, what should I do with the Registration Key and or my Registry?

Question about your Create reg file script:
I ran into an issue with this using it more then once because I was having problems setting up YafaRay. Windows issued a warning that using this again could corrupt the Registration Key and or something like that. User error on my part.
More importantly as I understood one of the Caligari Developers, you should not put anything that is not native to trueSpace in the Libraries as it could create issues.
In my experience when I noticed it in the library, I tried to load into trueSpace without realizing what it was and got a tS error.
Wouldn't be better to place into System.GetMainDir() ?
User avatar
clintonman
Captain
Posts: 5422
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: YafaRay4tS version 0.8.0

Post by clintonman »

trueBlue wrote: 06 Mar 2018, 14:47 In your instructions you mention:
Includes a script to update an existing scene's YafaRay4tS node.
But there is no instructions on how to use it.

Question about your Update YafaRay Render Node script:
If I moved the Yafaray Folder from System to Widgets/Tools,
Does this effect your Destination?

var Destination = "Yafaray Folder/YafaRay4tS";
var Source = Space.CurrentScene() + "/YafaRay4tS";

Also, could this be incorporated into the YafaRay4tS Setup, instead of including it into the library?

In your instructions you mention:
Registry script is included in the YafaRay4tS node setup tab.
But there is no instructions on how to use it.

Question about your Create reg file script:
I ran into an issue with this using it more then once because I was having problems setting up YafaRay. Windows issued a warning that using this again could corrupt the Registration Key and or something like that. User error on my part.
More importantly as I understood one of the Caligari Developers, you should not put anything that is not native to trueSpace in the Libraries as it could create issues.
In my experience when I noticed it in the library, I tried to load into trueSpace without realizing what it was and got a tS error.
Wouldn't be better to place into System.GetMainDir() ?
Instructions need updating.
If you move the Yafaray folder any scripts or buttons that refer to it will need to be updated.
I don't see any reason it can't be incorporated.
The registry setup may be outdated. The developer of yafaray separated it into blender and yaaray standalone version. I just deleted my registry key and it still works.
I ran the registration 3 times in a row and didn't get the "don't do this again or bad things may happen" message.
In the next version will just remove the registry stuff since it seems it's not needed anymore.
Clinton Reese

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

Re: YafaRay4tS version 0.8.0

Post by trueBlue »

Sorry about all of the pain I have been creating for you.
Almost all of these issues I was having was because of trying to move YafaRay4tS to Widgets/Tools so that it could with stand a Default Context Reset.
To much going on in your master piece to try and change it.
However I think I have a solution.
In this new installer I have included installing the Yafaray Folder to both System and Widgets/Tools.
The Save Settings button in Setup saves to both locations.
I have included a script in the Setup Library that copies the Yafaray Folder from Widgets/Tools to System.
This is in the event a user Resets the Default Context. But this also means a user would have to run the script initially before first use. Hummm.... unless I put that code in a toolbar command. Any how take a look, if it is not worth it, I will just abandon this idea.

Edit: Well maybe not.
Capture.PNG
Capture.PNG (3.04 KiB) Viewed 5581 times
User avatar
clintonman
Captain
Posts: 5422
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: YafaRay4tS version 0.8.0

Post by clintonman »

No abandon it. Having the thing in 2 places will make it difficult to maintain. We'll just alter the code so it works in the Widgets location.

As far as the http error, try a different web browser. I'm thinking something may be messed up with the browser cache.
Clinton Reese

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

Re: YafaRay4tS version 0.8.0

Post by trueBlue »

Saving it to Widgets would be great.
Another thought came to mind.
As it is presently we have the capability to save the yafaRay4tS panel to a RsScn after it is setup.
Just need a script to Copy it to System after a Context Reset.
User avatar
clintonman
Captain
Posts: 5422
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: YafaRay4tS version 0.8.0

Post by clintonman »

trueBlue wrote: 08 Mar 2018, 14:15 Saving it to Widgets would be great.
Another thought came to mind.
As it is presently we have the capability to save the yafaRay4tS panel to a RsScn after it is setup.
Just need a script to Copy it to System after a Context Reset.
I'll keep it in mind when I get a chance to look at it.
Clinton Reese

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

Re: YafaRay4tS version 0.8.0

Post by trueBlue »

It is also possible to modify the reset.js file to load the Yafaray Folder.rsobj by adding the following line:

RsFileIO.LoadObject( rosDir + '\\scripts\\preObjects\\Yafaray Folder.rsobj', '/');


Would have to install the Yafaray Folder.rsobj to the Scripts/preobjects folder.

The reset.js file runs when a user Resets the Default Context.
User avatar
clintonman
Captain
Posts: 5422
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: YafaRay4tS version 0.8.0

Post by clintonman »

NoiseTextures.jpg
image shows perlin, clouds, voronoi, wood and marble textures.
I started looking at what I want to do for Yafaray4tS and started by adding some procedural noise textures to my plugin. Next I want to try to create a blend material and then finally attach the Yafaray4tS scripts to the workspace render system.

Also shown is my incremental save/backup script.

All these scripts use an updated rsx plugin to make the noise textures, interface to the workspace render system and an update to the folder selection code. It's just easier to release the rsx plugin once instead of 3 times so that's what I worked on first.
Clinton Reese

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

Re: YafaRay4tS version 0.8.0

Post by trueBlue »

clintonman wrote: 16 Mar 2018, 05:28 All these scripts use an updated rsx plugin to make the noise textures, interface to the workspace render system and an update to the folder selection code.
Sounds great!
How will YafaRay4tS use the the Workspace render system?
Will it Render to a Space 3D window?
Will it be using the Workspace Offline Renderer buttons?
Post Reply