1.) It's not rendering an image for me as shown. There should be a rendered image of the orange cube. The Open Output Folder button works and opens the C:/Temp folder.clintonman wrote: ↑20 Aug 2018, 21:204.) fixedtrueBlue wrote: ↑20 Aug 2018, 18:48 Testing in unpatched Rosetta
Monday, August 20, 2018 RC-29v4
ToDo
Add - Yaf_CamPath = "Camera" to ExportXML - OnDefaultValue
Add - "Camera" in the Yaf_CamPath to the YafaRay4tS.RsObj in the YafaRay4tS_Installer.RsObj
Add - Node.Value(Space.CurrentScene() + "/YafaRay4tS", "Yaf_CamChoice") = "0" (Line 190) in CameraFnSet
Note: (Line 76) does not work but the above does.
1.) This is not working:
"Use Custom temporary directory - Directory for storing generated XML file and temporary YafaRay output image. Default working directory is the same as the output image directory. Use this option if you want to use a different directory from the final image output directory."
2.) Is this working as expected?
"Use Custom XML export file - Use a custom filename and directory for the generated XML file. This is useful when generating multiple XML files for batch rendering or for rendering a previously generated XML file."
3.) Rendering an animation with empty string in the YafaRay Installation Path throws an error.
Render Animation test with an empty YafaRay Installation Path .PNG
4.) Output Render File with unsupported image format. Creates Yaf_render.cmd, yaf_temp.xml, and a file with zero bytes.yaf_test bmp zero bytes.PNG
3.) fixed
2.) looks ok to me
1.) looks like it's working to me
camera default set to "Camera"
CameraFnSet behaving as it should - please define the behavior you want to change or describe how it should work
The Yaf_render.cmd is being created but no Yaf_Temp.xml or rendered image.
What is being rendered is going to C:\trueSpace761Std\Image Folder\yaf_test.png
Maybe I do not understand it's purpose. Shouldn't there be a rendered image?
2.) Maybe I do not understand it's purpose. When you select the Render XML button I do not see a previously generated XML file render from that directory as mentioned in Jack's Setup help.
"Use Custom XML export file - Use a custom filename and directory for the generated XML file. This is useful when generating multiple XML files for batch rendering or for rendering a previously generated XML file."
3.) Yay! Solved the error but the cmd and xml files are still being created.
4.) Yay! Solved but the xml file is still being created.
Camera View is being switched to View when there is no Camera in the scene. Alert "No camera selected, using 3d view instead" <- This is misleading.
But not when the Yaf_CamPath is empty or the Yaf_CamPath has a different Camera that does not exist in the scene.
Also if you have something selected other then a Camera and a (YafaRay Camera) you'll get an alert "Selected camera is not valid, using scene camera instead. <--- This is misleading in the above scenario. What is odd here, is, this area of the script is for a none selected camera. As you can see, the selected object is a Camera.
CameraFnSet
Code: Select all
for(var i=0;i<numChildren;i++) {
var childNode = curNode + "/" + Node.SubObject(curNode, i);
camera = FindSceneCamera(childNode);
if( camera != "")
Line 187 Node.Value(Space.CurrentScene() + "/YafaRay4tS", "Yaf_CamChoice") = "0" <- Add Switch to View
return camera;
}
With the Camera selected as View
1.) Select an object (not camera), Render, and read message. Camera does not switch to View
2.) Select a YafaRay Camera, Render, and read message. Camera does not switch to View
3.) With nothing selected and no camera in the scene, Render, and read message. Camera switches to View
3.) With nothing selected, no camera in the scene, and empty Yaf_CamPath, Render, and read message. Camera switches to View
Add the code above to CameraFnSet and repeat steps.