RSSY Iray to 3Delight Converter

1456810

Comments

  • RiverSoft ArtRiverSoft Art Posts: 6,636
    edited September 2018
    Choppski said:

    OK, getting frustrated. I reinstalled everything, but here's the thing. when I open the script the general is number one. I have tried moving it up (down doesn't work), and that helps, but if I reopen then the general shader is at the top. I tried removing it and readding it (though I am not sure I put the regular expression for it correctly. But it showed up at the bottom. I reloaded the script and it was back at the top. Also, I added one of my own presets and then match wouldn't work. THe preset was a dsa file--I suppose those are not allowed?

    I am sorry about the problems.  It sounds like the save for the Presets is failing (located in Data/RiverSoft Art/Data/RSSY 3Delight To Iray Shader Presets.xml), which should happen automatically when you quit.  When you quit, what does the log say?  It is helpful if you set output_debug = true in the Data/RiverSoft Art/Common/IrayTo3DLConstants.dsa file (or 3DLToIrayConstants.dsa file, depending on the product).  Just use a text editor to edit the file.  This gives me more debug information.  After quitting, has the Data/RiverSoft Art/Data/RSSY 3Delight To Iray Shader Presets.xml file changed?  If you are comfortable with XML, you can also just directly edit that file yourself.

    p.s. I must have missed the forum notification.  I am sorry for answering so late.

    Post edited by RiverSoft Art on
  • Where do I download the script? I cannot find neither a download button nor a link.

    Thank you!

    That is a Daz issue.  Wherever you usually download the products from.  I use DIM.

  • RiverSoft ArtRiverSoft Art Posts: 6,636
    edited September 2018

    I've not once in my DStime used Iray...because I mostly use Carrara.

     

    But I'm trying these out

    https://sharecg.com/v/85120/gallery/21/DAZ-Studio/AllenArt-Iray-Jewelry-Shaders?interstitial_displayed=Yes

    on a plain ol' primitive sphere. it renders squarey?

     

    And when i use this script...POOF! Where'd it all go? its a gray ball again

    The script does not convert shaders.  It replaces parts of materials with others, depending what the match is for the surface.  What is the match?

    Post edited by RiverSoft Art on
  • AllenArtAllenArt Posts: 7,169
    edited September 2018

    I've not once in my DStime used Iray...because I mostly use Carrara.

     

    But I'm trying these out

    https://sharecg.com/v/85120/gallery/21/DAZ-Studio/AllenArt-Iray-Jewelry-Shaders?interstitial_displayed=Yes

    on a plain ol' primitive sphere. it renders squarey?

     

    And when i use this script...POOF! Where'd it all go? its a gray ball again

    Because the smoothing is off for faceted gemstones. You need to turn the smoothing back on in the iray shader (it's at the bottom of the list in the tab for that shader preset)

    As for the 3Delight shader, I can't help you. I only do Iray :/

    Laurie

    Post edited by AllenArt on
  • AllenArt said:

    I've not once in my DStime used Iray...because I mostly use Carrara.

     

    But I'm trying these out

    https://sharecg.com/v/85120/gallery/21/DAZ-Studio/AllenArt-Iray-Jewelry-Shaders?interstitial_displayed=Yes

    on a plain ol' primitive sphere. it renders squarey?

     

    And when i use this script...POOF! Where'd it all go? its a gray ball again

    Because the smoothing is off for faceted gemstones. You need to turn the smoothing back on in the iray shader (it's at the bottom of the list in the tab for that shader preset)

    As for the 3Delight shader, I can't help you. I only do Iray :/

    Laurie

    Thanks for the help! smiley

  • VIArtsVIArts Posts: 1,509

    oh, okay, so if a product page says

    Daz Studio Iray Shader Presets (.DUF)

    it won't convert, but if it says

    DAZ Studio Iray Material Presets (.DUF)

    it will? Okay... Darn...

  • RiverSoft ArtRiverSoft Art Posts: 6,636
    edited September 2018

    oh, okay, so if a product page says

    Daz Studio Iray Shader Presets (.DUF)

    it won't convert, but if it says

    DAZ Studio Iray Material Presets (.DUF)

    it will? Okay... Darn...

    The script doesn't convert either.  It looks at the surfaces in the scene and converts it, preserving some things (like texture maps) and other things are lost.  

    Post edited by RiverSoft Art on
  • Choppski said:

    OK, getting frustrated. I reinstalled everything, but here's the thing. when I open the script the general is number one. I have tried moving it up (down doesn't work), and that helps, but if I reopen then the general shader is at the top. I tried removing it and readding it (though I am not sure I put the regular expression for it correctly. But it showed up at the bottom. I reloaded the script and it was back at the top. Also, I added one of my own presets and then match wouldn't work. THe preset was a dsa file--I suppose those are not allowed?

    I am sorry about the problems.  It sounds like the save for the Presets is failing (located in Data/RiverSoft Art/Data/RSSY 3Delight To Iray Shader Presets.xml), which should happen automatically when you quit.  When you quit, what does the log say?  It is helpful if you set output_debug = true in the Data/RiverSoft Art/Common/IrayTo3DLConstants.dsa file (or 3DLToIrayConstants.dsa file, depending on the product).  Just use a text editor to edit the file.  This gives me more debug information.  After quitting, has the Data/RiverSoft Art/Data/RSSY 3Delight To Iray Shader Presets.xml file changed?  If you are comfortable with XML, you can also just directly edit that file yourself.

    p.s. I must have missed the forum notification.  I am sorry for answering so late.

    No Problem.For the iray to 3dl,  I have now just made it a practice to check the order of the shaders before I ask the script to match, and I move the general to the end. Interestingly, I bought the 3dl to iray also, and it had the same problem at first. But I moved the general shader once and so far it seems to be remaining at the end.

    I am still curious about the last part of my question though. I tried to add a preset (one of dzfire's chrome presets) and it wouldn't add it. however it is a dsa file. Do those work. I can use it without the script, but the script wouldn't add it. these are old shaders, possibly from before ds4.

  • Choppski said:
    Choppski said:

    OK, getting frustrated. I reinstalled everything, but here's the thing. when I open the script the general is number one. I have tried moving it up (down doesn't work), and that helps, but if I reopen then the general shader is at the top. I tried removing it and readding it (though I am not sure I put the regular expression for it correctly. But it showed up at the bottom. I reloaded the script and it was back at the top. Also, I added one of my own presets and then match wouldn't work. THe preset was a dsa file--I suppose those are not allowed?

    I am sorry about the problems.  It sounds like the save for the Presets is failing (located in Data/RiverSoft Art/Data/RSSY 3Delight To Iray Shader Presets.xml), which should happen automatically when you quit.  When you quit, what does the log say?  It is helpful if you set output_debug = true in the Data/RiverSoft Art/Common/IrayTo3DLConstants.dsa file (or 3DLToIrayConstants.dsa file, depending on the product).  Just use a text editor to edit the file.  This gives me more debug information.  After quitting, has the Data/RiverSoft Art/Data/RSSY 3Delight To Iray Shader Presets.xml file changed?  If you are comfortable with XML, you can also just directly edit that file yourself.

    p.s. I must have missed the forum notification.  I am sorry for answering so late.

    No Problem.For the iray to 3dl,  I have now just made it a practice to check the order of the shaders before I ask the script to match, and I move the general to the end. Interestingly, I bought the 3dl to iray also, and it had the same problem at first. But I moved the general shader once and so far it seems to be remaining at the end.

    I am still curious about the last part of my question though. I tried to add a preset (one of dzfire's chrome presets) and it wouldn't add it. however it is a dsa file. Do those work. I can use it without the script, but the script wouldn't add it. these are old shaders, possibly from before ds4.

    I don't know why it is not saving the presets for you.  Did you install with connect?  Maybe the file is in a directory where Daz prevents it from writing?

    You need to add .duf files.  A dsa file is a script and wouldn't be allowed.

  • kyoto kidkyoto kid Posts: 41,198
    edited September 2018

    ...dropped from the thread for a while as it seemed to have shifted more to the 3DL to Iray conversion..

    The Iray to 3DL converter is still on the wishlist as I am on a tight budget, but now with Wowie's new 3DL shader system finished as well as having IBL Master, think it may be time to purchase.

    Post edited by kyoto kid on
  • kyoto kid said:

    ...dropped from the thread for a while as it seemed to have shifted more to the 3DL to Iray conversion..

    The Iray to 3DL converter is still on the wishlist as I am on a tight budget, but now with Wowie's new 3DL shader system finished as well as having IBL Master, think it may be time to purchase.

    What is wowie's 3dl shadeer system?

  • TaozTaoz Posts: 9,971

    Wowie seems to be gone from the store, so where does he sell it? Or is it free?

  • kyoto kidkyoto kid Posts: 41,198
    edited September 2018

    ..here is a post where he mentions it back in December of last year along with a screenshot of the contols.

    https://www.daz3d.com/forums/discussion/comment/3186031/#Comment_3186031

    Here is where he mentions it is complete and available for testing:

    https://www.daz3d.com/forums/discussion/comment/3903376/#Comment_3903376

    Post edited by kyoto kid on
  • kyoto kid said:

    ...dropped from the thread for a while as it seemed to have shifted more to the 3DL to Iray conversion..

    The Iray to 3DL converter is still on the wishlist as I am on a tight budget, but now with Wowie's new 3DL shader system finished as well as having IBL Master, think it may be time to purchase.

    I hope it will help you.  I am a little unsure what Wowie's 3DL shader system is.  Are you hoping to have the RSSY script apply his shader to items?

  • kyoto kidkyoto kid Posts: 41,198
    edited September 2018

    ...not so much that as give me basic 3DL shaders and the proper parameters that I can build from using to use it.

    Post edited by kyoto kid on
  • kyoto kid said:

    ...not so much that as give me basic 3DL shaders and the proper parameters that I can build from using to use it.

    Well I hope it works for you smiley

  • PlatnumkPlatnumk Posts: 671

    Ok, so I just git this product but for some reason the script will not find iRay Hair items that are in the scene,  anybody got any suggestions be for I decide to return the product for a refund

     

    Screen Shot 2019-03-31 at 15.07.03.png
    2624 x 1530 - 1M
    Screen Shot 2019-03-31 at 15.07.33.png
    1509 x 1049 - 121K
  • ZarconDeeGrissomZarconDeeGrissom Posts: 5,412
    edited March 2019

    ah, maybe that is not an iray mat, or maybe it only sees an item if all of the surface zones on the itrem have iray shaders on it.

    Some of the surface tab item names look like a mix of 3DL AoA and 3dl Omni shaders. just a thought. not sure, I forgot to get this product when I had play funds.   Iray shader stuff usually has blue colored items in that shader tab, not gray (akin to this).

    Another thought, while daz studio can load stuff outside of the content library folders, some scripts and stuff can't see stuff outside the content library (if that hair was not installed via DIM/daz-whatever).

    IraySurfaces_01001.png
    512 x 540 - 32K
    notAllIray_001.png
    512 x 400 - 51K
    Post edited by ZarconDeeGrissom on
  • PlatnumkPlatnumk Posts: 671

    The strange thing is,  Is the the Zola Hair (the one I have pictured) is iRay only

  • ZarconDeeGrissomZarconDeeGrissom Posts: 5,412
    edited March 2019

    "custom OOT Hairblending Iray shader", "Layered Image Editor".  It may be spaghetti-land (or costume scripted shader), not even the "Iray Uber" that this tool is for. What does each shader surface say for the 'shader' (the part I circled in your screen cap) when selected individually in that tab? (I stopped getting OOT stuff when OOT stopped selling 3DL stuff many months ago)

    Post edited by ZarconDeeGrissom on
  • PlatnumkPlatnumk Posts: 671

    You might be right about the shader thats being used,  As I normally use the Reality Plugin I can get iRay hair to work but its does take a lot of adjustments.

    Most of the later OOT Hairs that I have is because thay cam as part of a bundle.

    Screen Shot 2019-03-31 at 18.22.15.png
    527 x 626 - 104K
  • RiverSoft ArtRiverSoft Art Posts: 6,636
    Platnumk said:

    You might be right about the shader thats being used,  As I normally use the Reality Plugin I can get iRay hair to work but its does take a lot of adjustments.

    Most of the later OOT Hairs that I have is because thay cam as part of a bundle.

    I am sorry you are having difficulty.  Could you post the log for when you scan the hair?

  • AlmightyQUESTAlmightyQUEST Posts: 2,005
    The hairs from OOT generally don't use the standard iray uber shader, as you show in your screenshot. As far as I know, I don't think the script picks up not standard shaders? But, if it's anything like the 3delight to Iray converter, you have access to the shaders, so if you only have a couple hair items in the scene, you could apply the hair preset to those surfaces manually after converting the rest of the scene?
  • ZarconDeeGrissomZarconDeeGrissom Posts: 5,412
    edited April 2019

    ditto ^ , not the "Iray Uber" shader, so the script simply assumes it's not an Iray shader. Shader builder or whatever the name of Spaghetti land, with the blocks that the user can plug them together to make a surface shader thing. It's simply been too long since I read about it, and forget the name of it in DS. It could also be a costume scripted shader akin to AoA (for Iray) as well, if Iray supports scripted shaders.

    I don't think it's worth your time RiverSoftArt to make a 'name detect' for the OOT shader, as you will need to do that for every single product that has it's own shader name in the surface tab. Not to say, a conversion process for every single possible combination of module input to output connection matrixes. Akin to making a simple linear script converter for Programmable Gate Array (PGA) chips that don't have the same basic function building blocks between them.

    Also, I remember some chatter way back about there being a possible Iray/3DL switch for  "Spaghetti land" that would let the user make a single shader for both render engines as well, just making the detect/convert process more complicated.

    "Spaghetti land", whatever this thing is called that wowie has a screencap of in the first post, lol.

    https://www.daz3d.com/forums/discussion/294816/importing-shader-builder-macros

    This is a can of worms, and my pore little mind hurts now, lol.

    Post edited by ZarconDeeGrissom on
  • RiverSoft ArtRiverSoft Art Posts: 6,636

    ditto ^ , not the "Iray Uber" shader, so the script simply assumes it's not an Iray shader. Shader builder or whatever the name of Spaghetti land, with the blocks that the user can plug them together to make a surface shader thing. It's simply been too long since I read about it, and forget the name of it in DS. It could also be a costume scripted shader akin to AoA (for Iray) as well, if Iray supports scripted shaders.

    I don't think it's worth your time RiverSoftArt to make a 'name detect' for the OOT shader, as you will need to do that for every single product that has it's own shader name in the surface tab. Not to say, a conversion process for every single possible combination of module input to output connection matrixes. Akin to making a simple linear script converter for Programmable Gate Array (PGA) chips that don't have the same basic function building blocks between them.

    Also, I remember some chatter way back about there being a possible Iray/3DL switch for  "Spaghetti land" that would let the user make a single shader for both render engines as well, just making the detect/convert process more complicated.

    "Spaghetti land", whatever this thing is called that wowie has a screencap of in the first post, lol.

    https://www.daz3d.com/forums/discussion/294816/importing-shader-builder-macros

    This is a can of worms, and my pore little mind hurts now, lol.

    Yes, the script looks for Iray Uber shader.  As you pointed out, without trying to code a ton of exceptions, there is no way the script knows what it is.

  • ChoppskiChoppski Posts: 523

    I have found that the easiest thing to do for sets that use custom iray shaders, is select everything, double click on the iray uber shader while holding control so that you can ignore textures, and then run the script. I actually do that with old poser material sets--convert them to iray and then run the iray to 3dl script and it gives better 3dl shaders (though sometimes manual changes are necessary). But many PA sets in the store use custom oray shaders for almost half the materials in a set. If I want them in 3dl, I just select all, convert to the iray ubershader, then run the script. I might still have to adjust a few things and sometimes tiling size is wonky and must be adjusted, but this still is much easier than going surface by surface myself.

  • RiverSoft ArtRiverSoft Art Posts: 6,636
    Choppski said:

    I have found that the easiest thing to do for sets that use custom iray shaders, is select everything, double click on the iray uber shader while holding control so that you can ignore textures, and then run the script. I actually do that with old poser material sets--convert them to iray and then run the iray to 3dl script and it gives better 3dl shaders (though sometimes manual changes are necessary). But many PA sets in the store use custom oray shaders for almost half the materials in a set. If I want them in 3dl, I just select all, convert to the iray ubershader, then run the script. I might still have to adjust a few things and sometimes tiling size is wonky and must be adjusted, but this still is much easier than going surface by surface myself.

    That is really good to know.  Thanks for sharing.

  • PlatnumkPlatnumk Posts: 671
    edited April 2019

    I've found a good way of converting OOT iRay Hair Shaders to 3Delight by using 2 of you products - RSSY 3Delight to iRay & RSSY iRay to 3Delight

    1. Apply the Base Shader that comes with the hair

    2. Apply the Hair Shader that comes with the RSSY 3Delight to iRay Converter

    3. Apply the desired material to the hair

    4. Run the iRay to 3Delight Converter & add a custom shader option for the Cap,Front,Sides and point it to the Hair Shader that comes with the RSSY iRay to 3Delight Converter

    5. Run the script as normal

    Note: After conversion you may need to use PS or GIMP to adjust the Opacity Maps

    Hopefully other will finds this useful.

    Screen Shot 2019-04-01 at 00.24.18.png
    1509 x 1049 - 482K
    Post edited by Platnumk on
  • RiverSoft ArtRiverSoft Art Posts: 6,636
    Platnumk said:

     

    Platnumk said:

    I've found a good way of converting OOT iRay Hair Shaders to 3Delight by using 2 of you products - RSSY 3Delight to iRay & RSSY iRay to 3Delight

    1. Apply the Base Shader that comes with the hair

    2. Apply the Hair Shader that comes with the RSSY 3Delight to iRay Converter

    3. Apply the desired material to the hair

    4. Run the iRay to 3Delight Converter & add a custom shader option for the Cap,Front,Sides and point it to the Hair Shader that comes with the RSSY iRay to 3Delight Converter

    5. Run the script as normal

    Note: After conversion you may need to use PS or GIMP to adjust the Opacity Maps

    Hopefully other will finds this useful.

    Thank you very much for sharing!

  • Hi,

    just bought this one: https://www.daz3d.com/rssy-iray-to-3delight-converter-and-merchant-resource but it doesn't seem to be working.

    I'm using DS 4.12.0.86

    I load a simpe iray prop (I've tried a few) and select it in the scene tab (it's using the default iray uber shader with some settings and maps applied. I double-click to load the script, click 'scan' and it finds the surfaces, click 'Find Matches' and it applies the general shader (every time - haven't played enough to know if that's right), and then click 'Apply Presets' - at this point I can see it unselect all but one surface in the surfaces tab and no changes happen to any surface. After waiting and then clicking 'Accept' I get a message 'An error occurred while reading the file, see the log file for more details'. I can't make head nor tails of the log file but I attach what I believe to be the relevant part here.

    It's always line 707 if that helps.

    Would greatly appreciate any help.

    txt
    txt
    logpart.txt
    1K
Sign In or Register to comment.