Page 29 of 51

Re: YafaRay for trueSpace 2019

Posted: 05 Nov 2019, 17:18
by clintonman
trueBlue wrote: 05 Nov 2019, 17:15 Just confirmed that those scenes also assign the python script in Model.
Right, none of the scenes have been updated since your discovery of placing the python on a scene item instead of the scene.
Edit: I don't plan to update them or the help/webpage until you're done with testing and changes.

Re: YafaRay for trueSpace 2019

Posted: 05 Nov 2019, 18:49
by trueBlue
Were you planning any changes to YafaRay4rS?
If so can you share the latest?

Re: YafaRay for trueSpace 2019

Posted: 05 Nov 2019, 18:51
by clintonman
I haven't made any changes cause I thought you were making changes.
trueBlue wrote: 04 Nov 2019, 16:31 DoFrameRender
Errors.Add("Render has been canceled... Custom Viewer only works with TGA format files. Change the Output - Render File image file format to tga ", "abort");
This was my mistake. Change 'Custom Viewer' to 'TGA Viewer' in the above

Remove openModelScriptForScene and keysExternalClearScript

Change Alert in CreatePythonSync

SaveSettings script does not replace the YafaRay4tS panel in the /System/YafaRay Folder

Re: YafaRay for trueSpace 2019

Posted: 05 Nov 2019, 19:02
by trueBlue
I am not making any changes to your code. Only suggestions. The biggest one being the Sync from Workspace, if it is doable.
Edit: I am hopeful that this may help with crashes too!

Re: YafaRay for trueSpace 2019

Posted: 05 Nov 2019, 19:08
by clintonman
OK, I'll be making changes soon.

Re: YafaRay for trueSpace 2019

Posted: 05 Nov 2019, 23:33
by clintonman
fix animation end on frame 10
doframerender changed message as requested
remove all model view scene based python scripts, button and time stamp

tried running sync after model view render but didn't work, sendkeys did not - command node still in place in case you want to make a go of it

2 sample scenes did not need to be updated for the new python method since the python was not loaded into the scene. uploading a fixed helloWorld scene now

TODO: update documentation and make official release

Re: YafaRay for trueSpace 2019

Posted: 06 Nov 2019, 02:03
by trueBlue
tried running sync after model view render but didn't work, sendkeys did not - command node still in place in case you want to make a go of it
I tried to in a different way and was able to get the send key to work, but the error still persisted.
I removed the command node, fixed the UI, and changed the date to November 05, 2019
Uploaded the changes to the Update(s)
The YafaRay4tS Help is updated too
Let me know if you need help with the changes and or images.

Re: YafaRay for trueSpace 2019

Posted: 06 Nov 2019, 02:16
by clintonman
Great, it'll be nice to wrap this up.

Re: YafaRay for trueSpace 2019

Posted: 06 Nov 2019, 02:21
by trueBlue
clintonman wrote: 06 Nov 2019, 02:16 Great, it'll be nice to wrap this up.
Amen! To THAT!!! :mrgreen:
Thanks for everything! :worship:

Re: YafaRay for trueSpace 2019

Posted: 06 Nov 2019, 04:17
by clintonman
I altered some of the wording in the D3D Material conversion. A complex scene with a lot of objects will fail to convert to a YafaRay materials only scene.

"After all of the scene materials are converted to D3D Shaders, you can convert some or all of the scene materials to YafaRay Materials.
From the YafaRay4tS aspect in the D3D Material Converter, choose to check or uncheck Selected Only, and select the Convert button.
The complex nature of YafaRay materials limits the number of scene items with YafaRay materials applied to about 800 objects."

Edit: animation page chm file has "Rendering with the main view in Workspace and new Model will crash trueSpace" I don't think that's true anymore.

edit: online help file updated now.