Category : Printer + Display Graphics
Archive   : IRIT.ZIP
Filename : SOLID1.IRT

 
Output of file : SOLID1.IRT contained in archive : IRIT.ZIP
#
# This simple solid was taken from: Geometric Modeling,
# by Michael E. Mortenson page 440.
#
# Created by Gershon Elber, Jan 89
#

save_mat = view_mat;
view_mat = view_mat * scale(vector( 0.2, 0.2, 0.2 ));

A = BOX(vector( -1, -1, -2), 2, 2, 4);
B = BOX(vector(-0.5, -2, -1), 2, 4, 2);
C = BOX(vector( 0, -3, -0.5), 2, 6, 1);

D = A + B;
free(A);
free(B);
beep(1000, 100);
interact(list(D), false);

E = D - C;
free(C);
free(D);
beep(1000,100);

final = convex(E);
free(E);
interact(list(final), false);

mdump("solid1", view_mat);
gdump("solid1", final);
free(final);

view_mat = save_mat;


  3 Responses to “Category : Printer + Display Graphics
Archive   : IRIT.ZIP
Filename : SOLID1.IRT

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/