Digital Art Zone

 
     
Why the huge difference in DUF file sizes?
Posted: 31 August 2012 08:55 PM   [ Ignore ]
Addict
Avatar
RankRankRankRank
Total Posts:  2695
Joined  2012-02-04

Why are some DUF scene files less than 100 KB and others are over 20 MB? It can’t just be the number of items in the scene. The large ones are filled with sections that look kind of like this snipet:

{
      
"bone" "abdomen",
      
"figure_map" {
       
"count" 2362,
       
"values" [ [ 171461 ][ 171471 ][ 171491 ][ 171531 ][ 171541 ][ 171591 ][ 171601 ],
 
[ 171661 ][ 171671 ][ 171881 ][ 171891 ][ 171911 ][ 172141 ][ 172171 ][ 172511 ],
 
[ 172521 ][ 172541 ][ 172581 ][ 172591 ][ 172641 ][ 172661 ][ 172711 ][ 172751 ]
[ 172771 ][ 174911 ][ 174921 ][ 174941 ][ 174961 ][ 174971 ][ 174991 ][ 175031 ]
[ 175041 ][ 175061 ][ 176721 ][ 176731 ][ 176771 ][ 176961 ] [ 176981 ][ 177031 ]
[ 177141 ][ 177151 ][ 177171 ][ 177231 ][ 177251 ][ 177291 ][ 177311 ][ 177331 ],
 
[ 177351 ][ 177561 ][ 177571 ][ 177751 ][ 177761 ][ 178241 ][ 178251 ][ 178271 ]
[ 178301 ][ 178331 ][ 178381 ][ 178391 ][ 178411 ][ 178461 ][ 178471 ][ 180701 ],
[ 180721 ][ 180751 ][ 180771 ][ 180781 ][ 180801 ][ 18082
 Signature 

New member of the Bald Wizards Club

Profile
 
 
Posted: 01 September 2012 03:00 AM   [ Ignore ]   [ # 1 ]
Active Member
RankRank
Total Posts:  819
Joined  2009-12-07

DAZ files used to be in a binary format which is more efficient. I’m not familiar with the new DUF file format but, 1) it uses a more inefficient text format, and 2) I expect some files may contain geometry (like the above) and some may refer to a separate geometry file.

 Signature 

PoseMaster for DAZ Studio and PoseMaster People Pack now sold at Rendo.

Profile
 
 
Posted: 01 September 2012 04:37 AM   [ Ignore ]   [ # 2 ]
Active Member
Avatar
RankRank
Total Posts:  947
Joined  2007-01-04

Large DUF scene files means very little of what was in the scene was already in the DSF format, when you saved it most of your scene will have been converted to DSF and stored in the “data/auto_adapted” folder, it will also have written most of that data into the DUF scene file.

The smaller files either have nothing but Genesis/TriAx content in the scene, or have very little that needs converted to DSF.

 Signature 

**shuffles of with a new headache** tongue wink

Profile
 
 
Posted: 02 September 2012 04:58 AM   [ Ignore ]   [ # 3 ]
Active Member
Avatar
RankRank
Total Posts:  730
Joined  2008-02-24

Just curious, why was the file format changed?

Profile
 
 
Posted: 02 September 2012 06:42 AM   [ Ignore ]   [ # 4 ]
Addict
Avatar
RankRankRankRank
Total Posts:  7074
Joined  2005-08-15

The first part of the documentation should explain why the new format:

http://docs.daz3d.com/doku.php/public/dson_spec/start

Profile