Question About Temp Files

In an effort to optimize my workflow, I've started using the 3delight stand-alone renderer. This has been working great except for one caveat: once you create a RIB file to render either immediately or later, it NEEDS the temporary files from the scene to be in place in order for the textures, shaders, and materials to render correctly. Therefore if you create a batch of RIB files to render at a later time, you cannot close the scene, because those temp files will be deleted.
My question is this: if I were to go to the folder where the temp files are created/stored on my hard drive..copy it's contents..bounce out the RIB files and then close DAZ...if I were to then go back and paste the temp files back in the temp folder would that be a feasible solution to the problem? I wanted to ask before trying it because I don't like to poke around that part of the hard-drive too much and wanted to be made of any possible adverse effects. Thanks for your time!
Comments
You can see, and set, the location of the temp folder in Edit>Preferences.
Thanks for the response.I know how to find it but I guess what I'm wondering is if I copy the temp folder and close DAZ, and then re-paste the contents of the temp folder back in place..will it be as if the temp folder has never been altered in the first place until I reopen DAZ?
Yes, though I'm not sure you need to. There was some discussion of all this in another thread recently.
I was reading through a few threads and I probably know which one you're talking about. For some reason when I render through 3delight stand-alone.. if I close DAZ the textures won't load and I'll get an error message in Terminal about the fact that files are missing from the temp folder
HEy..I posted this in your other thread about rendering and working at the same time.
You've hit a bug in the system...
ahh sorry I missed this. Thanks for the insight. Well here's to waiting for 4.8!
the 4.8 beta is availalbe...I haven't tried it yet myself, though.
I haven't paid 4.8 beta much attention because it seemed focused on Iray and I don't have a powerful enough graphics card to handle it. I checked to see what they introduced/fixed in the beta release and they didn't mention this particular issue so I don't know. Maybe I'll try it out to check and be sure
You can use 3Delight if you don't want to use IRay or you can use your processor for IRay. It isn't required to have a 4GB gpu to use IRay. You can use CPU or GPU whichever you prefer.
Another thing you can do is take the RIB file into a Text edit software and change the target location that the RIB reads the TDL files from. change the target from your Temp folder to the Collected folder using the find feature in your text edit program. I use a MAC, so Windows may be slightly different, but you want to change this: /Users/YourDrive/Library/Application Support/DAZ 3D/Studio4/temp to whatever location the Collected folder is in. Without more specific information on where your Temp folder and Collected Folder are located, I can't give you more specific instructions. Another thing to note, and this may just be my system, or something unique to Macs, but my Temp folder does not clear out after I quit DAZ Studio. It only clears out after I restart DAZ Studio, or clear a scene to start a new picture. Thus, if I have to, I can run a render in 3DeLight from my Temp folder even with DAZ Studio shut down.
I have a mac too! maybe you can help me…
I'm in OS 10.7
When I render the RIB folder I save it to the desktop. My temp folder is in MacintoshHD>Users>username>Library>Application Support>DAZ 3D>Studio 4>temp
I have a few rib files from a series of renders that I did last night. I had a Kernel Panic and had to shut down the computer before I could start rendering them in 3delight (that's a whole other story..I've been getting Kernel panics while running DAZ all of a sudden and I'm waiting on a response from DAZ help).
When I try to render when DAZ is not open it says something along the lines of "can't find brickyard shader" and then when it renders none of the textures will load. Is there a way to salvage those .ribs I did?
The above is my path, your's may be a little different, but the basic steps are the same: change the first bolded path to the path of your _collected folder created for the RIB. That is presuming you created a _collected folder for your RIB file.
The above is my path, your's may be a little different, but the basic steps are the same: change the first bolded path to the path of your _collected folder created for the RIB. That is presuming you created a _collected folder for your RIB file.
Thanks a lot for your help on this. Does the regular TextEdit app work for this? That's what i was trying to use. Also, I'm not sure what I'm supposed to take out and what's supposed to be put in and where.. I know each space and each symbol is extremely important. I keep getting errors when rendering
Yes, Textedit works fine. That's what I use. First off, what's the path of your Temp folder and _collected folder? IF you don't know how to get the exact path, there is a trick using Terminal. First, open your RIB file in TextEdit and go to Edit>Find (or just hit Command F) Then open a Terminal Bash window and drag your Temp folder into it. This will give you the exact path to your Temp Folder in plain text. Copy and paste that into the Find line in the the opened Find window in TextEdit. Then drag your _collected folder into your Terminal Bash window to give you the path for that folder. Copy that path and paste that into the Replace With line in the Find window in TextEdit. Then hit the Replace All button and it will replace all of the Temp folder paths with the _collected folder paths.
Ok that makes sense but in the RIB file it points to what appears to be two folders in the dad temp folder in application support
Ok that makes sense but in the RIB file it points to what appears to be two folders in the dad temp folder in application support
Actually, only one of those two filders is a Temp folder. Look at them closely again. The one folder says Users/nicg/Library/Application Support/Daz 3D/ Studio4/Temp/Shaders.... The second folder you're seeing says Users/nicg/Library/Application Support/Daz 3D/ Studio4/Shaders not Temp. This folder is not a Temp folder and has no real bearing on the RIB file. or the render. The one you need to change is Users/nicg/Library/Application Support/Daz 3D/ Studio4/Temp. Paste that line in the Find line, and then paste Users/nicg/Desktop/rib/filename_collected ("filename" being whatever your RIB file is named) into the Replace With line and hit "Replace All". If you hit "Replace all" it should replace every instance where it says Users/nicg/Library/Application Support/Daz 3D/ Studio4/Temp. One suggestion, however, don't put a . or other punctuation mark in the name of your RIB file ( such as your 2.30.rib) That may cause problems in Terminal Bash when you try and render the image from the RIB file. The same goes with any spaces in the fine name or folder. Instead, just use a hyphen (-) if needed (such as 2-30) Typically, however, I name my RIB files the same as the title of my scene file (with hyphens in place of spaces). Thus, In the Dojo becomes In-the-Dojo.rib for the RIB file.
Actually, only one of those two filders is a Temp folder. Look at them closely again. The one folder says Users/nicg/Library/Application Support/Daz 3D/ Studio4/Temp/Shaders.... The second folder you're seeing says Users/nicg/Library/Application Support/Daz 3D/ Studio4/Shaders not Temp. This folder is not a Temp folder and has no real bearing on the RIB file. or the render. The one you need to change is Users/nicg/Library/Application Support/Daz 3D/ Studio4/Temp. Paste that line in the Find line, and then paste Users/nicg/Desktop/rib/filename_collected ("filename" being whatever your RIB file is named) into the Replace With line and hit "Replace All". If you hit "Replace all" it should replace every instance where it says Users/nicg/Library/Application Support/Daz 3D/ Studio4/Temp. One suggestion, however, don't put a . or other punctuation mark in the name of your RIB file ( such as your 2.30.rib) That may cause problems in Terminal Bash when you try and render the image from the RIB file. The same goes with any spaces in the fine name or folder. Instead, just use a hyphen (-) if needed (such as 2-30) Typically, however, I name my RIB files the same as the title of my scene file (with hyphens in place of spaces). Thus, In the Dojo becomes In-the-Dojo.rib for the RIB file.
IT WORKED. I cannot thank you enough. That had me stumped for days! Will changing this also allow for batch rendering? As it was , when I tried to batch render the first render would come out but when it got to the second render textures/shading/lighting would be nonexistent
Actually, only one of those two filders is a Temp folder. Look at them closely again. The one folder says Users/nicg/Library/Application Support/Daz 3D/ Studio4/Temp/Shaders.... The second folder you're seeing says Users/nicg/Library/Application Support/Daz 3D/ Studio4/Shaders not Temp. This folder is not a Temp folder and has no real bearing on the RIB file. or the render. The one you need to change is Users/nicg/Library/Application Support/Daz 3D/ Studio4/Temp. Paste that line in the Find line, and then paste Users/nicg/Desktop/rib/filename_collected ("filename" being whatever your RIB file is named) into the Replace With line and hit "Replace All". If you hit "Replace all" it should replace every instance where it says Users/nicg/Library/Application Support/Daz 3D/ Studio4/Temp. One suggestion, however, don't put a . or other punctuation mark in the name of your RIB file ( such as your 2.30.rib) That may cause problems in Terminal Bash when you try and render the image from the RIB file. The same goes with any spaces in the fine name or folder. Instead, just use a hyphen (-) if needed (such as 2-30) Typically, however, I name my RIB files the same as the title of my scene file (with hyphens in place of spaces). Thus, In the Dojo becomes In-the-Dojo.rib for the RIB file.
IT WORKED. I cannot thank you enough. That had me stumped for days! Will changing this also allow for batch rendering? As it was , when I tried to batch render the first render would come out but when it got to the second render textures/shading/lighting would be nonexistent
I don't know about Batch Rendering. I never batch render. You'd be better off asking Kendall Seers. He's the one who taught me how to get the free 3DeLight stand alone working.
IT WORKED. I cannot thank you enough. That had me stumped for days! Will changing this also allow for batch rendering? As it was , when I tried to batch render the first render would come out but when it got to the second render textures/shading/lighting would be nonexistent
I don't know about Batch Rendering. I never batch render. You'd be better off asking Kendall Seers. He's the one who taught me how to get the free 3DeLight stand alone working.
Okay will do. Thanks again!
Tramp Graphics..
I tried your file editing idea, and it seemed to mostly work, except for one texture that didn't seem to.
I get this error in the readout
3DL ERROR S2050: cannot find shader 'brickyard/{4892d273-0500-4483-9e6a-f54f9d23f7c0}/shader_Surface', will use 'defaultsurface'
3DL ERROR S2050: cannot find shader 'brickyard/{4892d273-0500-4483-9e6a-f54f9d23f7c0}/shader_Displacement', will use 'null'
Which I assume is what the problem is, but no idea what it means or refers too.
Brickyard seems to be a folder, but not one that exists anywhere on the computer that I can find.
Any ideas?
ok, brickyard is a folder in the temp shaders folder that SHOULD be put into therib - _Collected folder, but isn't.
So one more bug in the "Render to RIB"/ Collect and Localize options.
That's because it is a temporary folder...inside the Studio temp folder and only exists while Studio is open.
Here's the path info for the current DS session I'm rendering in...
/home/mjc/.wine/drive_c/users/mjc/Application Data/DAZ 3D/Studio4/temp/shaders/brickyard/{582b35de-f518-4abb-b730-4efa058b97ac}
Ignore the Windows specific part of the path.
****ADDED****
Also, check that the actual shader from the brickyard is not in the _collected older. Usually it's a generic named shader_Surface.sdl that is a compiled on the fly version of a ShaderMixer network. It's usually dropped into the _collected folder, but not as a subfolder...it should be sitting right along side of the rest of the shader files. If it's there all you'll have to do is point to the correct location in the RIB (strip the brickyard path info).
The shader is probably there...but not as a file in subfolders...
It sounds like the script to write the RIB for Macs is a bit more than broken. It may have been 'correct' 5 yrs ago, but definitely isn't any longer.
Yup...there it is..ThnkS!
Ok, with that knowledge, it'll be easy to do a script to make the needed changes automatically, in hopes this stuff is fixed in 4.8.
Yup...there it is..ThnkS!
Ok, with that knowledge, it'll be easy to do a script to make the needed changes automatically, in hopes this stuff is fixed in 4.8.
Sweet...
Script a repair script for the export script...just what I want to do (NOT!).