gx - Gd - DrawPrimitiveScene Demo

Description

This demo renders spheres and cubes using the GD library.

Required Environment

None.

How to Use

None.

Notes

This uses the GD library to implement DrawPrimitive, which is a sample demo for the GR library.

Execution Procedure

The following macros are defined in the source code. By specifying these for PACKET_RECORDING_MODE, you can switch to an implementation that uses the gd::System::StartRecordingPackets function.

USE_PACKET_RECORDING_NONE Do not use the StartRecordingPackets function.
USE_PACKET_RECORDING_COPY Use the StartRecordingPackets function (specify RECORD_COMMAND_LIST_COPY to the usage parameter).
USE_PACKET_RECORDING_NOCPY Use the StartRecordingPackets function (specify RECORD_COMMAND_LIST_NO_COPY to the usage parameter).

The following screens are displayed when you run the demo. Adjust the stereoscopic image with the 3D depth slider.

Revision History

2011/09/29
Added information related to the System::StartRecordingPackets function.
2011/03/14
Added a screenshot of the program running.
2011/02/21
Initial version.

CONFIDENTIAL