Version: |
1.2 |
Description: |
Determines the level of shading to be applied when a 3D view is shaded. |
Declaration: |
|
C/C++ |
extern "C" void WINAPI VCSet3DQShadeOptions(short* iError, short iCode); |
Delphi |
procedure VCSet3DQShadeOptions(var iError: Smallint; iCode: Smallint); stdcall; |
ActiveX/COM |
Sub Set3DQShadeOptions(ByVal iCode As Integer) |
Parameters: |
iCode - sets the 3D view type. |
Notes: |
When creating 3D views of a drawing three parameters are required. They are view type, eye location, and viewed position. VCSetProjection3D determines the view type and thus how the lines will be viewed in relation to each other, that is flat, parallel or perspective. VCSetView3Destablished the distance of the viewer from the viewed location as 3D coordinates and thus the level of perspective exaggeration used or the relative size of the view. VCChangeView3Dcan allow the users view point to be moved incrementally in certain directions and thus creates a limited "walk-through" functionality. 3D views can be viewed in wireframe or with the Visual CADD™ built in quick shading. VCSet3DDisplay provides the ability to view the drawing as a quick shade and VCSet3DQShadeOptions determines the level of quick shade when the drawing is shaded. When using quick shade keep in mind that as each level of accuracy is used the shading time may increase dramatically depending on the complexity of the drawing. Rough shading provides a quick but inexact shade and is best to get an idea of how the shade will look without taking a great deal of time. Exact will accurately shade all polygons but will not determine which polygons lie in front of others. For the best shading use exact and split which will calculate intersections of polygons and place forward surfaces in front of others. |
See Also: |
VCSet3DDisplay, VCChangeView3D, VCSetView3D, VCSetProjection3D |