Diffeomorphic on Linux
mikael-aronsson
Posts: 576
Hi!
Has anyone tried using DAZ exported stuff on Blender running on Linux (path related issues upper/lower case and so on, it looks like this has not been tested for some time) ?
I am not running DS on Wine, I am running DS on a Windows 10 machine, but after exporting the stuff to Blender(Win) I want to use the exported content on Blender(Linux), do I have to copy the import_daz_scanned_absolute_paths.json to the Linux machine for this to work ? so am not going to export anything on the Linux machine, this is all done on the Windows machine, all the exported content is then copied to the Linux machine.
Comments
Once you convert to blender there's no reference to the daz scene or library anymore, apart the textures if you didn't make them local.
I know, the question is if there will be any case related problems, Windows don't [care] about upper lower case while Linux does.
Lets say there is a texture called MyTexture.png and there is a reference to it from some other file that use mytexture.png as the reference, works fine on Windows
In diffeomorphic there's an option in the global settings for "case sensitive paths", to be used under linux.
I have been running Blender on Linux for quite some time, but my DAZ export was coming from a Mac
I did use a Linux computer some years ago, but it broke down and now I don't have access to Linux myself, so I'm not sure how much works. However, there has been users on Linux who run DS under Wine and importing files into Blender with diffeo.
The main problem is case-sensitivity. Not just that the file paths depend on case, but that several case-sensitive paths can correspond to a single case-insensitive one. That situation may be a problem for DS under Wine too. To overcome this, you need to scan the entire daz database with the Scan Absolute Paths button in the Utilties panel, https://bitbucket.org/Diffeomorphic/import_daz/wiki/Utilities. This tool creates a file which associates case-insensitive directories with a list of case-sensitive ones. If the global settings "Case-Sensitive Paths" is enabled, the plugin uses this table to find the right file. But I haven't tested this for quite some time and am unsure if it still works.
Thanks, I will give it a try and see.
A silly question, is the absolute path file only used while importing ? or is the file needed on the Linux machine also.
In my case I import from DAZ running on a Windows machine to Blender (same machine so also windows), all the contents are then copied to another machine running Blender on Linux where I want to use it without any DS involvement.
As far as I understand from the blogpost the file generated is only used at import from DAZ and is not used after the import has completed, is that correct ?
Same question about the checkbox "Case-sensitive path", do I need to set that on the Linux machine even if I am never going to actually import on it ?
Or would it be better to map the DAZ content drive so the Linux machine can access it to import using Blender on the Linux machine instead of copying the imported contents from Blender(Win) to Blender(Linux) ?
Note: I always use the "Save local textures" to copy the texture files if that makes any difference.
Hope I did not make that sound too confusing ;)
Unless something has changed, the import needs the DAZ files, but once saved as a Blender file, it does not.