Autodesk DWF 3D Toolkit Documentation

Version 1.5.1555

Introduction

The DWF 3D (W3D) Toolkit is an extension of the HSF Stream Toolkit from Tech Soft America that provides functionality for creating, reading and writing 3D graphics streams for DWF (W3D resources.)

This documentation has been generated from the code that is distributed with the DWF 3D Toolkit to capture the relationship of the extended classes, interface additions and introduction of new op-codes.

For additional reference, the HSF Base Stream Toolkit Programming Guide has been included in this documentation. This partial documentation is taken from the full HOOPS 10 distribution as-is and is not intended to be complete with respect to HSF nor HOOPS/Stream. Rather, the concepts covered in this additional page may be appropriate for developers creating DWF 3D graphics.

The DWF 3D Toolkit is part of the Autodesk DWF Toolkit and is subject to all of the same license agreements, at least.

The DWF 3D Toolkit uses the Autodesk DWF Core Library which ships as part of the standard distribution.

Format Specification

The W3D graphics stream resource is essentially the HOOPS Stream Format (HSF) version 15.55 with an additional comment (TK_Comment) indicating the W3D stream version itself and an addition op-code for externally referenced images (W3D_Image).

Externally Referenced Images

The W3D graphics stream introduces the W3DE_Image op-code to the HSF 13.05 format defined as follows:

W3DE_Image                      = 0xE0

The W3D_Image class is provided to handle this op-code in the stream, it must be registered with the stream reader (usually BStreamFileToolkit) first. Generally, when processing this op-code, if the image resource hasn't been extracted from the DWF package, a temporary image is created as a place holder to allow the graphics to continue to stream into the scene. To match the image with the op-code, compare the title of the image resource in the section with the image or texture name in the scene.


Generated on Tue Jan 6 22:41:34 2009 for Autodesk DWF 3D Toolkit by  doxygen 1.4.5