Dice3DS

Dice3DS is a set of Python modules for dealing with 3D Studio format files.
Download

Dice3DS Ranking & Summary

Advertisement

  • Rating:
  • License:
  • GPL
  • Price:
  • FREE
  • Publisher Name:
  • Carl Banks
  • Publisher web site:
  • http://aerojockey.com/software/dice3ds/index.html

Dice3DS Tags


Dice3DS Description

Dice3DS is a set of Python modules for dealing with 3D Studio format files. Dice3DS project is a set of Python modules for dealing with 3D Studio format files. I have released it under the terms of a BSD-style license.3D Studio is a 3D graphics modeling and rendering program that saved it images in a rather simple binary file format known as 3DS format. Although 3D Studio has not released the details of the 3DS format, it has been reverse engineered by some ambitious people, and I used the information to write Dice3DS, a Python package that slices and dices 3DS files.Dice3DS requires Python 2.2 or higher, as it uses metaclass programming, and Python Numeric. Note that it is not a wrapper for lib3ds; it's a Pure Python module.There are two packages in Dice3DS: Dice3DS, and Dice3DS.example. The latter includes some modules that exemplify the use of Dice3DS, although they are not very versatile.Here's a brief description of each module: Dice3DS.dom3ds Slice and dice 3DS files. Provides for reading, writing, and manipulating 3DS files. It's called dom3ds because it's reminiscent of XML-DOM: it converts the 3DS file into a hierarchy of objects, in much the same way XML-DOM converts an XML file into a hierarchy of objects called the Document Object Model. The dom3ds module creates an object for each chunk in the 3DS file, which can be accessed hierarchially as attributes. For example, once a 3DS file is loaded, you could the smoothing data of the second object like this: dom.mdata.objects.ntri.faces.smoothing.arrayDice3DS.util Utitily function for Dice3DS. Defines some routines for calculating normals and transforming points.Dice3DS.example.basicmodel Basic abstract classes representing a 3DS model. Defines some classes that represent objects and materials of a 3DS file in a more convienient form. It has methods to convert from the DOM format. The classes can serve as base classes for more advanced uses.Dice3DS.example.glmodel Classes for rendering 3DS models in OpenGL. Defines some classes (based on Dice3DS.example.basicmodel) with some additional methods to draw the model in OpenGL, or create a display list to do so. Requires PyOpenGL.Dice3DS.example.gltexture OpenGL texture object abstraction. Provides a class that is an abstraction of OpenGL texture objects. It can create textures from image files, and automatically generates mipmaps if requested. Requires PyOpenGL and Python Imaging Library.Dice3DS.example.modelloader Example of loading 3DS models. Provides functions to load a 3DS model and creating a GLModel (or BasicModel) from it. Shows how to load models from the filesystem, or directly from a zip file. What's New in This Release: · Dice3DS now parses KFDATA blocks, and the example OpenGL code (often the only part people use) now takes the keyframe data into account when rendering models. · Substantial improvements were made in loading speed by using OpenGL vertex arrays.


Dice3DS Related Software