Dec 192017
Source to the CAD graphics book by Lee Adams.
File CADSRC.ZIP from The Programmer’s Corner in
Category C Source Code
Source to the CAD graphics book by Lee Adams.
File Name File Size Zip Size Zip Type
GRAPHICS.DOC 1468 662 deflated
T-1.C 3401 1167 deflated
T-10.C 14252 4116 deflated
T-11.C 15096 4294 deflated
T-12.C 13472 3789 deflated
T-13.C 14283 3894 deflated
T-14.C 10616 2852 deflated
T-15.C 6906 2194 deflated
T-16.C 16447 4052 deflated
T-17.C 13922 4373 deflated
T-18.C 18021 4447 deflated
T-2.C 7627 2412 deflated
T-3.C 10064 2900 deflated
T-4.C 11081 3096 deflated
T-5.C 9642 2822 deflated
T-6.C 7125 2203 deflated
T-7.C 12254 3277 deflated
T-8.C 11092 2974 deflated
T-9.C 7536 1942 deflated

Download File CADSRC.ZIP Here

Contents of the GRAPHICS.DOC file

This file contains source code from the book:


(Windcrest Books,1988)

NOTE: Must use Turbo-C version 1.5 or greater
(or else buy his
other book that has assembly language code to add graphics
capability to your compiler).

t-1 Demos autoconfig of software at runtime
to match graphics hardware.

t-2 Draws a wire frame cube.

t-3 Draws a solid cube using plane equation
method of hidden surface removal.

t-4 Draws a solid 3D sphere.

t-5 Draws a solid 3D cylinder.

t-6 Draws Parametric curves in 3D.

t-7 Draws a solid 3D cube w/two-color design mapped onto it.

t-8 Draws a solid 3D cylinder w/two-color design mapped onto it.

t-9 Demonstrates the halftoning capabilities of VGA/EGA.

t-10 Computer-shades a 3D solid cube using plane equation +
halftone techniques.

t-11 Computer-shades a solid 3D sphere.

t-12 Computer-shades a solid 3D cylinder.

t-13 Demonstrates a mirror reflection of a computer-shaded cube.

t-14 Demo's hi-speed frame animation of a shaded 3D wire frame cube.

t-15 Rotates a simple cube using real-time animation.

t-16 CASE STUDY: demo's package design of a box.

t-17 CASE STUDY: simple flight simulator using real-time animation.

t-18 CASE STUDY: demo's soft drink can design.

 December 19, 2017  Add comments

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>