1<?xml version="1.0" encoding="UTF-8"?> 2<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 3<html xml:lang="en-US" lang="en-US" xmlns="http://www.w3.org/1999/xhtml"> 4<head> 5 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 6 <meta http-equiv="Content-Style-Type" content="text/css" /> 7 <link rel="stylesheet" href="../../../css/manpage.css" type="text/css" /> 8</head> 9 10<body> 11<h1>gx - Gd - DrawPrimitiveScene Demo</h1> 12 13<h2>Description</h2> 14 15<div class="section"> 16<p>This demo renders spheres and cubes using the GD library.</p> 17</div> 18 19<h2>Required Environment</h2> 20 21<div class="section"> 22<p>None.</p> 23</div> 24 25<h2>How to Use</h2> 26 27<div class="section"> 28<p>None.</p> 29</div> 30 31<h2>Notes</h2> 32 33<div class="section"> 34<p>This uses the GD library to implement <CODE>DrawPrimitive</CODE>, which is a sample demo for the GR library.</p> 35</div> 36 37<h2>Execution Procedure</h2> 38 39<div class="section"> 40<p>The following macros are defined in the source code. By specifying these for <CODE>PACKET_RECORDING_MODE</CODE>, you can switch to an implementation that uses the <CODE>gd::System::StartRecordingPackets</CODE> function. 41 </p> 42 <table> 43 <tr> 44<th><CODE>USE_PACKET_RECORDING_NONE</CODE></th> 45<td>Do not use the <CODE>StartRecordingPackets</CODE> function.</td> 46 </tr> 47 <tr> 48<th><CODE>USE_PACKET_RECORDING_COPY</CODE></th> 49<td>Use the <CODE>StartRecordingPackets</CODE> function (specify <CODE>RECORD_COMMAND_LIST_COPY</CODE> to the <SPAN class="argument">usage</SPAN> parameter).</td> 50 </tr> 51 <tr> 52<th><CODE>USE_PACKET_RECORDING_NOCPY</CODE></th> 53<td>Use the <CODE>StartRecordingPackets</CODE> function (specify <CODE>RECORD_COMMAND_LIST_NO_COPY</CODE> to the <SPAN class="argument">usage</SPAN> parameter).</td> 54 </tr> 55 </table> 56 57<p>The following screens are displayed when you run the demo. Adjust the stereoscopic image with the 3D depth slider.</p> 58 59 <p><img src="Fig/DrawPrimitiveScene.PNG"></p> 60</div> 61 62<h2>Revision History</h2> 63 64<div class="section"> 65 <dl class="history"> 66 <dt>2011/09/29</dt> 67<dd>Added information related to the <CODE>System::StartRecordingPackets</CODE> function.</dd> 68 <dt>2011/03/14</dt> 69<dd>Added a screenshot of the program running.</dd> 70 <dt>2011/02/21</dt> 71<dd>Initial version.</dd> 72 </dl> 73</div> 74 75 76<hr><p>CONFIDENTIAL</p></body> 77</html>