diff --git a/hexatube.inc b/hexatube.inc index 7099f2c..47dbc95 100644 --- a/hexatube.inc +++ b/hexatube.inc @@ -2,9 +2,9 @@ */ -#local Rtube = R_basecone * 2.75; -#local Stube = 1.00; -#declare Etube = 0.02; +#local Rtube = R_basecone * 2.10; +#local Stube = 1.10; +#declare Etube = 0.03; #declare HexaTube_shape_0 = object { @@ -21,20 +21,64 @@ difference { cylinder { <0, -S2, 0>, <0, S2, 0>, R2 } cylinder { <0, 0, -S2>, <0, 0, S2>, R2 } } - texture { Flashy scale 3 } + texture { Flashy scale 14 } } } +#local HT_tube_int = object +{ +merge { + #local S2 = Stube + 0.29; + #local R2 = Rtube * 0.25; + sphere { <-S2, 0, 0>, R2 } + cylinder { <-S2, 0, 0>, , R2 } + sphere { , R2 } + } +} + +#declare HexaTube_interieur = object +{ +merge { + #local S2 = Stube + 0.26; + #local R2 = Rtube * 0.25; + object { HT_tube_int } + object { HT_tube_int rotate y*90 } + object { HT_tube_int rotate z*90 } + } +texture { T_WIP_dents } +} + +#declare Un_HexaTube = object +{ +union { + object { HexaTube_shape_0 } + object { HexaTube_interieur } + } +rotate <15, 0, -18+(42*NormClock)> +} + #declare HexaTube_base = object { -cylinder { 0, y, 3 } -pigment { color Cyan } +#local H_bt = 1.00; +difference { + cylinder { 0, y*H_bt, 2.60 } + #for (Foo, 0, 359, 30) + #local Px = 2.40 * sin(radians(Foo)); + #local Pz = 2.40 * cos(radians(Foo)); + merge { + cylinder { -y, y*10, 0.42 translate } + torus { 0.42, 0.14 translate } + } + #end + cylinder { 0, y, 0.75 } + } +texture { LeGris scale 5 } } #declare HexaTube = object { union { - object { HexaTube_shape_0 rotate y*clock translate y*2.5 } + object { Un_HexaTube rotate y*clock translate y*2.47 } object { HexaTube_base } } } diff --git a/hexatube.pov b/hexatube.pov index 35e0859..791e914 100644 --- a/hexatube.pov +++ b/hexatube.pov @@ -13,12 +13,12 @@ object { Le_Decor } // ======================================================= -#declare Loc_cam = <18+(5*NormClock), 22.7, 30>; +#declare Loc_cam = <18+(11*NormClock), 4.7, 42+NormClock>; camera { location Loc_cam - #local H = 1.16 - (NormClock*0.44); - look_at + #local H = 1.16 - (NormClock*0.74); + look_at right angle 59 - 25 * Cos_010(NormClock) }