Copyright (C) 1986-2008 by Daniel H. Hudgins, All Rights Reserved.
No part of "This Web Site" (HTML document), including associated files, may be: distributed, sublicensed, transmitted, copied, archived, mirrored, modified, bundled, embedded, sold, given away, rented, loaned, or shared in any form without express written permission in a formal Vendor agreement contract dated and signed in ink obtained directly from Daniel H. Hudgins by registered postal mail. All agreements for permission to distribute expire after a period no greater than one year from the date of the signing of the agreement by Daniel H. Hudgins. See the current "EULA" for information regarding limited copying and storage for the purpose of "Beta Testing" "This Web Site."
To view or use the current version of this Web page you may need to reload or refresh the display of this page by your browser. Just clicking on the browser's [Reload] or [Refresh] icon may not be enough to insure that all of the page's most current contents have been cached and displayed. Some browsers may have additional commands to help display the page's most current contents such as: holding down the [Shift] key and clicking on the [Reload] icon, holding down the [Control] key and clicking on the [Refresh] icon, holding down the [Control] and [Shift] keys and clicking on the [Refresh] icon, pressing the [Control] and [F5] keys, pressing [Control] and the [R] key, or some other combination of keys or clicks. Check to see which commands your HTML browser uses to load the most current page contents into its cache and then to display them onto the screen.
This Web site is dedicated to the thousands of "users" of my programs, those who have helped test my programs over the last 22 or so years, and especially those who shared their experiences with me.
You must read this notice: This is a licensed Web site (HTML document and associated files). You must read and agree to be legally bound in contract by the Terms of Use and conditions given in the End User License Agreement ("EULA"), Legal Notices, Instructions, Warnings, Disclaimers, and all other text in "SECTION: 0" of "This Web Site" (HTML document and associated files) before reading or using any of the information, software programs, and or files, contained in, linked to, and or associated with, "This Web Site" (HTML document and associated files). Any use or "Beta Testing" of "This Web Site" constitutes your acknowledgment of your full agreement with the current End User License Agreement ("EULA") and your decision to have this current license supersede all prior and contemporaneous agreements and understandings. Information and files in "This Web Site" (HTML document and associated files) have been placed here so that long time users of "The Author's" programs DANCAD3D.COM (tm) , DANCAM.EXE (tm) , or DANPLOT.EXE (tm) could help proofread the text of the documentation files or screens displayed, and also help test data files, example files, and or any software programs that might be made available from time to time, to aid "The Author" in finding mistakes, bugs, and other errors, omissions, defects, mistakes, and faults. Everything in "This Web Site" (HTML document and associated files) is "Beta Test", "Beta Code", Experimental, Preliminary, requires proofreading, or is being evaluated for possible revision, and is NOT warranted to be free of defect. To help "The Author" report any bugs, foul-ups, defects, or mistakes that you find, see "SECTION: 8" for instructions. "This Web Site" (HTML document and associated files) and all other files and programs by Daniel H. Hudgins are made available "AS IS" without warranty of any kind express, expressed, or implied. All offers and specifications are subject to change or discontinuation without notice of any kind. Please read "SECTION: 8" of "This Web Site" (HTML document and associated files) before trying to contact "The Author."
SECTION: 4.20 is for some information and illustrations relating to example images of the various Display Modes that affect the way drawing elements are displayed.
The Perspective Display Modes relate to the way the lines and edges of the triangle elements are colored in and outlined. The Perspective Display Modes also control how line elements, triangle elements, or mixed elements will be processed for display.
See Section: 3.1.25.0 for a detailed discussion of issues relating to Perspective Display Modes, Printing Display Modes, and other issues related to this Section.
The Stereoscopic Display Modes relate to the way the right and left eye views will be formatted for display. Different stereoscopic viewing methods require different formatting of the two images, these formatting options are controlled through a code number. Various other values are associated with each formatting code number so as to optimize the display for each Stereoscopic Display Mode, and its relation to the particular elements being displayed. The Perspective Display Mode selected affects the appearance of the images used for the Stereoscopic Display Formatting, i.e. you can use all of the Perspective Display Modes with any of the Stereoscopic Display Modes giving a large variety of combinations, only some of which would be of interest generally.
See Section: 3.3.7.8 for a detailed discussion of issues relating to Stereoscopic Viewing Methods, Anaglyph glasses, and other issues related to this Section.
The modes available and the images they produce may be altered in other program revisions, so the images generated by the program version you have may not match the illustrations shown here. Variations in the code used in different program, revisions and versions can affect the results, so you should not expect the same results from different versions and revisions of the programs. The Author reserves the right to make any kind of changes at any time without notice.
Some Browsers may not display the larger size illustrations properly, so you may only be able to view the smaller sizes of each illustration. You should turn off the shrink-to-fit feature in your browser, if it has one, since that can distort or degrade the illustrations or make thin lines disappear.
Series 20 Perspective Display Modes includes modes within the range 20 through 29, although not all of the mode numbers in this range are in use as of the initial release of v3.7L. The different Perspective Display Mode code numbers control how triangle elements are displayed. Line elements are normally displayed using Perspective Display Mode code number 1 when all elements to be displayed are just line elements, and Perspective Display Mode code number 10 when mixed triangle and line elements need to be displayed at the same time. The Mutate command can be used to convert line elements into triangle elements so that some of the other Perspective Display Modes can be used to display the mutated line elements along with triangle elements.
Perspective Display Mode 20 fills the triangles with their line color and outlines the edges marked for display in Black. Perspective Display Mode 20 does not shade the triangles by depth. For applications when you want a solid area filled in without the edge outlines, such as for use with tool path simulation, see Perspective Display Mode 21 and 24.
Perspective Display Modes 20, 22, and 23 are a good choice when displaying triangle elements using the 4bpp video modes, such as V640C16 or S1920C16, since the triangle fill is not shaded. When using the 4bpp video modes with the M16 palette, such as V640M16 or S1920M16, the Perspective Display Modes that shade the triangles by their depth such as Perspective Display Modes 44 and 64 may be usable.
Perspective Display Mode 21 fills the triangles with their line color and outlines the edges marked for display in the same color as the fill. Perspective Display Mode 21 does not shade the triangles by depth, and can be used when you want a solid area filled in, such as for use with tool path simulation, see also Perspective Display Mode 24 for applications where you want the triangles filled in without the edges outlined.
Perspective Display Mode 21 may be useful for the special application of making mattes for composite image work when you need the edge outlines included, because the image to be matted also had edge outlines included. The line width of the element used for making the matte and the composite image should be the same so that the matte will fit.
Because Perspective Display Mode 21 displays the triangle fill color equal to the line color the triangles were drawn in, you need to change the line color of the triangles in all of the elements to be displayed to line color 15 in order to get them to be filled in white. Likewise, the background color needs to be changed to color zero in order to get the background in black. The CRT NEGATIVE command can be used to reverse the colors of the rendered image. It is best to keep the first sixteen colors of the line color palette table set to the default values, except perhaps for the palette value for color zero which sets the background color, that is palette value one should be set to color one, palette value two should be set to color two, and so on up to palette value fifteen being set to color fifteen. See the Palette commands in the Files and Setup sub-menu of the Drawing Editor See the Line style command in the Lines edit sub-menu for changing the color of elements.
Perspective Display Mode 22 fills the triangles with their line color and outlines the edges marked for display in White. Perspective Display Mode 22 does not shade the triangles by depth. For applications when you want a solid area filled in without the edge outlines, such as for use with tool path simulation, see Perspective Display Mode 21 and 24.
Perspective Display Modes 20, 22, and 23 are a good choice when displaying triangle elements using the 4bpp video modes, such as V640C16 or S1920C16, since the triangle fill is not shaded. When using the 4bpp video modes with the M16 palette, such as V640M16 or S1920M16, the Perspective Display Modes that shade the triangles by their depth such as Perspective Display Modes 44 and 64 may be usable.
Perspective Display Mode 23 fills the triangles with their line color and outlines the edges marked for display in the complementary color, e.g. if the fill is Yellow the edge outlines will be in Blue and so forth. Perspective Display Mode 23 does not shade the triangles by depth. For applications when you want a solid area filled in without the edge outlines, such as for use with tool path simulation, see Perspective Display Mode 21 and 24.
Perspective Display Modes 20, 22, and 23 are a good choice when displaying triangle elements using the 4bpp video modes, such as V640C16 or S1920C16, since the triangle fill is not shaded. When using the 4bpp video modes with the M16 palette, such as V640M16 or S1920M16, the Perspective Display Modes that shade the triangles by their depth such as Perspective Display Modes 44 and 64 may be usable.
Perspective Display Mode 24 fills the triangles with their line color and does not outline the edges marked for display. Since Perspective Display Mode 24 does not shade the triangles by depth it can be used when you want a solid area filled in, such as for use with tool path simulation, see also Perspective Display Mode 21 for applications where you want the triangles filled in with the edges outlined in the fill color.
Perspective Display Mode 24 may be useful for the special application of making mattes for composite image work when you do not need the outlines included, because the image to be matted also did not have edge outlines included. The display mode used to make the matte and the composite image should both not display the edge outlines, if one of them does not display the edge outlines, so that the matte will fit, i.e. the display of of the edge outlines in the matte and the composite image should correspond.
Because Perspective Display Mode 24 displays the triangle fill color equal to the line color the triangles were drawn in, you need to change the line color of the triangles in all of the elements to be displayed to line color 15 in order to get them to be filled in white. Likewise, the background color needs to be changed to color zero in order to get the background in black. The CRT NEGATIVE command can be used to reverse the colors of the rendered image. It is best to keep the first sixteen colors of the line color palette table set to the default values, except perhaps for the palette value for color zero which sets the background color, that is palette value one should be set to color one, palette value two should be set to color two, and so on up to palette value fifteen being set to color fifteen. See the Palette commands in the Files and Setup sub-menu of the Drawing Editor See the Line style command in the Lines edit sub-menu for changing the color of elements.
Perspective Display Mode 24 fills the triangles with their line color, so filled in 2D elements can be made of triangles and displayed by using Perspective Display Mode 24 so that they appear as solid patches of color. In this example the "Yin-Yang" symbol is filled in in two colors, and an overlay element was added to outline the shapes in a third color. The overlay element for the outline was converted from a line element to a triangle element by using the MUTATE command, and was OFFSET slightly forward so that it would sort to be in front of the colored patches, if you have two triangles in exactly the same plane, the sorting order may get reversed because of the order of the triangles in the workspace and small rounding errors in the position of the elements in the workspace, so put elements in front at least by a little if they must be shown in front.
This sort of filled element display can be useful as a background for simulation of a tool path where you want the shape of the work-piece before machining to be a filled in area. The example macro files SIMLATHE.MAC and SIMVMILL.MAC use this technique.
Bold artwork of this nature might be useful for use with the Oil Painting commands to operate DANCAM.EXE (tm) or DANPLOT.EXE (tm) in order to automatically make a painting that fills in solid shapes without shading, and so the number of colors of paint needed would be limited.
Perspective Display Mode 24 can be coded into Macro Files to automatically generate filled in images.
Some code to make images like ones in this section is shown in Section: 4.20.3.5 (click here to see the macro code). Additional information about macro commands can be found in Appendix: B.