Suggestions:
Updates 11/15/2019:
YafarayScripts
Changed
Version 8
AnimationRender
Changed
Code: Select all
//UserInterface.OpenToolPanelViewEx2("" , "" ,Space.CurrentScene()+"/YafaRay4tS", 8, 1, 0);
OfflineRender.OpenPreferencesPanel()
Activity.Run(Space.CurrentScene() + "/YafaRay4tS/open panel");
YafaRa4tS
RenderAnim2
Changed End_Frame Default from 0
Code: Select all
case 'End_Frame'
params.Param('vtData') = 1;
Note: Fixed the Defaults by re exporting and re applying the LINKS to the Anim and Render to File aspects
Changed
Code: Select all
Errors.Add("End Frame must be greater then the Start Frame. Rendering Animation has been canceled");
if(!Question(numFrames + " - XML files will be created because\nDelete XML files after render\nis not Enabled\n\nWould you like to continue?")) {
Add
Code: Select all
if(Node.Exists("/Status Line"))
if(!Node.ConExists("/Status Line", "YafaRay"))
Node.ConCreate("Status Line", "YafaRay", "string", 4);
Node.Value("/Status Line", "YafaRay") = "Model Processing is not supported and has been disabled"
Activity.Run(Space.CurrentScene() + "/YafaRay4tS/ClearStatus")
System.Alert("Batch Render will start now...");
About
Changed
Version 0.9.8
AboutBitmap
Changed
Version 0.9.8
Date 11/14/2019
Render
Changed 'Adds a little more time to the status message'
Code: Select all
//Node.ConRemove("/Status Line", "YafaRay")
Activity.Run(Space.CurrentScene() + "/YafaRay4tS/ClearStatus")
endAniamtion
Changed 'Adds a little more time to the status message'
Code: Select all
//Node.ConRemove("/Status Line", "YafaRay")
Activity.Run(Space.CurrentScene() + "/YafaRay4tS/ClearStatus")
Code: Select all
System.Alert("Model Mesh Processing - Render complete\nWARNING!\nSwitching layouts will crash trueSpace if you do not Exit trueSpace first")
Anim
Backup button
Changed
Code: Select all
var protectNode = "Scripts/CustomCommands/ProtectWorkspace";
if(Node.Exists(protectNode))
{
Activity.Run("Scripts/CustomCommands/ProtectWorkspace/BackupButton")
Activity.Run("Scripts/CustomCommands/ProtectWorkspace/Popup Panel/OpenPanelFrame")
}
Restore buttton
Changed
Code: Select all
var protectNode = "Scripts/CustomCommands/ProtectWorkspace";
if(Node.Exists(protectNode))
{
Activity.Run("Scripts/CustomCommands/ProtectWorkspace/RestoreButton")
}
Cancel Render button 'changed to an On/Off button'
Create XML files and start Batch Render 'changed wording'
Setup
Changed the viewer(s) check boxes to On/Off buttons
Note: Changed the
Disable All Viewers button to a On/Off button and linked it to the
useRendertoFile attribute.
So if you enable the
Disable All Viewers button when using
Render to File, no viewers will spawn.
Set from Keyframe 'If there is no animation, the End Frame is set to 0, which causes an error!'
Changed Line 29 = animEnd = 0;
Line 29 = animEnd = 1;
ExportXMLFnSet
Comment
//System.SetBusyCursor(true);
//System.SetBusyCursor(false);
RenderFrame
Add
var to
Code: Select all
Yaf_UseInternalViewer = Node.Value(System.ThisOwner() + '/UIstate', "Yaf_UseInternalViewer") ;
Yaf_UseCustomViewer = Node.Value(System.ThisOwner() + '/UIstate', "Yaf_UseCustomViewer");
Yaf_UseCustomViewer = Node.Value(System.ThisOwner() + '/UIstate', "Yaf_CustomViewer");
Note: Batch Render error undefined line 145
YafaRay4tS Scene Utilities
Update YafaRay Render Node
Add
Code: Select all
Node.Value(Destination, "useRenderToFile") = true;
Code: Select all
UserInterface.OpenToolPanelViewEx2("" , "" ,Space.CurrentScene()+"/YafaRay4tS", 6, 1, 0);
Space.Select(Space.CurrentScene()+"/YafaRay4tS")
Process Imported Scene
Add
Code: Select all
UserInterface.OpenToolPanelViewEx2("" , "" ,Space.CurrentScene()+"/YafaRay4tS", 6, 1, 0);
Space.Select(Space.CurrentScene()+"/YafaRay4tS")
YafaRay4tS Setup library
SynchronizeWorkspace.RsObj
Synchronize Workspace with Model
Yafaray EntryPoint Camera
When the scene loads the view will switch
to this Camera's view.
In the YafaRay4tS/Camera aspect,
with this camera selected,
select the Set Camera button when
rendering from a Camera View.
In Model select View From Object.
YafaRayBar
Render to File
Changed
LMB
Code: Select all
if (!Node.Exists(Space.CurrentScene()+"/YafaRay4tS")){if(Node.Exists("/Yafaray Folder")){Node.Copy("/Yafaray Folder/YafaRay4tS", Space.CurrentScene());}}Activity.Run(Space.CurrentScene() + "/YafaRay4tS/open panel");
RMB
Code: Select all
OfflineRender.OpenPreferencesPanel()