Takes one image input and produces a three-dimensional (3-D) sheet that rolls out to display the image, like a rolling carpet. The image is textured on both the front and back faces of the sheet in the x-y plane. The sheet has the same aspect ratio as the image, is centered at the origin, and spans the range [-1, 1] in its longer extent.
Note To use this transform, you need to have Microsoft® Windows® 98 Second Edition or Windows 2000 installed.
Transform Specifications
The following table contains the information you need in order to use this transform in C++ and script.
Class identifier (CLSID) | CLSID_Roll |
---|---|
Globally unique identifier (GUID) | 78F30B82-48AA-11D2-9900-0000F803FF7A |
Programmatic identifier (ProgId) | DX3DTransform.Microsoft.Roll |
Category identifier (CATID) | CATID_DX3DTransform |
Custom interfaces | IDXTRoll |
Supported interfaces | IDXEffect |
Inputs | One is required, of type IDXSurface. |
Output | Direct3DRMMeshBuilder3 |
Custom Properties
The following table lists the custom properties that control the transform output.
Property | Type | Default | Description |
---|---|---|---|
DirectionX | float | 1.0 | The x-component of the direction along which the sheet unrolls. |
DirectionY | float | 0.0 | The y-component of the direction along which the sheet unrolls. |
Radius | float | 0.15 | The radius of the roll in 3-D coordinate units. |
Top of Page
© 2000 Microsoft and/or its suppliers. All rights reserved. Terms of Use.