Do Enjoy! Christopher J. Fearnley cfearnl@pacs.pha.pa.us cfearnl@cpp.pha.pa.us fearnlcj@duvm.ocs.drexel.edu fearnlcj@duvm.bitnet ===================== tenseg-7.pov - cut here =================== // 6 Strut tensegrity rendered - I hope to eventually animate it. // I used "povray -i tenseg-7.pov -o tenseg-7.tga +w640 +h480 +a" // For the final rendering. It took 25 minutes on my 486-33 Linux box. // Acknowledgements to John Kirk for sharing his research, // suggesting I get into ray-tracing, and making comments about the // POV-Ray source and output. #include "colors.inc" #include "textures.inc" #declare Cam_factor = 3 #declare Camera_X = -1 * Cam_factor #declare Camera_Y = 0.2 * Cam_factor #declare Camera_Z = -0.5 * Cam_factor camera { location up <0, 2.1, 0> right <2.1, 0, 0> direction <0, 0, 3> look_at <0, 0, 0> } light_source { color Yellow } light_source { color White } light_source { color White } // White Wall Background plane { x, 5 pigment { White } finish {ambient 0.1 diffuse 0.9} } // White Wall -Z (right of viewer and camera) plane { <0, 0, -1>,10 pigment { White } finish {ambient 0.15 diffuse 0.8} } #declare pointO = < 0, 1/2, 1 > #declare pointQ = < 0, 1/2, -1 > #declare pointC = < -1, 0, 1/2 > #declare pointD = < 1, 0, 1/2 > #declare pointA = < 1/2, 1, 0 > #declare pointB = < -1/2, 1, 0 > #declare pointE = < 0, -1/2, 1 > #declare pointF = < -1, 0, -1/2 > #declare pointG = < 1/2, -1, 0 > #declare pointH = < -1/2, -1, 0 > #declare pointI = < 0, -1/2, -1 > #declare pointJ = < 1, 0, -1/2 > cylinder { pointO, pointQ, 0.05 pigment {Gray35} no_shadow } // Strut OQ cylinder { pointE, pointI, 0.05 pigment {Gray35} no_shadow } // Strut EI cylinder { pointC, pointD, 0.05 pigment {Gray35} no_shadow } // Strut CD cylinder { pointJ, pointF, 0.05 pigment {Gray35} no_shadow } // Strut FJ cylinder { pointA, pointG, 0.05 pigment {Gray35} no_shadow } // Strut AG cylinder { pointB, pointH, 0.05 pigment {Gray35} no_shadow } // Strut BH cylinder { pointO, pointC, 0.005 pigment { Black } no_shadow } // String OC cylinder { pointO, pointD, 0.005 pigment { Black } no_shadow } // String OD cylinder { pointE, pointC, 0.005 pigment { Black } no_shadow } // String CE cylinder { pointE, pointD, 0.005 pigment { Black } no_shadow } // String ED cylinder { pointQ, pointJ, 0.005 pigment { Black } no_shadow } // String QJ cylinder { pointQ, pointF, 0.005 pigment { Black } no_shadow } // String QF cylinder { pointI, pointJ, 0.005 pigment { Black } no_shadow } // String IJ cylinder { pointI, pointF, 0.005 pigment { Black } no_shadow } // String IF cylinder { pointQ, pointA, 0.005 pigment { Black } no_shadow } // String AQ cylinder { pointA, pointO, 0.005 pigment { Black } no_shadow } // String AO cylinder { pointD, pointA, 0.005 pigment { Black } no_shadow } // String AD cylinder { pointD, pointG, 0.005 pigment { Black } no_shadow } // String DG cylinder { pointJ, pointA, 0.005 pigment { Black } no_shadow } // String AJ cylinder { pointJ, pointG, 0.005 pigment { Black } no_shadow } // String JG cylinder { pointE, pointG, 0.005 pigment { Black } no_shadow } // String EG cylinder { pointI, pointG, 0.005 pigment { Black } no_shadow } // String IG cylinder { pointB, pointO, 0.005 pigment { Black } no_shadow } // String BO cylinder { pointB, pointQ, 0.005 pigment { Black } no_shadow } // String BQ cylinder { pointB, pointF, 0.005 pigment { Black } no_shadow } // String BF cylinder { pointB, pointC, 0.005 pigment { Black } no_shadow } // String BC cylinder { pointH, pointI, 0.005 pigment { Black } no_shadow } // String HI cylinder { pointE, pointH, 0.005 pigment { Black } no_shadow } // String EH cylinder { pointH, pointF, 0.005 pigment { Black } no_shadow } // String HF cylinder { pointH, pointC, 0.005 pigment { Black } no_shadow } // String HC ===================== tenseg-7.pov - cut here ===================