YafaRay for trueSpace 2019

LightWorks, VRay, Dribble, YafaRay and more..
User avatar
clintonman
Captain
Posts: 5429
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: YafaRay for trueSpace 2019

Post by clintonman »

When I export the textures they have size 2048x2048 (frog body - color and normal), 1024x1024(eyes) and 512x512(tongue)
Clinton Reese

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

Re: YafaRay for trueSpace 2019

Post by clintonman »

d3dfixestest2.jpg
Tested with the modelside ducati scene and found that some bitmaps don't have a texture files. Fixed by creating random named textures when gathering textures for sharing in the yaf scene utils.
Clinton Reese

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

Re: YafaRay for trueSpace 2019

Post by clintonman »

d3dfixestest3.jpg
Found that old models used a different name for one of the internal material nodes. Added a global rename to the convert d3d compiled to shader.

Image shows that things need to have unique names. The tires are yellow because they are named cube,8 along with something else named cube,8 that is yellow.

The same problem happened in the previous ducati scene render, non-unique names messing up the colors, making the logo on the tank black.
Clinton Reese

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

Re: YafaRay for trueSpace 2019

Post by clintonman »

Final Versions that will go into the installer version.

YafaRay4tS:
removed the save scene after render portion of warning at the end of an animation render
when rendering d3d materials will look for node named "D3D material, 1" as well as "D3D material"

YafaRay4tS Scene Utilities:
button for gathering textures was broken - fixed
process d3d shaders to copy embedded textures out to disk so the render can see them
if bitmap has no associated file, one will be created so the render can see it during the "gathering textures for sharing"

D3d Material Converter:
Added a global rename to the convert d3d compiled to shader for old items using an old naming scheme
changed status message to use "Workspace" instead of "YafaRay"
was hard coded to find the material connected to a specific connector, "Mat Item 0", fixed by general search for "Mat Item X" - this gives better compatibility with lightworks materials which can be plugged into any of the Mat Item connectors
Attachments
YafaRay4tS101.RsObj
(988.12 KiB) Downloaded 130 times
YafaRay4tS Scene Utilities122.RsObj
(134.62 KiB) Downloaded 100 times
D3D Material Converter10.RsObj
(617.32 KiB) Downloaded 131 times
Clinton Reese

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

Re: YafaRay for trueSpace 2019

Post by clintonman »

Installer version Gamma2 release.

"Complete" except for documentation and any surprise bugs that may pop up.
See notes in previous post and Unofficial Release Oct 25 2019, earlier today.

Edit:
Change of plans. I wasn't going to add anything else new but the inaccessibility of the scene utilities and the problem of unique names and materials is bugging me. So I'm going to:
Move the YafaRay Scene Utilites into the YafaRay4tS node
Add a button in the Default aspect under the Scene Settings section to open it
Add a make names unique button so materials don't get mixed up in the render
Attachments
YafaRay4tSv097_gamma2.zip
(14.86 MiB) Downloaded 128 times
Clinton Reese

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

Re: YafaRay for trueSpace 2019

Post by clintonman »

uniquenamesmaterialsfixed.jpg
Unique names solves the yellow tire problem

Here it is the final final (I hope) YafaRay4tS node.

2 new buttons under scene utilites
Open Scene Utilites - popup window for the YafaRay Scene Utilites so there's no need to open the library and load it in
Make Names Unique - renames renderable items where the name has already been used

removed the close button from the Scene Utilities panel
Scene Utilites node lives inside the YafaRay4tS node and runs from the Yafaray Folder
Attachments
YafaRay4tS106.RsObj
(1.06 MiB) Downloaded 143 times
Clinton Reese

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

Re: YafaRay for trueSpace 2019

Post by trueBlue »

Thank you!
I included your updates in both of Unofficial Update(S)
Fixed the YafaRay4tS panel :mrgreen:
Removed the Scene Utilities from the library
User avatar
clintonman
Captain
Posts: 5429
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: YafaRay for trueSpace 2019

Post by clintonman »

trueBlue wrote: 26 Oct 2019, 17:33 ...
Fixed the YafaRay4tS panel :mrgreen:
...
I was like, "what's wrong with the panel?", then I remembered, oh yeah, I really hate the finicky ui editor so my results are less than pretty. :P :D
Clinton Reese

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

Re: YafaRay for trueSpace 2019

Post by trueBlue »

Added one more update to the Update(S)
Capture.PNG
Capture.PNG (9.83 KiB) Viewed 2822 times
D3D Materials button opens the D3D Materials Converter
User avatar
clintonman
Captain
Posts: 5429
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: YafaRay for trueSpace 2019

Post by clintonman »

Looks good.
Clinton Reese

http://clintons3d.com
Post Reply