Why the huge difference in DUF file sizes?

barbultbarbult Posts: 3,411
edited September 2012 in Technical Help (nuts n bolts)

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" : [ [ 17146, 1 ], [ 17147, 1 ], [ 17149, 1 ], [ 17153, 1 ], [ 17154, 1 ], [ 17159, 1 ], [ 17160, 1 ],
 [ 17166, 1 ], [ 17167, 1 ], [ 17188, 1 ], [ 17189, 1 ], [ 17191, 1 ], [ 17214, 1 ], [ 17217, 1 ], [ 17251, 1 ],
 [ 17252, 1 ], [ 17254, 1 ], [ 17258, 1 ], [ 17259, 1 ], [ 17264, 1 ], [ 17266, 1 ], [ 17271, 1 ], [ 17275, 1 ], 
[ 17277, 1 ], [ 17491, 1 ], [ 17492, 1 ], [ 17494, 1 ], [ 17496, 1 ], [ 17497, 1 ], [ 17499, 1 ], [ 17503, 1 ], 
[ 17504, 1 ], [ 17506, 1 ], [ 17672, 1 ], [ 17673, 1 ], [ 17677, 1 ], [ 17696, 1 ] [ 17698, 1 ], [ 17703, 1 ], 
[ 17714, 1 ], [ 17715, 1 ], [ 17717, 1 ], [ 17723, 1 ], [ 17725, 1 ], [ 17729, 1 ], [ 17731, 1 ], [ 17733, 1 ],
 [ 17735, 1 ], [ 17756, 1 ], [ 17757, 1 ], [ 17775, 1 ], [ 17776, 1 ], [ 17824, 1 ], [ 17825, 1 ], [ 17827, 1 ], 
[ 17830, 1 ], [ 17833, 1 ], [ 17838, 1 ], [ 17839, 1 ], [ 17841, 1 ], [ 17846, 1 ], [ 17847, 1 ], [ 18070, 1 ],
[ 18072, 1 ], [ 18075, 1 ], [ 18077, 1 ], [ 18078, 1 ], [ 18080, 1 ], [ 18082, 1 

Post edited by Richard Haseltine on

Comments

  • cridgitcridgit Posts: 823
    edited December 1969

    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.

  • BejaymacBejaymac Posts: 1,029
    edited December 1969

    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.

  • HeraHera Posts: 891
    edited December 1969

    Just curious, why was the file format changed?

  • JimmyC_2009JimmyC_2009 Posts: 8,264
    edited December 1969

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

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

Sign In or Register to comment.
Rocket Fuel