ADC Home > Reference Library > Technical Q&As > Legacy Documents > Graphics & Imaging >

Legacy Documentclose button

Important: This document is part of the Legacy section of the ADC Reference Library. This information should not be used for new development.

Current information on this Reference Library topic can be found here:

NOTE: This Technical Q&A has been retired. Please see the Technical Q&As page for current documentation.

QD3D Windows Interactive Renderer


Q: In the following code fragment, the Q3Renderer_NewFromType function works if the wireframe renderer is specified, but fails if the interactive render is specified. A subsequent call to Q3Error_Get returns 0. Why is this? I'm using Visual C++ 4.2 under Windows NT4.0.

#if 0
	myRenderer = 
Q3Renderer_NewFromType(kQ3RendererTypeWireFrame);
#else
	myRenderer = 
Q3Renderer_NewFromType(kQ3RendererTypeInteractive);
#endif       ^^ this call is failing

A: Make sure you have the file QD3D_IR2.q3x in the same folder as the QD3D DLL. QD3D_IR2.q3x is the interactive renderer.

[Jul 11 1997]


Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.