S3DPreview

This class encapsulates methods and data that are used to render the exported scene using Shockwave 3D§ rendering functionality.

When to use

This class is called at the end of the export process from within the MAX_S3D_Plugin class.

Interface Methods

Description

S3DPreview

Class constructor

~S3DPreview

Class destructor

Initialize

Initializes S3DPreview

Render

Renders scene in a child window.


S3DPreview::S3DPreview(MAXExporter* pMAXExporter)

This is the class constructor.

Parameters:

pMAXExporter

This is a reference to the MAXExporter class.

Return Values:

None


S3DPreview::~S3DPreview()

This is the class destructor.

Parameters:

None

Return Values:

None


S3DPreview::Initialize( MAXExporter* pMAXExporter )

This imethod initializes the S3DPreview

Parameters:

pMAXExporter

Exporter object from which the entities that this method renders are derived

Return Values


S3DPreview::Render(U16 uXPos, U16 uYPos, U16 uWidth, U16 uHeight)

This method renders the Shockwave 3D scene representation (using Shockwave 3D render services) to a child window of 3D Studio MAX§.

Parameters:

uXPos

Horizontal position of upper left corner of window (in screen coordinates)

uYPos

Vertical position of upper left corner of window (in screen coordinates)

uWidth

Width of preview window (in pixels)

uHeight

Height of preview window (in pixels)

Return Values

§See asterisked (*) statement at Legal Information © 2001 Intel Corporation.