Yafaray4tS v0.9.0

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

Re: Yafaray4tS v0.9.0

Post by trueBlue »

Sounds good!
Let me ask you a question first.
How do you render just one D3D image in trueSpace761?
Using Render to File, right?
Using tS's Render to File as an example, you can render 1 image or several.
R2F.PNG
R2F.PNG (8.81 KiB) Viewed 3320 times
This is why I removed the Image part from the panel.
Even using the Animation aspect in YafaRay4tS, you can render 1 image as shown:
Capture.PNG
Capture.PNG (11.75 KiB) Viewed 3327 times
Edit: 6/15/2018
I have discovered something while creating this panel, the RenderAnim node's attributes do not look right to me because they are missing an underscore between the names. Not sure how this is even working but does. Except I can not update these values because of this. I have tested fixing this and it seems to work.
Do you want me to fix this?
Start Frame attribute.PNG
What is and how does Zero Padding and Number Start work?
Should these be included on the Render to File panel?
I was trying to keep it as simple as possible.
This Render to File is a WIP, and is not finished , as it is not connected to the YafaRaytS panel yet.

I was toying with the idea to use your Zoom 2 Selection for the Render Object, but it zooms to close.
User avatar
clintonman
Captain
Posts: 5428
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: Yafaray4tS v0.9.0

Post by clintonman »

Render Animation and Render Image can be the same panel by adding an Animation checkbox. When Animation it defaults to on and when render image it defaults to off.
Clinton Reese

http://clintons3d.com
User avatar
clintonman
Captain
Posts: 5428
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: Yafaray4tS v0.9.0

Post by clintonman »

I updated the plugin file so that the save as file dialog can be pre-populated with a full file path. It won't have a blank file name when opened. I also changed the procedural textures so their preview appearance matches the rendered appearance.

Just found out can't upload rsx files to the forum.
Attachments
Clintons3dPlugin.zip
(1.22 MiB) Downloaded 133 times
Clinton Reese

http://clintons3d.com
User avatar
clintonman
Captain
Posts: 5428
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: Yafaray4tS v0.9.0

Post by clintonman »

attached is YafaRay4tS with some updates.

new file dialog that doesn't have a blank filename to start - requires new Clintons3dplugin plugin from previous post
animation can be cancelled by pressing the esc key
buttons just in case the Lighting Method watchdog falls asleep

yafaray install default checks 2 locations:
"C:\\Program Files\\Blender Foundation\\Blender\\2.79\\scripts\\addons\\yafaray_v3\\bin\\yafaray-xml.exe";
"C:\\Program Files\\yafaray_v3\\bin\\yafaray-xml.exe"

temp location default checks for
"C:\\Temp"
if that does not exist it uses the system temp folder for the user

I imagine we will change the temp folder to somewhere inside the trueSpace folders
Attachments
YafaRay4tS.RsObj
(693.32 KiB) Downloaded 134 times
Clinton Reese

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

Re: Yafaray4tS v0.9.0

Post by trueBlue »

Thanks Clinton!
I imagine we will change the temp folder to somewhere inside the trueSpace folders
Image Folder and Animation Folder added to the main directory for rendering images, both include an Image.png.

New update:
viewtopic.php?f=9&t=5446&p=52492#p52492

tS7.61B8.4_YafaRay4tS9_7
Updated Clintons3dPlugin.rsx v.1638412
Image Folder and Animation Folder added to the main directory for rendering images, both include an Image.png.
D3DView.RenderToFile.Settings.xml added that is set to the Image Folder
YafaRay4tS panel updated 6/15/2018
Image Folders with ImagePNG.PNG
Image Folders with ImagePNG.PNG (11.02 KiB) Viewed 3288 times
User avatar
trueBlue
Captain
Posts: 5213
Joined: 06 Jul 2009, 22:50
Type the number ten into the box: 10

Re: Yafaray4tS v0.9.0

Post by trueBlue »

clintonman wrote: 15 Jun 2018, 03:43 attached is YafaRay4tS with some updates.

new file dialog that doesn't have a blank filename to start - requires new Clintons3dplugin plugin from previous post
animation can be cancelled by pressing the esc key
buttons just in case the Lighting Method watchdog falls asleep

yafaray install default checks 2 locations:
"C:\\Program Files\\Blender Foundation\\Blender\\2.79\\scripts\\addons\\yafaray_v3\\bin\\yafaray-xml.exe";
"C:\\Program Files\\yafaray_v3\\bin\\yafaray-xml.exe"

temp location default checks for
"C:\\Temp"
if that does not exist it uses the system temp folder for the user

I imagine we will change the temp folder to somewhere inside the trueSpace folders
If the Output Render File string is empty I notice 4 problems.
Error.PNG
Error.PNG (10.23 KiB) Viewed 3275 times
Error2.PNG
Error3.PNG
Error3.PNG (2.65 KiB) Viewed 3275 times
I also got an error using the file button about the script GetFileRender. But I can not replicate.
User avatar
clintonman
Captain
Posts: 5428
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: Yafaray4tS v0.9.0

Post by clintonman »

trueBlue wrote: 15 Jun 2018, 18:01 ...
If the Output Render File string is empty I notice 4 problems.
Error.PNG
Error2.PNG
Error3.PNG
I also got an error using the file button about the script GetFileRender. But I can not replicate.
Ok I see it.
Steps are to reproduce are
1. empty the file name
2. render - gives blank render
3. render - get error shown

Also I need to make another change to the plugin file. The new file save as only works properly in winxp and needs an adjustment to work in win7 and up. In xp it defaults to the folder in win10 it defaults to the last folder opened.
Clinton Reese

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

Re: Yafaray4tS v0.9.0

Post by trueBlue »

Here is an update for the YafaRay4tS.
Changes:
Start Frame.png
Start Frame.png (45.83 KiB) Viewed 3333 times
YafaRay4tS panel
RenderAnim - Added an underscore to Start_Frame, End_Frame, Number_Start, and Zero_Padding. Re exported and re linked all attributes to the front panel. Changed them in ALL scripts and buttons in the YafaRaytS.RsObj where they were being used without the underscore.
R2File.PNG
Render to File has been updated and runs from the Render Animation icon.
Need to add the following command to the YafarayScripts/RenderAnimation

Code: Select all

//	Activity.Run(Space.CurrentScene()+"/YafaRay4tS/RenderAnim2");
Activity.Run(Space.CurrentScene()+"/YafaRay4tS/Open R2File");
Here is a scene with a built in Sequence Viewer into the YafaRay4tS/tSDisplay and exported out to the Animation aspect.
Create an animation.
Select the File Dialog and then select the first image in the rendered sequence.
Left click the display to Play and Right click to Pause.
Right click the Sequence Viewer button to Reset
Capture.PNG

Removed the YafaRay4tS Sequence Viewer.RsScn 6/19/2018 due to update
Removed the YafaRay4tS.RsObj due to update
User avatar
clintonman
Captain
Posts: 5428
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: Yafaray4tS v0.9.0

Post by clintonman »

Once the animation playback starts it never ends. It stops updating the image but the looping code goes on forever. I had to disconnect the input to the Run activity to make it stop.
You can see in the output console window all the timer events.

let me know when you reach a point of no changes to the yafaRay4tS node. after that I'll add the fix for the file dialog and look into the blank filename errors.
Clinton Reese

http://clintons3d.com
User avatar
clintonman
Captain
Posts: 5428
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: Yafaray4tS v0.9.0

Post by clintonman »

Sequence viewer is a nice touch btw. :bananathumb:
Clinton Reese

http://clintons3d.com
Post Reply