Research > Software > DuffOff

DuffOffTranslator

DuffOffTranslator is an application that converts between the Duff (*.dfs) and Off (*.off) surface formats with a minimal loss of data.



Download DuffOff

Select operating system *

Java - Version 1.0.0

By checking "I agree" and requesting to download software you agree that you will abide by our Software License.


Features

  • <p>The application detects the necessary translation. If the first filename is a duff and the second is an off, the translation performed is from duff to off, and vice-versa.</p>
  • <p>Both formats encode surface normals and RGB vertex colors. If this data exists in the input shape, then the output shape will have this data as well.</p>

Description

DuffOffTranslator is an application that converts betweent he Duf (*.dfs) and Off (*.off) surface formats with a minimal loss of data.

System Requirements

Java

  • Version: 1.0.0
  • Size: 1.17 Mb
  • OS: any
  • Processor: any
  • Memory: Data-dependent
  • Software: Java 1.5 (or higher) runtime environment

Installation

Compliation

Portable java executable make compilation unnecessary.

Installation InstructionsCopy java executable 'jar' file to local disk.

Purpose

DuffOffTranslator converts from Duff to Off or from Off to Duff. The input arguments' order implies the translation that is performed.

The Duff and Off formats both encode triangular faces with vertex RGB colors and normals. All of this information is preserved when converting. There is data, however, that is particular to each format, which is necessarily lost in the process. For example, Duff encodes patient data, an orientation and u-v coordinates, and off encodes an alpha color channel.

The Off format is roughly twice the size of the Duff, so when dealing with large surfaces, it is more space efficient to encode the surface to a Duff. However, Duff is binary, so if you wish the surface to be human-readable, the best option might be to encode the surface to an Off.