Digital Art Zone

 
     
Textures fail to load with .dsf Support asset/figure or prop • Daz 4 [Solved]
Posted: 25 June 2012 02:38 AM   [ Ignore ]
Active Member
Avatar
RankRank
Total Posts:  471
Joined  2010-02-10

Hi, I’ve been stuck on this one for a while.

I’ve set up some new objects (Clothing and props) and I’m saving them as support assets .dsf files.

The user facing file created in the prop folder, loads all of the geometry and surface material settings but fails to load the texture maps. The objects are part of a product and I was wanting them to load with texture maps in place.

All the file paths in the def seem right and I get no errors when the file loads but no textures are loaded on the surfaces.

Am I missing a process here? Or doing something wrong?

Any help would be greatly appreciated.

 Signature 

Razor42 - DESIGN ANVIL

DESIGN ANVIL DAZ STORE  •  GALLERY  •  DESIGN ANVIL ON FACEHOOK

Profile
 
 
Posted: 25 June 2012 11:00 AM   [ Ignore ]   [ # 1 ]
Addict
Avatar
RankRankRankRank
Total Posts:  8348
Joined  2009-05-14

I have asked other CV’s if they can help so I am waiting to here from them.

 Signature 

Pete

Somethings to Consider when starting to learn CG

My Gallery

My Render Thread and Tutorials

Proud member of the Bald Wizards Club and Co-operative

Facebook

Profile
 
 
Posted: 25 June 2012 11:29 AM   [ Ignore ]   [ # 2 ]
Power Member
Avatar
RankRankRank
Total Posts:  1472
Joined  2003-10-09

Are the textures stored in the same library as the object & dsf?  Or do you have multiple libs with textures stored outside?

 Signature 

My DAZ Store
My Free Stuff
My Deviant Art

Profile
 
 
Posted: 25 June 2012 06:25 PM   [ Ignore ]   [ # 3 ]
Active Member
Avatar
RankRank
Total Posts:  471
Joined  2010-02-10

I’m on a Mac with OS X Lion running Daz Studio 4 Pro.
I appreciate your efforts to try to help me find a solution for this one, its been driving me nuts.
.
Everything is in the MyLibrary runtime in Documents

User facing files
Mylibrary/People/Genesis/Props/productname/product.dsf

Support files
Mylibrary/Data/Razor42/productname/itemname/Item.dsf
Morphs and UV sets also saved here.

Textures are stored in
Mylibrart/runtime/textures/Vendorname/productname/itemname/textures.jpg
.
Thats pretty much the structure I’m using for the product, there are multiple components/items.
.
One main thing I have noticed my .dsf files are missing that is in a few others I have checked. is that there is a section before the material library statements called selection map. This is missing in the dsf files I create. Not sure if its important. This is in the dsf in data folder.

"selection_map" [
     {
      
"id" "",
      
"mappings" 
 Signature 

Razor42 - DESIGN ANVIL

DESIGN ANVIL DAZ STORE  •  GALLERY  •  DESIGN ANVIL ON FACEHOOK

Profile
 
 
Posted: 27 June 2012 08:36 PM   [ Ignore ]   [ # 4 ]
Active Member
Avatar
RankRank
Total Posts:  471
Joined  2010-02-10

Okay, I think I have figured out was I was doing wrong.

Daz Clearly doesn’t like any spacing in the path leading to the textures.

It seems to be okay in other places just not in the Texture resource paths.
.
So this doesn’t work
/Runtime/textures/Design Anvil/DA Faery Pack/Clothing/Oak_Leaf_Red.png
you can’t seem to see the percentage twenty between them on the forums but its there in place of spaces

And this appears to work fine.
/Runtime/textures/DATextures/DAFaeryPack/Clothing/Oak_Leaf_Red.png
.
So I have closed up the gaps in the path and order has been returned.

Thanks

 Signature 

Razor42 - DESIGN ANVIL

DESIGN ANVIL DAZ STORE  •  GALLERY  •  DESIGN ANVIL ON FACEHOOK

Profile
 
 
Posted: 28 June 2012 05:37 AM   [ Ignore ]   [ # 5 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  15775
Joined  2003-10-09

Spaces should be replaced with   - have you tried manually editing the path in the saved file like that? If that does work then it sounds like a bug in the save routine, not converting texture paths to properly formed URIs.

 Signature 

DAZ Studio Frequently Asked Questions

Index of free DAZ Studio scripts and plugins list

Profile
 
 
Posted: 28 June 2012 05:43 AM   [ Ignore ]   [ # 6 ]
Addict
Avatar
RankRankRankRank
Total Posts:  8348
Joined  2009-05-14

Thanks for reporting back Castleworx. Certainly helped me, cheers.

 Signature 

Pete

Somethings to Consider when starting to learn CG

My Gallery

My Render Thread and Tutorials

Proud member of the Bald Wizards Club and Co-operative

Facebook

Profile