Page 2 of 2

Re: BUG: images located in DAZ libraries missing on scene load

Posted: Sun Feb 28, 2016 10:53 am
by linvanchene
face_off wrote:
D:\USERNAME\Documents\DAZ 3D\Studio\My Library
It will be different for each user - since I believe that DAZStudio 4.9 is returning the wrong folder. http://www.daz3d.com/forums/discussion/ ... ot-working

Paul
Have you also submitted this bug report as an official support ticket?

https://helpdaz.zendesk.com/hc/en-us/requests/new

- - -

I do not know how active the developer board is. Maybe posting there is enough.
But for "common" users the official answer is always to file bug reports as a ticket so the case gets logged in the system.
Posts on the DAZ3D forum are in most cases just considered as general input to get feedback from other users if they can observe the issue.

Therefore it would be great if you could submit a ticket with your registered account so you can directly communicate with the DAZ3D developers.

- - -

usually the ticket process follows the same procedure:

- immediately an automated confirming e-mail that they received the ticket
- depending on back log on the same day or on the next day you will receive a message by general staff that they read the ticket and now are contacting the dedicated department
- usually the answer by dedicated department staff follows very quickly after that

You can update your reports and findings in your ticket at any time.

- - -

Re: BUG: images located in DAZ libraries missing on scene load

Posted: Sun Feb 28, 2016 11:29 am
by face_off
Have you also submitted this bug report as an official support ticket?
Bug report submitted - thanks.

Paul

Re: BUG: images located in DAZ libraries missing on scene load

Posted: Sun Feb 28, 2016 12:41 pm
by sikotik13
For what it's worth, your G3F test scene in particular fails to work for me, regardless of Daz Studio version. In my older 4.9 beta (the last one right before they released stable 4.9), It looked for everything in "D:\Daz Studio\My Library\data\cloud\..." which is nonexistent on my setup. Simply failed to load any of them (even though I have the same files in my standard, assigned runtime directory). Daz Studio itself loaded the materials from my external (non encrypted, if that matters) runtime just fine, though.
OcDS test scene load.PNG
Interestingly, in 4.8, for each object referencing a new location, Daz Studio itself pops up the "Could not find file:*" prompt, asking me to locate it in said runtime. Daz Studio itself is looking in "D:/User Library/runtime/textures/*" file path.
4.8 test scene load.PNG
4.8 test scene load.PNG (5.5 KiB) Viewed 3575 times
Which seems really odd, since Windows uses '\' not '/', the only part of that path that actually exists (assuming the prompt merely displays the wrong character) is "D:\User Library\", and once I locate the first texture, it has no problems until it gets to a new object looking in the same nonexistent folder. I suppose the last one is somewhat expected, since I don't think it ever occured to Daz to program anything flexible enough to actually remember your last runtime location used or anything until quite recently. That would make too much sense, honestly. OcDS loads same set of errors, regardless of version, with same nonexistent location, so the absolute path appears to be saved with the scene, regardless. I could see why that makes things tricky with sharing materials and such.

Ah, this was tested with v.2.24.2.5 of the plugin for both Daz Studio versions, for the record.

Not that it's helpful at all, probably, but it gave me something to do to help me wake up.

Re: BUG: images located in DAZ libraries missing on scene load

Posted: Sun Feb 28, 2016 7:36 pm
by linvanchene
sikotik13 wrote:For what it's worth, your G3F test scene in particular fails to work for me, regardless of Daz Studio version. In my older 4.9 beta (the last one right before they released stable 4.9), It looked for everything in "D:\Daz Studio\My Library\data\cloud\..." which is nonexistent on my setup. Simply failed to load any of them (even though I have the same files in my standard, assigned runtime directory). Daz Studio itself loaded the materials from my external (non encrypted, if that matters) runtime just fine, though.
Thank you a lot for checking!
Seems the results what kind of path is placed before "My Library" are different for other users.

I checked with my laptop to see what I would get there when I use a complete random path and library I certainly never used before.
Path CG Stuff - Library Connect.jpg
Then I created a Test Scene "Vase" from Genesis 2 Starter Essentials:
USERNAME-Documents-DAZ3D-Studio-My Library v1002.jpg
The path used for the textures when creating the scene and saving the duf was:
D:\CG Stuff

The library name was:
Connect

D:\CG Stuff\Connect\

When loading the scene OcDS was looking for a path that was not used when creating the scene:
D:\USERNAME\Documents\DAZ 3D\Studio\My Library\

On my first test I was not so sure where the D:\USERNAME\Documents\DAZ 3D\Studio\My Library part was coming from because my actual path actually was similar while only the library name was different.

Now it seems at least clear that both the path and the library name I actually used were not referenced.

- - -
face_off wrote:
Have you also submitted this bug report as an official support ticket?
Bug report submitted - thanks.

Paul
:D Thank you a lot for looking into this so promptly.


- - -

Re: BUG: images located in DAZ libraries missing on scene load

Posted: Sun Feb 28, 2016 9:19 pm
by face_off
As per the bug report, dzApp->getContentMgr()->findFile() is not working, so the plugin is defaulting back to dzApp->getContentMgr()->getDefaultContentDir(), and that second call is what is returning the foldernames that you are seeing.

Paul

Re: BUG: images located in DAZ libraries missing on scene load

Posted: Tue Mar 08, 2016 2:29 am
by face_off
The build below implements the work-around suggested by Daz3d to resolve this issue. It works in my testing, however it will require a more thorough test by users to ensure the fix does not break something else. Pls let me know your findings.

https://render.otoy.com/customerdownloa ... _Win64.exe

Thanks

Paul

Re: BUG: images located in DAZ libraries missing on scene load

Posted: Tue Mar 08, 2016 3:54 pm
by linvanchene
face_off wrote:The build below implements the work-around suggested by Daz3d to resolve this issue. It works in my testing, however it will require a more thorough test by users to ensure the fix does not break something else. Pls let me know your findings.

https://render.otoy.com/customerdownloa ... _Win64.exe

Thanks

Paul
I read trough the post on the DAZ3D developers forum. It seems currently library and base directory definitions for DAZ Studio are in the process of receiving some updates.

Thank you very much for already providing a work-around!

As far as I was able to test the scenes that loaded with materials missing now load properly.

Tested with:
- DAZ Studio General Release 4.9.0.63 - content installed with DAZ Connect
- OctaneRender_for_DazStudio_3_0_6_16_Win64

steps performed:
- loaded test scenes posted in this thread on laptop. -> scenes that did fit VRAM did all load with textures.
- created a new test scene based on Genesis 2 Starter Essentials with texture locations in DAZ Connect and resources directories
> textures did load
test scene with Starter Essentials 2 and resources
test scene with Starter Essentials 2 and resources
- - -

I am currently out of town and only have access to a laptop with 2GB VRAM.
Please others help testing...