Yafaray4tS v0.9.0
-
clintonman
- Captain
- Posts: 5659
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
Re: Yafaray4tS v0.9.0
Rendered image and internal render window and tS preview along with the fully populated material for the leaf.
Testing and bug fixes. The scene was copied from Blender. Test showed that the preview transparency map values were the opposite of what is needed. Fixed by adding a Image Invert node from the compositing nodes.
Fixed diffuse map not fully clearing on the Shiny Diffuse material.
Found that the Pathtracing and Photon mapping "Use background" is not used anymore, adjusted to use the "Use IBL" option in the background panel instead.
I may replace the infinite light of the sunlight with a directional light so the preview will have shadows.
Testing and bug fixes. The scene was copied from Blender. Test showed that the preview transparency map values were the opposite of what is needed. Fixed by adding a Image Invert node from the compositing nodes.
Fixed diffuse map not fully clearing on the Shiny Diffuse material.
Found that the Pathtracing and Photon mapping "Use background" is not used anymore, adjusted to use the "Use IBL" option in the background panel instead.
I may replace the infinite light of the sunlight with a directional light so the preview will have shadows.
-
trueBlue
- Captain
- Posts: 5548
- Joined: 06 Jul 2009, 22:50
- Type the number ten into the box: 10
Re: Yafaray4tS v0.9.0
Looking good!
You sure are finding a lot of things that did not work previously.
Well done!
Are you still using iOptic?
Suggestion:
Keeping with the theme with the new update and or give the user a visual clue, change the color of your Yafaray4tS camera.
You sure are finding a lot of things that did not work previously.
Well done!
Are you still using iOptic?
Suggestion:
Keeping with the theme with the new update and or give the user a visual clue, change the color of your Yafaray4tS camera.
-
clintonman
- Captain
- Posts: 5659
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
Re: Yafaray4tS v0.9.0
That's a good idea, maybe for the lights too. What colors are you already using? or do you have a color suggestion for me?
I'll be switching back to iopti soon.
I'll be switching back to iopti soon.
-
trueBlue
- Captain
- Posts: 5548
- Joined: 06 Jul 2009, 22:50
- Type the number ten into the box: 10
Re: Yafaray4tS v0.9.0
The lights use the given color of the lights.
So if a users selects a Red color for the light, the Light's Shape turns Red.
Only thing you could do is change the Shape.
So if a users selects a Red color for the light, the Light's Shape turns Red.
Only thing you could do is change the Shape.
-
clintonman
- Captain
- Posts: 5659
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
Re: Yafaray4tS v0.9.0
Did a bunch of renders and didn't find any new bugs. Only thing is the Glossy material doesn't have Glossy Strength or Diffuse Strength map inputs.
glossy reflection test emit material test specular mapping tests translucency transparency
I looked at noise based volumetrics but the results don't look good or useful. Also looked at displacement map. In that case you have to feed it a high density mesh which doesn't seem like a good thing.
Time for final cleanup.
glossy reflection test emit material test specular mapping tests translucency transparency
I looked at noise based volumetrics but the results don't look good or useful. Also looked at displacement map. In that case you have to feed it a high density mesh which doesn't seem like a good thing.
Time for final cleanup.
-
bitkar
- Captain
- Posts: 2089
- Joined: 16 Mar 2010, 07:14
- Type the number ten into the box: 0
- Location: Czech Republic
Re: Yafaray4tS v0.9.0
god, i love the light emitting materials!
Michal aka bitkar
tS freak since tS2 (1998) and forever (tS7.61 modeler)
tS freak since tS2 (1998) and forever (tS7.61 modeler)
-
clintonman
- Captain
- Posts: 5659
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
Re: Yafaray4tS v0.9.0
One more round of changes. The original plan was to have the procedural textures only for the diffuse channel. Now everyone gets procedural texture maps. On top of that there were some mappings that were missing. All the settings have been moved into a separate node/panel and simplified/standardized so it will be straight forward to do all the other materials.
Images show the Specular Exponent value of the Glossy material mapped to an image. The other new map input for this material is the Glossy Reflect Map.
Images show the Specular Exponent value of the Glossy material mapped to an image. The other new map input for this material is the Glossy Reflect Map.
-
clintonman
- Captain
- Posts: 5659
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
Re: Yafaray4tS v0.9.0
Cleaned the material ui (sortof) for shiny difuse, glass, rough glass, glossy and coated glossy materials and set defaults to mostly match Blender defaults. Ready to start another set of render tests. The bump map portion remains unchanged. The blend material has no changes. These 2 will need to be tested to see if they need to be altered to work with the new mapping system.
On a side note the Yafaray website is down. The internet archive capture from May 30 shows the last page as "Sorry!
We are making changes to YafaRay.org. Sorry for the inconveniences...."
On a side note the Yafaray website is down. The internet archive capture from May 30 shows the last page as "Sorry!
We are making changes to YafaRay.org. Sorry for the inconveniences...."
-
clintonman
- Captain
- Posts: 5659
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
Re: Yafaray4tS v0.9.0
The bump map and the Blend material got broke by the changes. Bump maps for all the materials are fixed. The Blend material will export/render properly, but it's d3d preview is still broken.
I went to the Yafaray facebook page and this was posted, "Hi We are looking for a system administrator with a good grasp of the GDPR legislation to take care of the YafaRay site."
Sounds like they may be down for a while.
Not as bad as it sounds though, their stuff is up on Github and the yafaray.org is available on the internet archive site.
I went to the Yafaray facebook page and this was posted, "Hi We are looking for a system administrator with a good grasp of the GDPR legislation to take care of the YafaRay site."
Sounds like they may be down for a while.
-
bitkar
- Captain
- Posts: 2089
- Joined: 16 Mar 2010, 07:14
- Type the number ten into the box: 0
- Location: Czech Republic
Re: Yafaray4tS v0.9.0
lol... goddamn EU bureaucracy... I think they are overacting a bit maybe. What kind of personal data they had???
But everyone fears it, not only them.
Thats how we live in EU. God bless other non-EU countries. Maybe once i will move to USA. EU is worse and worse.
But everyone fears it, not only them.
Thats how we live in EU. God bless other non-EU countries. Maybe once i will move to USA. EU is worse and worse.
Michal aka bitkar
tS freak since tS2 (1998) and forever (tS7.61 modeler)
tS freak since tS2 (1998) and forever (tS7.61 modeler)
-
trueBlue
- Captain
- Posts: 5548
- Joined: 06 Jul 2009, 22:50
- Type the number ten into the box: 10
Re: Yafaray4tS v0.9.0
With regards to Yafaray4tS to with stand a Reset to Default Context, I was wanting to add the following lines to the reset,js file to the Update 4:
Is that the correct spelling ( Yafaray4tS ) and with your installation will you be adding the Yafaray4tS.rsobj to the preobjects folder?
Code: Select all
if(Node.Exists(rosDir + '\\scripts\\preObjects\\Yafaray4tS.rsobj')) {
RsFileIO.LoadObject( rosDir + '\\scripts\\preObjects\\Yafaray4tS.rsobj', '/');
}Is that the correct spelling ( Yafaray4tS ) and with your installation will you be adding the Yafaray4tS.rsobj to the preobjects folder?
-
clintonman
- Captain
- Posts: 5659
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
Re: Yafaray4tS v0.9.0
YafaRay4tS is the correct spelling. I would hold off adding it for now. The YafaRay4tS node exists inside a Yafaray Folder along with a GenerateIESprofileScript node. I might move that second script into the IES light or into the YafaRay4tS node.
-
clintonman
- Captain
- Posts: 5659
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
Re: Yafaray4tS v0.9.0
OK, after 100 million bugs it's back to working again.
All the previous renders work and added this new one showing glossy reflection texture map which wasn't possible before.
All the previous renders work and added this new one showing glossy reflection texture map which wasn't possible before.
-
trueBlue
- Captain
- Posts: 5548
- Joined: 06 Jul 2009, 22:50
- Type the number ten into the box: 10
-
clintonman
- Captain
- Posts: 5659
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
Re: Yafaray4tS v0.9.0
The Yafaray4tS will continue to live inside the Yafaray Folder node and I'll have the installer place it in the preobjects folder. So the code will be:trueBlue wrote: 06 Jun 2018, 17:13 With regards to Yafaray4tS to with stand a Reset to Default Context, I was wanting to add the following lines to the reset,js file to the Update 4:
Code: Select all
if(Node.Exists(rosDir + '\\scripts\\preObjects\\Yafaray4tS.rsobj')) { RsFileIO.LoadObject( rosDir + '\\scripts\\preObjects\\Yafaray4tS.rsobj', '/'); }
Is that the correct spelling ( Yafaray4tS ) and with your installation will you be adding the Yafaray4tS.rsobj to the preobjects folder?
Code: Select all
if(Node.Exists(rosDir + '\\scripts\\preObjects\\Yafaray Folder.rsobj')) {
RsFileIO.LoadObject( rosDir + '\\scripts\\preObjects\\Yafaray Folder.rsobj', '/');
}-
clintonman
- Captain
- Posts: 5659
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
Re: Yafaray4tS v0.9.0
First Beta ready for early adopters. See the zip file below.
Requires Clintons3dplugin which is included in the new unofficial updates or direct link.
viewtopic.php?t=5411
http://clintons3d.com/plugins/downloads ... Plugin.rsx
Latest Yafaray v3.3.0 can be found here: https://github.com/YafaRay/Blender-Exporter/releases
and here: https://github.com/YafaRay/Core/releases
One is made to work with Blender and the other is standalone, either one will work.
zip archive includes a script installer to integrate with the built in render buttons, "Yafaray Render Buttons Autoload.RsObj". This requires the persistent install on truespace - http://clintons3d.com/plugins/truespace ... stent.html
The help file is very much out of date. More support for texture maps comes with more awkward workflow.
Updated instructions/information coming in the near future...
Change notes:
lights for the background lighting previews.
light preview values
added a render shadow option to each light
procedural textures - clouds, marble,voronoi and wood
added blend values for texture maps
Fixed the draw parameters which changed with the new Yafaray 3 version
Added the standard render buttons for scene, area render and animation
render area needs right click to exit the area selection mode
progressive image saving updated for Yafaray v3
new blend material
updated material previews
Several redundant items were removed from the Render Settings panel
New option for the internal display based on iOptDetectors
http://rs.siprogs.sk/p/iOptDetectorsPage
will use trueSpace (non-Yafaray) lights in the render
Added new option to turn off caustic photons and diffuse photons for each light source.
Added new background cast shadows option and background sun shadow option.
Added smart blur value for image based lighting
Added photon map saving and loading
Additional rays on materials
Russian roulette for path tracing
Camera settings are on a new Yafaray camera which includes a button for setting the depth of field distance by choosing a scene item. Removed the zoom input which was not being used. Camera is found in the YafaRay4tS Setup library.
Added a "set frame range" button to set the animation range from the time line.
Found that the Pathtracing and Photon mapping "Use background" is not used anymore, adjusted to use the "Use IBL" option in the background panel instead.
includes script installer to integrate the built in render buttons, "Yafaray Render Buttons Autoload.RsObj"
added denoise option - note works poorly with the partial save timer, denoises with each file save=slow
photon mapping save and reuse
requires plugin
http://clintons3d.com/plugins/downloads ... Plugin.rsx
plugin is included in the new unofficial updates
viewtopic.php?t=5411
Requires Clintons3dplugin which is included in the new unofficial updates or direct link.
viewtopic.php?t=5411
http://clintons3d.com/plugins/downloads ... Plugin.rsx
Latest Yafaray v3.3.0 can be found here: https://github.com/YafaRay/Blender-Exporter/releases
and here: https://github.com/YafaRay/Core/releases
One is made to work with Blender and the other is standalone, either one will work.
zip archive includes a script installer to integrate with the built in render buttons, "Yafaray Render Buttons Autoload.RsObj". This requires the persistent install on truespace - http://clintons3d.com/plugins/truespace ... stent.html
The help file is very much out of date. More support for texture maps comes with more awkward workflow.
Updated instructions/information coming in the near future...
Change notes:
lights for the background lighting previews.
light preview values
added a render shadow option to each light
procedural textures - clouds, marble,voronoi and wood
added blend values for texture maps
Fixed the draw parameters which changed with the new Yafaray 3 version
Added the standard render buttons for scene, area render and animation
render area needs right click to exit the area selection mode
progressive image saving updated for Yafaray v3
new blend material
updated material previews
Several redundant items were removed from the Render Settings panel
New option for the internal display based on iOptDetectors
http://rs.siprogs.sk/p/iOptDetectorsPage
will use trueSpace (non-Yafaray) lights in the render
Added new option to turn off caustic photons and diffuse photons for each light source.
Added new background cast shadows option and background sun shadow option.
Added smart blur value for image based lighting
Added photon map saving and loading
Additional rays on materials
Russian roulette for path tracing
Camera settings are on a new Yafaray camera which includes a button for setting the depth of field distance by choosing a scene item. Removed the zoom input which was not being used. Camera is found in the YafaRay4tS Setup library.
Added a "set frame range" button to set the animation range from the time line.
Found that the Pathtracing and Photon mapping "Use background" is not used anymore, adjusted to use the "Use IBL" option in the background panel instead.
includes script installer to integrate the built in render buttons, "Yafaray Render Buttons Autoload.RsObj"
added denoise option - note works poorly with the partial save timer, denoises with each file save=slow
photon mapping save and reuse
requires plugin
http://clintons3d.com/plugins/downloads ... Plugin.rsx
plugin is included in the new unofficial updates
viewtopic.php?t=5411
- Attachments
-
- YafaRay4tSv090-beta.zip
- (1.93 MiB) Downloaded 220 times
-
bitkar
- Captain
- Posts: 2089
- Joined: 16 Mar 2010, 07:14
- Type the number ten into the box: 0
- Location: Czech Republic
Re: Yafaray4tS v0.9.0
i have had no time recently, so iam not sure if i will test it out. But if someone does, can you make a video of how the workflow looks like now? Setting up materials, lights, render... or even the installation process.
Definatly BIG thanks to Clinton
Definatly BIG thanks to Clinton
Michal aka bitkar
tS freak since tS2 (1998) and forever (tS7.61 modeler)
tS freak since tS2 (1998) and forever (tS7.61 modeler)
-
trueBlue
- Captain
- Posts: 5548
- Joined: 06 Jul 2009, 22:50
- Type the number ten into the box: 10
Re: Yafaray4tS v0.9.0
For whatever reason the above code does not work.clintonman wrote: 08 Jun 2018, 00:24YafarayNodeLocation.jpgtrueBlue wrote: 06 Jun 2018, 17:13 With regards to Yafaray4tS to with stand a Reset to Default Context, I was wanting to add the following lines to the reset,js file to the Update 4:
Code: Select all
if(Node.Exists(rosDir + '\\scripts\\preObjects\\Yafaray4tS.rsobj')) { RsFileIO.LoadObject( rosDir + '\\scripts\\preObjects\\Yafaray4tS.rsobj', '/'); }
Is that the correct spelling ( Yafaray4tS ) and with your installation will you be adding the Yafaray4tS.rsobj to the preobjects folder?
The Yafaray4tS will continue to live inside the Yafaray Folder node and I'll have the installer place it in the preobjects folder. So the code will be:
Code: Select all
if(Node.Exists(rosDir + '\\scripts\\preObjects\\Yafaray Folder.rsobj')) { RsFileIO.LoadObject( rosDir + '\\scripts\\preObjects\\Yafaray Folder.rsobj', '/'); }
The only way I could get it to work is as follows:
Code: Select all
Node.Create("Kernel Package/Object","/");
Node.Rename("/Object","Yafaray Folder")
RsFileIO.LoadObject( rosDir + '\\scripts\\preObjects\\YafaRay4tS.rsobj', '/Yafaray Folder/');
RsFileIO.LoadObject( rosDir + '\\scripts\\preObjects\\GenerateIESprofileScript.rsobj', '/Yafaray Folder/');Also have to add both objects to the updates.
Changed the Install/Uninstall scripts to accommodate the above. (See attachment)
Let me know if this works for you and I will add it to the updates.
Suggestions:
YafaRay4tS panel
Save Settings button - Add save YafaRay4tS.RsObj to the preobjects folder?
Yafaray4tS toolbar
Yafaray Settings - Opens Direct Lighting and not Render Settings?
Add Yafaray Render Buttons Autoload to installer?
- Attachments
-
- YafaRay4tSv090-beta (2).zip
- (2.17 MiB) Downloaded 203 times
-
clintonman
- Captain
- Posts: 5659
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
Re: Yafaray4tS v0.9.0
Original code was
My change without really looking at it was
It should have been
Here I'm assuming that it is supposed to load if the node doesn't already exist inside truespace.
Code: Select all
if(Node.Exists(rosDir + '\\scripts\\preObjects\\Yafaray4tS.rsobj')) {
RsFileIO.LoadObject( rosDir + '\\scripts\\preObjects\\Yafaray4tS.rsobj', '/');
}Code: Select all
if(Node.Exists(rosDir + '\\scripts\\preObjects\\Yafaray Folder.rsobj')) {
RsFileIO.LoadObject( rosDir + '\\scripts\\preObjects\\Yafaray Folder.rsobj', '/');
}Code: Select all
if(!Node.Exists('/Yafaray Folder')) {
RsFileIO.LoadObject( rosDir + '\\scripts\\preObjects\\Yafaray Folder.rsobj', '/');
}-
clintonman
- Captain
- Posts: 5659
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
Re: Yafaray4tS v0.9.0
Good ideas.trueBlue wrote: 08 Jun 2018, 20:15 ...
For whatever reason the above code does not work.
The only way I could get it to work is as follows:
...
Also have to add both objects to the updates.
Changed the Install/Uninstall scripts to accommodate the above. (See attachment)
Let me know if this works for you and I will add it to the updates.
Suggestions:
YafaRay4tS panel
Save Settings button - Add save YafaRay4tS.RsObj to the preobjects folder?
Yafaray4tS toolbar
Yafaray Settings - Opens Direct Lighting and not Render Settings?
Add Yafaray Render Buttons Autoload to installer?
Will save the Yafaray Folder to preobjects when the save settings button is pressed
The right click button goes to the active lighting model. There is no "Render Settings" tab. Which tab do you think it should go?
I completely forgot about the Render Buttons until the last second. Ideally the resulting nodes would live inside the Yafaray4tS node, but it's a little bit of a pain to recompile the plugin code so I'll leave them in the Custom Commands and will include it in the Yafaray installer instead of having it separate.
-
clintonman
- Captain
- Posts: 5659
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
Re: Yafaray4tS v0.9.0
I just looked at the original yafaray right click button and it goes to the Setup tab. Most of the render settings are in other tabs.
I'm going to keep the new button right click to the render settings under the different lighting models.
I'm going to keep the new button right click to the render settings under the different lighting models.
-
trueBlue
- Captain
- Posts: 5548
- Joined: 06 Jul 2009, 22:50
- Type the number ten into the box: 10
Re: Yafaray4tS v0.9.0
Cool! The end goal was when a user resets the context, they would not have to save their settings again. So thanks for that!
The new code you have shown for the reset.js will not work either.
We need to have code that checks for it's existence in the main directory for those users that do not install Yafaray4tS.
When I first tried loading the YafaRay4tS.RsObj when it was not present in the main directory, the reset.js file did not run. When I put the check it did. We do not need to check if it exist in System because when you reset, it is deleted.
I guess we can try your
Edit: Nevermind, I will just include the Yafaray Folder with the update. Testng...
Okay it works but you will have to eliminate deleting the Yafaray Folder in the Uninstall script.
You know better which aspect should show better then I. What I was talking about is the left click (Yafaray Settings) goes to the Direct aspect. Where as the Default aspect has the Render Settings. I was thinking that the Render Settings would be a better choice?
Forgot to mention that I made a few modifications in that last attchment I up loaded.
YafaRay4tS panel
I removed the (Asp) Tab on the Display.
Lights library
Added icons to the lights
Setup library
Did a little panel editing and changed the color of the Yafary Camera's mesh.
Most of the icons were blank.
The new code you have shown for the reset.js will not work either.
We need to have code that checks for it's existence in the main directory for those users that do not install Yafaray4tS.
When I first tried loading the YafaRay4tS.RsObj when it was not present in the main directory, the reset.js file did not run. When I put the check it did. We do not need to check if it exist in System because when you reset, it is deleted.
I guess we can try your
Code: Select all
fso = new ActiveXObject("Scripting.FileSystemObject");Okay it works but you will have to eliminate deleting the Yafaray Folder in the Uninstall script.
You know better which aspect should show better then I. What I was talking about is the left click (Yafaray Settings) goes to the Direct aspect. Where as the Default aspect has the Render Settings. I was thinking that the Render Settings would be a better choice?
Forgot to mention that I made a few modifications in that last attchment I up loaded.
YafaRay4tS panel
I removed the (Asp) Tab on the Display.
Lights library
Added icons to the lights
Setup library
Did a little panel editing and changed the color of the Yafary Camera's mesh.
Most of the icons were blank.
-
clintonman
- Captain
- Posts: 5659
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
Re: Yafaray4tS v0.9.0
Got it, that does look better.trueBlue wrote: 08 Jun 2018, 23:00 ...
You know better which aspect should show better then I. What I was talking about is the left click (Yafaray Settings) goes to the Direct aspect. Where as the Default aspect has the Render Settings. I was thinking that the Render Settings would be a better choice?
Forgot to mention that I made a few modifications in that last attchment I up loaded.
YafaRay4tS panel
I removed the (Asp) Tab on the Display.
Lights library
Added icons to the lights
Setup library
Did a little panel editing and changed the color of the Yafary Camera's mesh.
Most of the icons were blank.
Now I see what you mean. The default tab does say "Render Settings". Most of those settings have been moved to the lighting methods. It was confusing to me because all the settings were together even though several are only valid with certain lighting methods. Here I removed the repeat items. The input color space and denoise items will be moved to the individual lighting method panels and No recursion will be removed, it belongs only in the path tracing panel.
So default will be almost empty. Any ideas to fill the space?
-
clintonman
- Captain
- Posts: 5659
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
Re: Yafaray4tS v0.9.0
Ok, will do.trueBlue wrote: 08 Jun 2018, 23:00 ...
Okay it works but you will have to eliminate deleting the Yafaray Folder in the Uninstall script.
...
-
trueBlue
- Captain
- Posts: 5548
- Joined: 06 Jul 2009, 22:50
- Type the number ten into the box: 10
Re: Yafaray4tS v0.9.0
Combine the Misc aspect with the Default aspect and delete the Misc aspect?
Or are you referring to Panel Properties?
Solid Background
Or are you referring to Panel Properties?
Solid Background
-
trueBlue
- Captain
- Posts: 5548
- Joined: 06 Jul 2009, 22:50
- Type the number ten into the box: 10
Re: Yafaray4tS v0.9.0
Think I going to need some instructions on how to use the materials.
Simple scene with a sphere painted with the blend material.
Does not seem to be working and the preview throws two errors.
Simple scene with a sphere painted with the blend material.
Does not seem to be working and the preview throws two errors.
- Attachments
-
- Space 3D3afe.RsScn
- (1.42 MiB) Downloaded 204 times
-
clintonman
- Captain
- Posts: 5659
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
Re: Yafaray4tS v0.9.0
The blend material has 2 parts, the second part is the Blend Material Collection found in the Yafaray4tS Setup library.trueBlue wrote: 09 Jun 2018, 13:51 Think I going to need some instructions on how to use the materials.
Simple scene with a sphere painted with the blend material.
Does not seem to be working and the preview throws two errors.
1. Setup 2 materials in the collection
2. Apply the Blend material to something
3. Press the preview button
I will move the Blend Material Collection to the Yaf materials library
-
clintonman
- Captain
- Posts: 5659
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
Re: Yafaray4tS v0.9.0
New beta-3 installer based on beta (2)
Save settings saves the "Yafaray Folder" node to the preobjects folder
Blend Material has better error message when Blend Material Collection is not in the scene
Moved Blend Material Collection into the Yaf materials library
Cleaned up the default tab a little bit
Removed extra files Yafaray4tS.RsObj, GenerateIESprofileScript.RsObj, Yafaray Render Buttons Autoload.RsObj
Installation changes
Replaced empty "Yafaray Folder" node with one that contains Yafaray4tS and GenerateIESprofileScript nodes
Added integrated button installation
Save "Yafaray Folder" to preobjects instead of Yafaray4tS and GenerateIESprofileScript nodes
Save settings saves the "Yafaray Folder" node to the preobjects folder
Blend Material has better error message when Blend Material Collection is not in the scene
Moved Blend Material Collection into the Yaf materials library
Cleaned up the default tab a little bit
Removed extra files Yafaray4tS.RsObj, GenerateIESprofileScript.RsObj, Yafaray Render Buttons Autoload.RsObj
Installation changes
Replaced empty "Yafaray Folder" node with one that contains Yafaray4tS and GenerateIESprofileScript nodes
Added integrated button installation
Save "Yafaray Folder" to preobjects instead of Yafaray4tS and GenerateIESprofileScript nodes
- Attachments
-
- YafaRay4tSv090-beta-3.zip
- (1.96 MiB) Downloaded 220 times
-
trueBlue
- Captain
- Posts: 5548
- Joined: 06 Jul 2009, 22:50
- Type the number ten into the box: 10
Re: Yafaray4tS v0.9.0
Here is some observations I notice. Not saying you should make any modifications.
Tested in tS761B84 with Vray.
After the Yafaray4tS installation completes the Offline Renderers and Vray panel shows in the Stack with Vray photo renderer selected as the Renderer.
Not a big deal just change from Vray to Yafaray.
I Reset to Default Context and the Yafaray render node is deleted.
Not sure what can be done about that.
Edit: This works.
Have to have an empty Offline renderers.rsobj in the preobjects folder.
As a test, I unloaded and uninstalled Vray from the Package Manager, then rebooted tS.
The Vray photo renderer node is still present but outlined in red.
I Reset to Default Context and the Offline Renderers node is deleted from System.
I intall Vray from the Package Manager and as soon as I Load Vray it creates the Offline Renderers node and adds the Vray photo renderer node inside.
Have not tested this but I wonder if the Offline Renderers node is not present, does your plugin create it?
Edit: Tested by running the installer and it does work, but the plugin does not.
The Yafaray4tS Uninstall script does not delete the Yafaray render node.
Tested in tS761B84 with Vray.
After the Yafaray4tS installation completes the Offline Renderers and Vray panel shows in the Stack with Vray photo renderer selected as the Renderer.
Not a big deal just change from Vray to Yafaray.
I Reset to Default Context and the Yafaray render node is deleted.
Not sure what can be done about that.
Edit: This works.
Have to have an empty Offline renderers.rsobj in the preobjects folder.
Code: Select all
if (!Node.Exists("/Offline renderers")) {
RsFileIO.LoadObject(System.GetMainDir() + '\\scripts\\preObjects\\Offline renderers.rsobj', '/');
try {
Node.Create("Clintons3D Package/Yafaray", "/Offline renderers");
} catch (err) {
System.Trace("Error: Clintons3D Package plugin should be installed first");
}
}
if (!Node.Exists("/Offline renderers/Yafaray")) {
try {
Node.Create("Clintons3D Package/Yafaray", "/Offline renderers");
} catch (err) {
System.Trace("Error: Clintons3D Package plugin should be installed first");
}
}The Vray photo renderer node is still present but outlined in red.
I Reset to Default Context and the Offline Renderers node is deleted from System.
I intall Vray from the Package Manager and as soon as I Load Vray it creates the Offline Renderers node and adds the Vray photo renderer node inside.
Have not tested this but I wonder if the Offline Renderers node is not present, does your plugin create it?
Edit: Tested by running the installer and it does work, but the plugin does not.
The Yafaray4tS Uninstall script does not delete the Yafaray render node.
-
clintonman
- Captain
- Posts: 5659
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
Re: Yafaray4tS v0.9.0
Thanks for the heads up. Need to make it survive context reset.
-
clintonman
- Captain
- Posts: 5659
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
Re: Yafaray4tS v0.9.0
Attached new material converter can be used with the new yafaray4ts
notes for previous version are here:
http://clintons3d.com/plugins/truespace ... erter.html
notes for previous version are here:
http://clintons3d.com/plugins/truespace ... erter.html
- Attachments
-
- D3DmaterialConverter.RsObj
- (1.67 MiB) Downloaded 210 times
-
trueBlue
- Captain
- Posts: 5548
- Joined: 06 Jul 2009, 22:50
- Type the number ten into the box: 10
Re: Yafaray4tS v0.9.0
Another issue is the toolbars. Need to Reset the toolbar prototypes.clintonman wrote: 09 Jun 2018, 21:37 Thanks for the heads up. Need to make it survive context reset.
If you decide to include your reset toolbars script, please add
Code: Select all
syncPrototype["WinGUID_Bar"] = 1;-
clintonman
- Captain
- Posts: 5659
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
Re: Yafaray4tS v0.9.0
Ok gotcha.trueBlue wrote: 09 Jun 2018, 21:43Another issue is the toolbars. Need to Reset the toolbar prototypes.clintonman wrote: 09 Jun 2018, 21:37 Thanks for the heads up. Need to make it survive context reset.
If you decide to include your reset toolbars script, please addCode: Select all
syncPrototype["WinGUID_Bar"] = 1;
Along with the change you mention above the plan for Reset survival uses this:
At the end of reset.js:
Code: Select all
// Execute
// Called to execute the command
function Execute(params)
{
var fso = new ActiveXObject("Scripting.FileSystemObject");
//
//Restore Yafaray toolbar
//
var name=WindowsManager.GetWindowsManagerNodeName();
if(Node.Exists("Toolbar Prototypes Encapsulator/YafaRayBar"))
WindowsManager.OpenToolbarFromPrototype("YafaRayBar",32,32,0,0);
Node.Rename(name+"/"+Node.SubObject(name,Node.SubObjectCount(name)-1),"YafaRayBar");
WindowsManager.SnapFrameToFrameEx(WindowsManager.GetWorkWindow(),name+"/YafaRayBar",19,10,310,-120);
WindowsManager.SetFrameOwnerFrame(name+"/YafaRayBar",WindowsManager.GetWorkWindow());
//
//Restore Yafaray Scripts
//
if(fso.FileExists(System.GetMainDir()+ "\\Scripts\\clintonobjects\\CustomScriptsStore\\YafarayScripts.RsObj"))
RsFileIO.LoadObject(System.GetMainDir()+ "\\Scripts\\clintonobjects\\CustomScriptsStore\\YafarayScripts.RsObj", "/Scripts/CustomCommands");
if(fso.FileExists(System.GetMainDir()+ "\\Scripts\\preobjects\\Yafaray Folder.RsObj"))
RsFileIO.LoadObject(System.GetMainDir()+ "\\Scripts\\preobjects\\Yafaray Folder.RsObj", "/");
//
//Add Yafaray to offline renderers
//
try {
Node.Create("Clintons3D Package/Yafaray", "/Offline renderers");
} catch (err) {
System.Trace("Error: Clintons3D Package plugin should be installed first");
}
//
//Restore Clintons Scripts
//
if(fso.FileExists(System.GetMainDir()+ "\\Scripts\\clintonobjects\\ReloadCustomScripts.RsObj")) {
RsFileIO.LoadObject(System.GetMainDir() + '\\Scripts\\clintonobjects\\ReloadCustomScripts.RsObj', "Scripts");
Activity.Run("Scripts/ReloadCustomScripts");
}
//
//Restore Clintons toolbar
//
if(Node.Exists("Toolbar Prototypes Encapsulator/ClintonToolbar"))
if(!Node.SubObjectCount("Toolbar Prototypes Encapsulator/ClintonToolbar") ==0){
var name=WindowsManager.GetWindowsManagerNodeName();
WindowsManager.CloseToolbar("ClintonToolbar");
WindowsManager.OpenToolbarFromPrototype("ClintonToolbar",32,32,0,0);
Node.Rename(name+"/"+Node.SubObject(name,Node.SubObjectCount(name)-1),"ClintonToolbarFrame");
WindowsManager.SnapFrameToFrameEx(WindowsManager.GetWorkWindow(),name+"/ClintonToolbarFrame",19,10,310,-60);
WindowsManager.SetFrameOwnerFrame(name+"/ClintonToolbarFrame",WindowsManager.GetWorkWindow());
}
}
-
trueBlue
- Captain
- Posts: 5548
- Joined: 06 Jul 2009, 22:50
- Type the number ten into the box: 10
Re: Yafaray4tS v0.9.0
Have you tested this in your reset.js file?
If so maybe you can share your reset.js file
Have not tried this yet. See the 3 comments
Not sure how to insert this code into the reset.js file as it is different then a normal script.
If so maybe you can share your reset.js file
Have not tried this yet. See the 3 comments
Not sure how to insert this code into the reset.js file as it is different then a normal script.
Code: Select all
function Execute(params)
{
[b]// tB - Are you saying to include the above lines in the reset,js file?[/b]
var fso = new ActiveXObject("Scripting.FileSystemObject");
//
//Restore Yafaray toolbar
//
var name=WindowsManager.GetWindowsManagerNodeName();
if(Node.Exists("Toolbar Prototypes Encapsulator/YafaRayBar"))
WindowsManager.OpenToolbarFromPrototype("YafaRayBar",32,32,0,0);
Node.Rename(name+"/"+Node.SubObject(name,Node.SubObjectCount(name)-1),"YafaRayBar");
WindowsManager.SnapFrameToFrameEx(WindowsManager.GetWorkWindow(),name+"/YafaRayBar",19,10,310,-120);
WindowsManager.SetFrameOwnerFrame(name+"/YafaRayBar",WindowsManager.GetWorkWindow());
//
//Restore Yafaray Scripts
//
if(fso.FileExists(System.GetMainDir()+ "\\Scripts\\clintonobjects\\CustomScriptsStore\\YafarayScripts.RsObj"))
RsFileIO.LoadObject(System.GetMainDir()+ "\\Scripts\\clintonobjects\\CustomScriptsStore\\YafarayScripts.RsObj", "/Scripts/CustomCommands");
if(fso.FileExists(System.GetMainDir()+ "\\Scripts\\preobjects\\Yafaray Folder.RsObj"))
RsFileIO.LoadObject(System.GetMainDir()+ "\\Scripts\\preobjects\\Yafaray Folder.RsObj", "/");
//
//Add Yafaray to offline renderers
//
[b]//tB - This could be a problem given the different stages tS can be in with and without vray -> See the script I shared earlier.[/b]
try {
Node.Create("Clintons3D Package/Yafaray", "/Offline renderers");
} catch (err) {
System.Trace("Error: Clintons3D Package plugin should be installed first");
}
//
//Restore Clintons Scripts
//
if(fso.FileExists(System.GetMainDir()+ "\\Scripts\\clintonobjects\\ReloadCustomScripts.RsObj")) {
RsFileIO.LoadObject(System.GetMainDir() + '\\Scripts\\clintonobjects\\ReloadCustomScripts.RsObj', "Scripts");
Activity.Run("Scripts/ReloadCustomScripts");
}
//
//Restore Clintons toolbar
//
if(Node.Exists("Toolbar Prototypes Encapsulator/ClintonToolbar"))
if(!Node.SubObjectCount("Toolbar Prototypes Encapsulator/ClintonToolbar") ==0){
var name=WindowsManager.GetWindowsManagerNodeName();
WindowsManager.CloseToolbar("ClintonToolbar");
WindowsManager.OpenToolbarFromPrototype("ClintonToolbar",32,32,0,0);
Node.Rename(name+"/"+Node.SubObject(name,Node.SubObjectCount(name)-1),"ClintonToolbarFrame");
WindowsManager.SnapFrameToFrameEx(WindowsManager.GetWorkWindow(),name+"/ClintonToolbarFrame",19,10,310,-60);
WindowsManager.SetFrameOwnerFrame(name+"/ClintonToolbarFrame",WindowsManager.GetWorkWindow());
}
[b]// tB - Are you saying to include the next line in the reset,js file?[/b]
}-
clintonman
- Captain
- Posts: 5659
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
Re: Yafaray4tS v0.9.0
Oops, post got messed up. the change to reset.js is 2 lines at the end:
attached is the node that it loads and runs.
Code: Select all
RsFileIO.LoadObject( rosDir + '\\scripts\\preObjects\\PostReset.RsObj', scene);
ScriptObject.Execute("Project/Space 3D/PostReset");- Attachments
-
- PostReset.RsObj
- (8.68 KiB) Downloaded 259 times
-
trueBlue
- Captain
- Posts: 5548
- Joined: 06 Jul 2009, 22:50
- Type the number ten into the box: 10
Re: Yafaray4tS v0.9.0
LOL, could have sworn that I saw the mention of the PostReset before the post got messed up. 
Often wondered if one could load a script with the reset.js file. Very Cool!
Still testing the PostReset, the only thing I see is when Yafaray4tS is uninstalled, the PostReset adds the Yafaray render node.
Not to crazy about loading the toolbars, but that is just my opinion.
Could you live without that?
Also in the final release, will need to delete that script upon completion.
With the YafaraytS installation, if you run the installation after it is installed it throws an error. To fix that, if you add a check for the file version on the AboutBitmap's attribute 'YafaRay4tS_Version', and create a Question Yes/No/Cancel
Yes = "Would you like to run the Uninstall?"
No = Delete the script
Cancel = Delete the script
Also not to crazy about including the GenerateIESprofileScript.RsObj in the Yafaray Folder with the installation, but again just my opinion. LOL, I am trying to get over my OCD(S)
I get why you are doing that, it makes it simple.
Also not a big deal with the Yafaray installation when Vray is present, the installation opens the the Offline renderers, PhotoRender, and the Vray panels. I have seen you change the Combo Control's selection somewhere in your other scripts. Would be cool if you could change the Offline renderers to Yafaray.
And delete the Yafaray render node with the Uninstall.
Since I included the YafaRayBar prototype with the update, would you eliminate deleting it in the Uninstall script?
It is included in my Open trueSpace Toolbars within the Red Toolbox, which causes an error if it is not present.
Off topic, I do not remember this being an issue, when you use the TGA viewer, you need use a TGA image.
When you use the Internal Viewer you have to change the file image type, and does not support a TGA image?
This causes a problem with the default Setup - C:\Temp\yaf_test.tga, the MS DOS window hangs.
Often wondered if one could load a script with the reset.js file. Very Cool!
Still testing the PostReset, the only thing I see is when Yafaray4tS is uninstalled, the PostReset adds the Yafaray render node.
Not to crazy about loading the toolbars, but that is just my opinion.
Could you live without that?
Also in the final release, will need to delete that script upon completion.
With the YafaraytS installation, if you run the installation after it is installed it throws an error. To fix that, if you add a check for the file version on the AboutBitmap's attribute 'YafaRay4tS_Version', and create a Question Yes/No/Cancel
Yes = "Would you like to run the Uninstall?"
No = Delete the script
Cancel = Delete the script
Also not to crazy about including the GenerateIESprofileScript.RsObj in the Yafaray Folder with the installation, but again just my opinion. LOL, I am trying to get over my OCD(S)
I get why you are doing that, it makes it simple.
Also not a big deal with the Yafaray installation when Vray is present, the installation opens the the Offline renderers, PhotoRender, and the Vray panels. I have seen you change the Combo Control's selection somewhere in your other scripts. Would be cool if you could change the Offline renderers to Yafaray.
And delete the Yafaray render node with the Uninstall.
Since I included the YafaRayBar prototype with the update, would you eliminate deleting it in the Uninstall script?
It is included in my Open trueSpace Toolbars within the Red Toolbox, which causes an error if it is not present.
Off topic, I do not remember this being an issue, when you use the TGA viewer, you need use a TGA image.
When you use the Internal Viewer you have to change the file image type, and does not support a TGA image?
This causes a problem with the default Setup - C:\Temp\yaf_test.tga, the MS DOS window hangs.
-
clintonman
- Captain
- Posts: 5659
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
Re: Yafaray4tS v0.9.0
Explain. I don't see how to live without it. How get the toolbars back if they disappear with reset?trueBlue wrote: 10 Jun 2018, 15:11 ...
Not to crazy about loading the toolbars, but that is just my opinion.
Could you live without that?
...
Edit: Ok I see you have a toolbar loader. I prefer a one step process instead of reset and load one by one. The right click reset default context doesn't do anything, maybe we can do something with that: right click to reset and load all toolbars.
The button on your load toolbars is really small. I couldn't even tell it was a button at first. I think it needs something to help it stick out from the background, different color, bigger, a label.
Last edited by clintonman on 10 Jun 2018, 17:20, edited 1 time in total.
-
clintonman
- Captain
- Posts: 5659
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
Re: Yafaray4tS v0.9.0
That may have been something I did, not knowing the limitations of the TGA viewer. I'll load up an old version and see what's up.trueBlue wrote: 10 Jun 2018, 15:11 ...
Off topic, I do not remember this being an issue, when you use the TGA viewer, you need use a TGA image.
When you use the Internal Viewer you have to change the file image type, and does not support a TGA image?
This causes a problem with the default Setup - C:\Temp\yaf_test.tga, the MS DOS window hangs.
-
clintonman
- Captain
- Posts: 5659
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
Re: Yafaray4tS v0.9.0
Yep, you're gonna see a lot of that in the stuff I do. In programming there's a concept called DRY - Don't Repeat YourselftrueBlue wrote: 10 Jun 2018, 15:11 ...
Also not to crazy about including the GenerateIESprofileScript.RsObj in the Yafaray Folder with the installation, but again just my opinion. LOL, I am trying to get over my OCD(S)
I get why you are doing that, it makes it simple.
...
My programmers OCD won't let me have something in 3 different places when it can live in one place.
-
trueBlue
- Captain
- Posts: 5548
- Joined: 06 Jul 2009, 22:50
- Type the number ten into the box: 10
Re: Yafaray4tS v0.9.0
Before the PostReset came into play, the reset.js in the present update 4 included reloading your scripts (that are included in the update, some not all) and all of your toolbars are included in the update as well.
So they were Not lost with a reset.
Maybe you missed that part of the update. It is included in the release notes.
The only caveat is the update only included some not all of your scripts.
With your PostRest it loads all of your scripts that are present in the CustomScriptsStore, so that is even better.
Not a big deal, but it is not necessary to open the C3D toolbar with the PostReset script, thats all.
So they were Not lost with a reset.
Maybe you missed that part of the update. It is included in the release notes.
The only caveat is the update only included some not all of your scripts.
With your PostRest it loads all of your scripts that are present in the CustomScriptsStore, so that is even better.
Not a big deal, but it is not necessary to open the C3D toolbar with the PostReset script, thats all.
-
trueBlue
- Captain
- Posts: 5548
- Joined: 06 Jul 2009, 22:50
- Type the number ten into the box: 10
Re: Yafaray4tS v0.9.0
Not sure I am following you here. It is only an aditional tool to open tS761 toolbars.clintonman wrote: 10 Jun 2018, 17:01 Edit: Ok I see you have a toolbar loader. I prefer a one step process instead of reset and load one by one. The right click reset default context doesn't do anything, maybe we can do something with that: right click to reset and load all toolbars.
The RMB command for the reset is as shown. That is the original command before adding the Question a long time ago per request from Tiles. Not sure why it does not work for you.
- Attachments
-

- Capture.PNG (9.58 KiB) Viewed 4655 times
-
trueBlue
- Captain
- Posts: 5548
- Joined: 06 Jul 2009, 22:50
- Type the number ten into the box: 10
Re: Yafaray4tS v0.9.0
It is the Internal Display that I am referring to. I could be wrong but I do not remember it not supporting TGA.clintonman wrote: 10 Jun 2018, 17:12That may have been something I did, not knowing the limitations of the TGA viewer. I'll load up an old version and see what's up.trueBlue wrote: 10 Jun 2018, 15:11 ...
Off topic, I do not remember this being an issue, when you use the TGA viewer, you need use a TGA image.
When you use the Internal Viewer you have to change the file image type, and does not support a TGA image?
This causes a problem with the default Setup - C:\Temp\yaf_test.tga, the MS DOS window hangs.
From what I can tell from your code and release notes it has to do with the limitation of the BMP Transmitter?
-
trueBlue
- Captain
- Posts: 5548
- Joined: 06 Jul 2009, 22:50
- Type the number ten into the box: 10
Re: Yafaray4tS v0.9.0
Been meaning to ask you, is the convert d3d to yafaray script the only thing that changed?clintonman wrote: 10 Jun 2018, 17:19Yep, you're gonna see a lot of that in the stuff I do. In programming there's a concept called DRY - Don't Repeat YourselftrueBlue wrote: 10 Jun 2018, 15:11 ...
Also not to crazy about including the GenerateIESprofileScript.RsObj in the Yafaray Folder with the installation, but again just my opinion. LOL, I am trying to get over my OCD(S)
I get why you are doing that, it makes it simple.
...
My programmers OCD won't let me have something in 3 different places when it can live in one place.The Material Converter update posted a little while ago isn't so dry, so that will be dried up and much shorter in the final release.
The one that is included with the Material Editor update 4 is changed a little bit. I noticed that the file size of that update was bigger, and the culpert was your included Constant Shader. That image that is included in that shader is 1.5 MB. And it did not look like it was being used by any of your scripts. So I deleted ALL of the included shaders and loaded them from trueSpace instead, as an example:
Code: Select all
//tB
shader = RsFileIO.LoadObject(System.GetMainDir() + "\\RS Main Libraries\\Shaders - Alpha Shaders\\TextureAlpha.RsMat", d3dmat);
// shader = Node.Copy(owner + "/TextureAlpha", d3dmat);-
trueBlue
- Captain
- Posts: 5548
- Joined: 06 Jul 2009, 22:50
- Type the number ten into the box: 10
Re: Yafaray4tS v0.9.0
If it makes easier, was contemplating making YafaRay4tS a permanent part of trueSpace. Maybe even including a YafaRay layout. First need to iron out any installation or uninstall issues.
-
clintonman
- Captain
- Posts: 5659
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
Re: Yafaray4tS v0.9.0
I don't have that here. Maybe that's in a later update? Will get the latest and see.trueBlue wrote: 10 Jun 2018, 17:54Not sure I am following you here. It is only an aditional tool to open tS761 toolbars.clintonman wrote: 10 Jun 2018, 17:01 Edit: Ok I see you have a toolbar loader. I prefer a one step process instead of reset and load one by one. The right click reset default context doesn't do anything, maybe we can do something with that: right click to reset and load all toolbars.
The RMB command for the reset is as shown. That is the original command before adding the Question a long time ago per request from Tiles. Not sure why it does not work for you.
-
clintonman
- Captain
- Posts: 5659
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
Re: Yafaray4tS v0.9.0
The TGA viewer and the Optidetctors are separate. If opti is installed it uses that, if not it uses TGA viewer. Opti can display any format truespace can read. TGA I guess is limited to TGA formattrueBlue wrote: 10 Jun 2018, 17:59It is the Internal Display that I am referring to. I could be wrong but I do not remember it not supporting TGA.clintonman wrote: 10 Jun 2018, 17:12That may have been something I did, not knowing the limitations of the TGA viewer. I'll load up an old version and see what's up.trueBlue wrote: 10 Jun 2018, 15:11 ...
Off topic, I do not remember this being an issue, when you use the TGA viewer, you need use a TGA image.
When you use the Internal Viewer you have to change the file image type, and does not support a TGA image?
This causes a problem with the default Setup - C:\Temp\yaf_test.tga, the MS DOS window hangs.
From what I can tell from your code and release notes it has to do with the limitation of the BMP Transmitter?
-
clintonman
- Captain
- Posts: 5659
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
Re: Yafaray4tS v0.9.0
Yep, that's the only change and yesp I agree it is better to load in from disk as needed.trueBlue wrote: 10 Jun 2018, 18:14Been meaning to ask you, is the convert d3d to yafaray script the only thing that changed?clintonman wrote: 10 Jun 2018, 17:19Yep, you're gonna see a lot of that in the stuff I do. In programming there's a concept called DRY - Don't Repeat YourselftrueBlue wrote: 10 Jun 2018, 15:11 ...
Also not to crazy about including the GenerateIESprofileScript.RsObj in the Yafaray Folder with the installation, but again just my opinion. LOL, I am trying to get over my OCD(S)
I get why you are doing that, it makes it simple.
...
My programmers OCD won't let me have something in 3 different places when it can live in one place.The Material Converter update posted a little while ago isn't so dry, so that will be dried up and much shorter in the final release.
The one that is included with the Material Editor update 4 is changed a little bit. I noticed that the file size of that update was bigger, and the culpert was your included Constant Shader. That image that is included in that shader is 1.5 MB. And it did not look like it was being used by any of your scripts. So I deleted ALL of the included shaders and loaded them from trueSpace instead, as an example:
I am pretty sure there is a different (Better) way to load them verses from the Library.Code: Select all
//tB shader = RsFileIO.LoadObject(System.GetMainDir() + "\\RS Main Libraries\\Shaders - Alpha Shaders\\TextureAlpha.RsMat", d3dmat); // shader = Node.Copy(owner + "/TextureAlpha", d3dmat);
-
clintonman
- Captain
- Posts: 5659
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
Re: Yafaray4tS v0.9.0
Let me know what you come up with and I'll conform to it.trueBlue wrote: 10 Jun 2018, 19:33 If it makes easier, was contemplating making YafaRay4tS a permanent part of trueSpace. Maybe even including a YafaRay layout. First need to iron out any installation or uninstall issues.
-
trueBlue
- Captain
- Posts: 5548
- Joined: 06 Jul 2009, 22:50
- Type the number ten into the box: 10
Re: Yafaray4tS v0.9.0
The issue so far that I can see was mentioned here:
viewtopic.php?t=5446&start=10#p52454
With the YafaraytS installation, if you run the installation after it is installed it throws an error.
To fix that, if you add a check for the file version on the AboutBitmap's attribute 'YafaRay4tS_Version', and create a Question Yes/No/Cancel
Yes = "Would you like to run the Uninstall?"
No = Delete the script
Cancel = Delete the script
And resetting the toolbars.
viewtopic.php?t=5446&start=10#p52454
With the YafaraytS installation, if you run the installation after it is installed it throws an error.
To fix that, if you add a check for the file version on the AboutBitmap's attribute 'YafaRay4tS_Version', and create a Question Yes/No/Cancel
Yes = "Would you like to run the Uninstall?"
No = Delete the script
Cancel = Delete the script
And resetting the toolbars.
-
clintonman
- Captain
- Posts: 5659
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
Re: Yafaray4tS v0.9.0
I got the latest unofficial and the right click for default reset is in there.
In any case I'll just add a question to the PostReset script, "Do you want to reload the toolbars?"
In any case I'll just add a question to the PostReset script, "Do you want to reload the toolbars?"
-
trueBlue
- Captain
- Posts: 5548
- Joined: 06 Jul 2009, 22:50
- Type the number ten into the box: 10
Re: Yafaray4tS v0.9.0
Clinton, please try this first.clintonman wrote: 10 Jun 2018, 20:15 I got the latest unofficial and the right click for default reset is in there.
In any case I'll just add a question to the PostReset script, "Do you want to reload the toolbars?"
1.) Install the present Update 4.
2.) Important that you Reset the Default Context.
3.) Open your toolbars and try your scripts without running your Batch Installer for trueSpace7.61
Your Persistent install v2 for trueSpace7.61 IS part of the Update 4 for tS761B8 and tS761B8Std
As mentioned earlier some not all of your scripts and ALL of your toolbars are included.
It has been this way for several months now.
Is this not working for you, with regards to your toolbars?
-
clintonman
- Captain
- Posts: 5659
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
Re: Yafaray4tS v0.9.0
Yep, steps are:
Reset default
Push Gold Toolbar - get clintons3d toolbar
Push Red Toolbar
Push Red Toolbar inside the new toolbar
Choose YaRayToolbar from the list and push the button - get yafaray toolbar
I still prefer one step
reset default - get clintons3d toolbar and get yafaray toolbar
BTW I think there's a bug. When I close the tS761Toolbars, it won't open again unless I reset default.
Edit: It's the top x that makes it unload permanently. If you use the bottom x it will work again after closing
Reset default
Push Gold Toolbar - get clintons3d toolbar
Push Red Toolbar
Push Red Toolbar inside the new toolbar
Choose YaRayToolbar from the list and push the button - get yafaray toolbar
I still prefer one step
reset default - get clintons3d toolbar and get yafaray toolbar
BTW I think there's a bug. When I close the tS761Toolbars, it won't open again unless I reset default.
Edit: It's the top x that makes it unload permanently. If you use the bottom x it will work again after closing
-
trueBlue
- Captain
- Posts: 5548
- Joined: 06 Jul 2009, 22:50
- Type the number ten into the box: 10
Re: Yafaray4tS v0.9.0
Totally confused here. The tS761Toolbars and the Yafaray toolbar has nothing to do with my last post.
-
clintonman
- Captain
- Posts: 5659
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
Re: Yafaray4tS v0.9.0
If I push the red, it wont open anymore without default reset
Push green and can reopen.
Push green and can reopen.
-
clintonman
- Captain
- Posts: 5659
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
Re: Yafaray4tS v0.9.0
Ok, let's start over.
I do
1.) Install the present Update 4.
2.) Important that you Reset the Default Context.
3.) Open your toolbars and try your scripts without running your Batch Installer for trueSpace7.61
I get the toolbar and the scripts.
what is supposed to happen?
I do
1.) Install the present Update 4.
2.) Important that you Reset the Default Context.
3.) Open your toolbars and try your scripts without running your Batch Installer for trueSpace7.61
I get the toolbar and the scripts.
what is supposed to happen?
-
trueBlue
- Captain
- Posts: 5548
- Joined: 06 Jul 2009, 22:50
- Type the number ten into the box: 10
Re: Yafaray4tS v0.9.0
Yes this is true.
The top X closes the popup window in Windows Manager.
The bottom X deletes the object in the scene.
It is not necessary to have to reset the default context.
You can delete it in the scene or open a new scene.
Never the less I will add a command that deletes it first before opening it from the library.
Thanks for the heads up.
The top X closes the popup window in Windows Manager.
The bottom X deletes the object in the scene.
It is not necessary to have to reset the default context.
You can delete it in the scene or open a new scene.
Never the less I will add a command that deletes it first before opening it from the library.
Thanks for the heads up.
-
trueBlue
- Captain
- Posts: 5548
- Joined: 06 Jul 2009, 22:50
- Type the number ten into the box: 10
Re: Yafaray4tS v0.9.0
Clinton quote "Explain. I don't see how to live without it. How get the toolbars back if they disappear with reset?"clintonman wrote: 10 Jun 2018, 21:22 Ok, let's start over.
I do
1.) Install the present Update 4.
2.) Important that you Reset the Default Context.
3.) Open your toolbars and try your scripts without running your Batch Installer for trueSpace7.61
I get the toolbar and the scripts.
what is supposed to happen?
I guess the confusion for you and myself is if the toolbars should be opened after a reset.
It has always been since day one that the Yafaray toolbar could be saved with a layout or load it from the library.
Also was not sure if you understood if your scripts were being reloaded.
For me with the update, I am trying to respect that maybe some users may not want to install Yafaray4tS and or your C3D toolbar.
So with that said even though they will be included, installed, and availible with the update, the toolbars do not have to be opened when a user Resets the Default Context. The user has a fresh slate and can decide whatever they want to do.
So here is what I was thinking about doing with regards to the Yafaray toolbar.
Create a YafaRay4tS layout that includes the libraries and toolbar.
Your toolbars are already covered as you just have to open them from the Gold toolbox.
And you could certainly save a layout with your toolbars opened where ever you want.
With your PostReset ALL of you scripts will reload the scripts that are available in your CustomScriptsStore folder.
-
trueBlue
- Captain
- Posts: 5548
- Joined: 06 Jul 2009, 22:50
- Type the number ten into the box: 10
Re: Yafaray4tS v0.9.0
Copied from the Replace Thumbnail.RsObj found in the Objects - Tutorial Objects libraryclintonman wrote: 10 Jun 2018, 19:39The TGA viewer and the Optidetctors are separate. If opti is installed it uses that, if not it uses TGA viewer. Opti can display any format truespace can read. TGA I guess is limited to TGA formattrueBlue wrote: 10 Jun 2018, 17:59It is the Internal Display that I am referring to. I could be wrong but I do not remember it not supporting TGA.clintonman wrote: 10 Jun 2018, 17:12
That may have been something I did, not knowing the limitations of the TGA viewer. I'll load up an old version and see what's up.
From what I can tell from your code and release notes it has to do with the limitation of the BMP Transmitter?
Code: Select all
// RdBitmap flags
BFILEFMT_BMP = 0 // Save as bitmap file
BFILEFMT_JPG = 1 // Save as jpeg
BFILEFMT_TGA = 2 // TGA is not supported
BFILEFMT_PNG = 3 // Save as PNG
BFILEFMT_DDS = 4 // Save as DirectX DDS file
BFILEFMT_PPM = 5 // PPM is not supported
BFILEFMT_DIB = 6 // Save as Windows DIB
BFILEFMT_HDR = 7 // Save in HDR format
BFILEFMT_PFM = 8 // Save in Portable Pixmap format-
clintonman
- Captain
- Posts: 5659
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
Re: Yafaray4tS v0.9.0
No. If you use the "..." file button on the Yafaray4tS you can expand the extensions section to see the options.trueBlue wrote: 10 Jun 2018, 21:46 ...
Does Yafaray support DDS?
-
clintonman
- Captain
- Posts: 5659
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
Re: Yafaray4tS v0.9.0
"Off topic, I do not remember this being an issue, when you use the TGA viewer, you need use a TGA image."
This is verified. Manual run from the command window shows error message from TGA Viewer. It can open other formats but only accepts tga on the command line.
As it is now there is code in truespace is stopping it from even attempting to start TGA viewer.
Possible solution:
We can add a warning for this case, something like "TGA Viewer will only open tga files. You will have to open the file manually, do you wish to continue?"
If they say yes, they will get the error from the TGA Viewer, then theTGA Viewer will open without any open file.
This is verified. Manual run from the command window shows error message from TGA Viewer. It can open other formats but only accepts tga on the command line.
As it is now there is code in truespace is stopping it from even attempting to start TGA viewer.
Possible solution:
We can add a warning for this case, something like "TGA Viewer will only open tga files. You will have to open the file manually, do you wish to continue?"
If they say yes, they will get the error from the TGA Viewer, then theTGA Viewer will open without any open file.
-
trueBlue
- Captain
- Posts: 5548
- Joined: 06 Jul 2009, 22:50
- Type the number ten into the box: 10
Re: Yafaray4tS v0.9.0
Up to you. And change the default Setup - C:\Temp\yaf_test.tga to PNG? As that is the biggest problem because the Internal Display is the default presently.
-
clintonman
- Captain
- Posts: 5659
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
Re: Yafaray4tS v0.9.0
"When you use the Internal Viewer you have to change the file image type, and does not support a TGA image?
This causes a problem with the default Setup - C:\Temp\yaf_test.tga, the MS DOS window hangs. "
Internal viewer supports formats other than tga so not seeing the first sentence.
Had to do a bunch of testing to see second part. If external renderer is selected, then the Dos windows hangs. Internal Viewer had no hanging DOS windows.
This causes a problem with the default Setup - C:\Temp\yaf_test.tga, the MS DOS window hangs. "
Internal viewer supports formats other than tga so not seeing the first sentence.
Had to do a bunch of testing to see second part. If external renderer is selected, then the Dos windows hangs. Internal Viewer had no hanging DOS windows.
-
clintonman
- Captain
- Posts: 5659
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
Re: Yafaray4tS v0.9.0
I'm not seeing any problems with the internal viewer at all.trueBlue wrote: 10 Jun 2018, 23:53 Up to you. And change the default Setup - C:\Temp\yaf_test.tga to PNG? As that is the biggest problem because the Internal Display is the default presently.
Does the window not display?
Does it open then not show anything?
Do yo have external view also selected when doing internal view?
-
trueBlue
- Captain
- Posts: 5548
- Joined: 06 Jul 2009, 22:50
- Type the number ten into the box: 10
Re: Yafaray4tS v0.9.0
Hummm… just tested the default setup.
First run, the MS DOS opened (Even though it was suppose to be minimized) took a while but finally displayed the TGA in the Display. Second run no MS DOS window and displayed the TGA.
Now that I remember, it was when I first installed Beta1 and used an existing TGA file in my Temp directory that was from a previous install.
First run, the MS DOS opened (Even though it was suppose to be minimized) took a while but finally displayed the TGA in the Display. Second run no MS DOS window and displayed the TGA.
Now that I remember, it was when I first installed Beta1 and used an existing TGA file in my Temp directory that was from a previous install.
-
clintonman
- Captain
- Posts: 5659
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
Re: Yafaray4tS v0.9.0
Found a fix for the DOS window not closing. Inside RenderFnSet node is code to run the TGA viewer. Adding "start" to the beginning of the command makes the window close after starting the TGA_Viewer.exe file.
Code: Select all
if (Yaf_UseExternalViewer == true) {
if (Yaf_FileType == 'tga')
//File.WriteLine(System.GetMainDir() + '\\TGA_Viewer.exe "' + Yaf_RenderFilename + '"');
File.WriteLine('start ' + System.GetMainDir() + '\\TGA_Viewer.exe "' + Yaf_RenderFilename + '"');
}-
clintonman
- Captain
- Posts: 5659
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
Re: Yafaray4tS v0.9.0
Not seeing that here. That error usually happens if a file or folder is active and open.trueBlue wrote: 10 Jun 2018, 15:11 ...
With the YafaraytS installation, if you run the installation after it is installed it throws an error.
Yafaray4tS Reinstall.PNG
To fix that, if you add a check for the file version on the AboutBitmap's attribute 'YafaRay4tS_Version', and create a Question Yes/No/Cancel
Yes = "Would you like to run the Uninstall?"
No = Delete the script
Cancel = Delete the script
...
I ran installer 3 times without any file permission errors.
-
clintonman
- Captain
- Posts: 5659
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
Re: Yafaray4tS v0.9.0
Updated installer:
Fixed DOS window stuck open
Unhides error message about tga files that comes from the TGA_Viewer executable
Selects Yafaray as the offline renderer during the install
Does not delete Yaf toolbar when uninstalling
after setup opens to the setup tab
ContextSurvival script:
copies PostReset script to the preobjects and alters the reset.js file to use it
PostReset script:
option to open extra toolbars during context reset
deletes itself if loaded to "/"
Fixed DOS window stuck open
Unhides error message about tga files that comes from the TGA_Viewer executable
Selects Yafaray as the offline renderer during the install
Does not delete Yaf toolbar when uninstalling
after setup opens to the setup tab
ContextSurvival script:
copies PostReset script to the preobjects and alters the reset.js file to use it
PostReset script:
option to open extra toolbars during context reset
deletes itself if loaded to "/"
- Attachments
-
- ContextSurvival.RsObj
- (21.67 KiB) Downloaded 227 times
-
- YafaRay4tSv090-beta-4.zip
- (1.96 MiB) Downloaded 246 times
-
trueBlue
- Captain
- Posts: 5548
- Joined: 06 Jul 2009, 22:50
- Type the number ten into the box: 10
Re: Yafaray4tS v0.9.0
Here is the update for trueSpace 7.61
Yafaray4tS B4 included
Added a YafaRay4tS scene and layout
Updated the D3D to Yafaray script in the Material Editor
Updated the tS761 Toolbars.RsObj
Updated the Toolbars.RsObj
Changed the PostReset to C3DReset and moved some of the commands to the reset.js file
C3DReset is as follows
The above changes were made because several times the Yafaray render node was being created in System without the Offline renderers node using the PostReset script.
Edit: Added Yafaray Materials to the Material Editor
Right click the Library Place to enable Yafaray Materials and Components - Compositing in the D3D Materials library place
Added New Yafaray toolbar buttons
Edit4: All lights have been modified in primitives and the library
Yafaray Camera is a primitive now
Scene, and Light setup has the new lights
Edit5: Fixed the Lights again.
Edit6:
tS7.61B8.4_YafaRay4tS9_6
YafaRay4tS panel
Animation - Added Width and Height
Libraries
Added version "Y4tSv.0.9.0" to the library Discriptions for all nodes.
YafaRay4tS scene and light setup - Changed the Spot light's color to 140 140 140
Update YafaRay Render Node script
Changed the Alert to "Conversion to YafaRay4tS v0.9.0 complete."
Incorporated it into a Popup.
Render node
Changed defauts:
params.Param('vtData') = "C:" + "\\" + "Program Files" + "\\" + "yafaray_v3" + "\\" + "bin" + "\\" + "yafaray-xml.exe";
params.Param('vtData') = "C:" + "\\" + "Temp" + "\\" + "yaf_test.png";
Lighting Method Switch
Disconnecting/Reset the 'Change detect'/Reconnecting the Watch Dog before saving the Yafaray Folder seems to help.
Update4:
Add Render Scene icon to the Material Editor.
Changed loading the Tube object to a primitive. Only for loading, does not work like other widgets.
Edt7:
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
Yafaray4tS B4 included
Added a YafaRay4tS scene and layout
Updated the D3D to Yafaray script in the Material Editor
Updated the tS761 Toolbars.RsObj
Updated the Toolbars.RsObj
Changed the PostReset to C3DReset and moved some of the commands to the reset.js file
C3DReset is as follows
Code: Select all
function Execute(params)
{
Activity.Run("Scripts/ReloadCustomScripts");
if (!Node.Exists("/Offline renderers")) {
RsFileIO.LoadObject(System.GetMainDir() + '\\scripts\\preObjects\\Offline renderers.RsObj', '/');
try {
Node.Create("Clintons3D Package/Yafaray", "/Offline renderers");
} catch (err) {
System.Trace("Error: Clintons3D Package plugin should be installed first");
}
}
if (!Node.Exists("/Offline renderers/Yafaray")) {
try {
Node.Create("Clintons3D Package/Yafaray", "/Offline renderers");
} catch (err) {
System.Trace("Error: Clintons3D Package plugin should be installed first");
}
}
Node.Delete(System.ThisName())
}Edit: Added Yafaray Materials to the Material Editor
Right click the Library Place to enable Yafaray Materials and Components - Compositing in the D3D Materials library place
Added New Yafaray toolbar buttons
Edit4: All lights have been modified in primitives and the library
Yafaray Camera is a primitive now
Scene, and Light setup has the new lights
Edit5: Fixed the Lights again.
Edit6:
tS7.61B8.4_YafaRay4tS9_6
YafaRay4tS panel
Animation - Added Width and Height
Libraries
Added version "Y4tSv.0.9.0" to the library Discriptions for all nodes.
YafaRay4tS scene and light setup - Changed the Spot light's color to 140 140 140
Update YafaRay Render Node script
Changed the Alert to "Conversion to YafaRay4tS v0.9.0 complete."
Incorporated it into a Popup.
Render node
Changed defauts:
params.Param('vtData') = "C:" + "\\" + "Program Files" + "\\" + "yafaray_v3" + "\\" + "bin" + "\\" + "yafaray-xml.exe";
params.Param('vtData') = "C:" + "\\" + "Temp" + "\\" + "yaf_test.png";
Lighting Method Switch
Disconnecting/Reset the 'Change detect'/Reconnecting the Watch Dog before saving the Yafaray Folder seems to help.
Update4:
Add Render Scene icon to the Material Editor.
Changed loading the Tube object to a primitive. Only for loading, does not work like other widgets.
Edt7:
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
- Attachments
-
- tS7.61B8.4_YafaRay4tS9_7.zip
- (26.15 MiB) Downloaded 224 times
-
clintonman
- Captain
- Posts: 5659
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
Re: Yafaray4tS v0.9.0
Got it.
Does the C3DReset work with Vray installed?
Does the C3DReset work with Vray installed?
-
clintonman
- Captain
- Posts: 5659
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
Re: Yafaray4tS v0.9.0
I think something is missing. I see the libraries and toolbar but no actual yafaray4ts. The only yafaray buttons that work are the yafara lights.trueBlue wrote: 11 Jun 2018, 08:06 Here is the update for trueSpace 7.61
Yafaray4tS B4 included
...
Edit:
Nevermind, forgot to reset to default context
-
clintonman
- Captain
- Posts: 5659
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
Re: Yafaray4tS v0.9.0
This was several pages back so decided to repost these links.clintonman wrote: 08 Jun 2018, 03:37 ...
Latest Yafaray v3.3.0 can be found here: https://github.com/YafaRay/Blender-Exporter/releases
and here: https://github.com/YafaRay/Core/releases
One is made to work with Blender and the other is standalone, either one will work.
...
-
clintonman
- Captain
- Posts: 5659
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
Re: Yafaray4tS v0.9.0
Did some quick tests and it's looking good.
-
trueBlue
- Captain
- Posts: 5548
- Joined: 06 Jul 2009, 22:50
- Type the number ten into the box: 10
Re: Yafaray4tS v0.9.0
Yes. So far I have only tested installing this update to a fresh tS761 installation and then just now installed Vray and Reset the Default Context. Switched back and forth rendering from YafaRay4tS and Vray. Not seeing any problems so far.clintonman wrote: 11 Jun 2018, 14:33 Got it.
Does the C3DReset work with Vray installed?
Off topic, Rendering a Sphere from either Camera or View looks squashed in the internal Display. The image opened in a Photo Editor looks fine. 500x500
-
clintonman
- Captain
- Posts: 5659
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
Re: Yafaray4tS v0.9.0
Internal viewer isn't square so square picture will be squashed. iopti viewer doesn't have that problem. that's reason support was added for it.trueBlue wrote: 11 Jun 2018, 15:02Yes. So far I have only tested installing this update to a fresh tS761 installation and then just now installed Vray and Reset the Default Context. Switched back and forth rendering from YafaRay4tS and Vray. Not seeing any problems so far.clintonman wrote: 11 Jun 2018, 14:33 Got it.
Does the C3DReset work with Vray installed?
Off topic, Rendering a Sphere from either Camera or View looks squashed in the internal Display. The image opened in a Photo Editor looks fine. 500x500
-
trueBlue
- Captain
- Posts: 5548
- Joined: 06 Jul 2009, 22:50
- Type the number ten into the box: 10
Re: Yafaray4tS v0.9.0
Here is my contribution to all your hard work. Thank YOU!
YafaRay toolbar buttons
Added OfflineRender.OpenPreferencesPanel() commands where appropriate.
Added Apply/Remove Smooth Normals button. Has not been fully tested and no safe guard code is included. IE if node.exist etc...
Seems to work thus far without errors.
Edit: Changed the Render Setting buttons.
Added Activity.Run("/Yafaray Folder/YafaRay4tS/Switch2Yafaray");OfflineRender.OpenPreferencesPanel()
Added the Switch2Yafaray script to the included Yafaray Folder.
Edit2: Added Yafaray Camera and Yafaray Volume buttons
Edited the YafaRay4tS panel, mostly the bottom portion Output - Render File to be consistent on all aspects.
YafaRay toolbar buttons
Added OfflineRender.OpenPreferencesPanel() commands where appropriate.
Added Apply/Remove Smooth Normals button. Has not been fully tested and no safe guard code is included. IE if node.exist etc...
Seems to work thus far without errors.
Edit: Changed the Render Setting buttons.
Added Activity.Run("/Yafaray Folder/YafaRay4tS/Switch2Yafaray");OfflineRender.OpenPreferencesPanel()
Added the Switch2Yafaray script to the included Yafaray Folder.
Edit2: Added Yafaray Camera and Yafaray Volume buttons
Edited the YafaRay4tS panel, mostly the bottom portion Output - Render File to be consistent on all aspects.
-
clintonman
- Captain
- Posts: 5659
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
Re: Yafaray4tS v0.9.0
Looks good. Don't see any issues here.trueBlue wrote: 11 Jun 2018, 18:13 Here is my contribution to all your hard work. Thank YOU!
YafaRay toolbar buttons
Added OfflineRender.OpenPreferencesPanel() commands where appropriate.
Added Apply/Remove Smooth Normals button.
Capture.PNG
Has not been fully tested and no safe guard code is included. IE if node.exist etc...
Seems to work thus far without errors.
Edit: Changed the Render Setting buttons.
Added Activity.Run("/Yafaray Folder/YafaRay4tS/Switch2Yafaray");OfflineRender.OpenPreferencesPanel()
Added the Switch2Yafaray script to the included Yafaray Folder.
I do have a request. How about buttons for the yafaray camera and the volume object. They exist in the YafaRay4tS Setup library. Also would it be possible to add the Yaf materials library to the material editor list?
-
trueBlue
- Captain
- Posts: 5548
- Joined: 06 Jul 2009, 22:50
- Type the number ten into the box: 10
Re: Yafaray4tS v0.9.0
I uploaded the changes you requested.
If you right click the Library Place in the Material Editor the Yafaray Materials become available in the RS Main Library place.
Or are you wanting them to be in the D3D Materials library place? Edit: Included in both places
Edit: Updated the update 4 to include all recent changes.
Right click the Library Place to enable Yafaray Materials and Components - Compositing in the D3D Materials library place.
Also put links to download Yafaray v3.3.0 in the About aspect
If you right click the Library Place in the Material Editor the Yafaray Materials become available in the RS Main Library place.
Or are you wanting them to be in the D3D Materials library place? Edit: Included in both places
Edit: Updated the update 4 to include all recent changes.
Right click the Library Place to enable Yafaray Materials and Components - Compositing in the D3D Materials library place.
Also put links to download Yafaray v3.3.0 in the About aspect
-
clintonman
- Captain
- Posts: 5659
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
Re: Yafaray4tS v0.9.0
Sounds good. I have one more request. Can you version your uploads until the final release? Something like "tS7.61B8.4.Preview9" and then just remove the "Preview" postfix when it's done. It would be easier to see the updates, especially at the rate you are making changes.
Did you udate the main post or just the post a couple of pages back from this post?
I'll download both.
Did you udate the main post or just the post a couple of pages back from this post?
I'll download both.
-
trueBlue
- Captain
- Posts: 5548
- Joined: 06 Jul 2009, 22:50
- Type the number ten into the box: 10
Re: Yafaray4tS v0.9.0
Will do. Just posting here as any updates pertain to Yafaray4tS only/ I am done with any further updates other then Yafaray4tS.
-
clintonman
- Captain
- Posts: 5659
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
Re: Yafaray4tS v0.9.0
Thanks, 3rd time was the charm. I tried the update page version and it was too old, then the download a couple of pages back and it was a bad download. Downloaded again and all is good now.trueBlue wrote: 12 Jun 2018, 01:13 Will do. Just posting here as any updates pertain to Yafaray4tS only/ I am done with any further updates other then Yafaray4tS.
Next I'm going to clean up the sample scenes and post them. A lot of them have oldish versions of the Yaf node and materials. Then comes documentation.





















