#include "GALAXY.SF"
#include "glass.inc"
#include "colors.inc"
#include "metals.inc"

// STARFIELD
#declare star_count = 2000;
#declare star_scale = 0.20; //default 1
#declare star_colour_turb = 100;
//#declare star_scale = 1; //default 1
#declare star_brightness_turb = 0.5; //default 0.5
#declare star_colour = <0.9, 0.6, 0.4>; // default <0.9,0.9,0.9>

camera {
//location <0, 10, -120>
location <0,200,-500>
direction 1.5*z
right 4/3*x
look_at <0, 1, 0.0>
//rotate <0,180,0>
rotate <0,10,0> }

//External light
light_source { 0*x  color Yellow*2  translate <-80, 40, -80> shadowless}  //*2    <-80,40,-80>
//light_source { 0*x  color rgb <1,.9,.95>*1.5  translate <-80, 40, -80> shadowless }
//External light
*/
light_source {
//<0,0,10>
<0,0,0.5>      //Change this if you want to put the light at a different point
color Red*6  //Multiplying by 2 doubles the brightness setting = Red*6
shadowless    
translate<0,1.6,-200> }
*/
//External light

light_source {
//<0,0,10>
<0,0,0.5>      //Change this if you want to put the light at a different point
color rgb <1,0.5,0.5>*4  //Multiplying by 2 doubles the brightness
//color rgb <0.1,0.3,0.9>*4  // 4
shadowless    
//translate<100,240,0> }

//External light
//light_source { <2, 4, -400> color White } //White

background { color Black}

//Starship - Ankaragi Mothership // BotRejectsInc *** www.cronodon.com ***
difference
{
cone
{
<0,-100,0>, 10 // base
<0,100,0>, 100
//texture {T_Silver_1A}
//pigment {color Red}      //
pigment { rgbf <0.4,0.8,1,0.95> } // A blue-tinted glass
finish { phong 0.9 phong_size 40  // A highlight
reflection 0.1  } // Glass reflects a bit
interior { ior 1.5 }  // Glass refraction
//texture {T_Ruby_Glass}
}
cone
{
<0,-50,0>, 1
<0,100,0>, 20
texture {T_Ruby_Glass}
}

light_source { <0,80,0> color Red*20 } //internal light *20 shadow = true

/*cylinder
{
<0,0,0>, <0,100,0>, 20 texture {T_Ruby_Glass}
} */

cone
{
<0,-90,0>, 8 // base
<0,99,0>, 80   //
//texture {T_Silver_1A}
//pigment {color Red}
pigment { rgbf <0.8,0.8,1,0.95> } // A blue-tinted glass
finish { phong 0 phong_size 40  // A highlight
reflection 0.1  } // Glass reflects a bit
interior { ior 1.5 }  // Glass refraction
//texture {T_Ruby_Glass}
}
light_source {<0,-80,0> color Green*16 } //Engine light shadow = true

//Fighter bay    
torus {70,10 translate<0,20,0>  scale <1,1,1> texture {T_Ruby_Glass}} //opens fighter bay
}

//Main forward cannons

difference
{
sphere { <50,100,50>, 10 texture {T_Ruby_Glass} }
cylinder { <50,95,50>, <50,100,50>, 10 }
}
difference
{
sphere { <50,100,50>, 10 texture {T_Ruby_Glass} }
cylinder { <50,95,50>, <50,100,50>, 10 }
rotate <0,60,0>
}
difference
{
sphere { <50,100,50>, 10 texture {T_Ruby_Glass} }
cylinder { <50,95,50>, <50,100,50>, 10 }
rotate <0,120,0>
}  
difference
{
sphere { <50,100,50>, 10 texture {T_Ruby_Glass} }
cylinder { <50,95,50>, <50,100,50>, 10 }
rotate <0,180,0>
}
difference
{
sphere { <50,100,50>, 10 texture {T_Ruby_Glass} }
cylinder { <50,95,50>, <50,100,50>, 10 }
rotate <0,-60,0>
}
difference
{
sphere { <50,100,50>, 10 texture {T_Ruby_Glass} }
cylinder { <50,95,50>, <50,100,50>, 10 }
rotate <0,-120,0>
}

//Optional lateral armament
cone { <0,0,0>, 8, <-20,-10,0>, 1 texture {T_Ruby_Glass}  translate <-70,35,0> rotate <0,30,0>}
cone { <0,0,0>, 8, <-20,-10,0>, 1 texture {T_Ruby_Glass}  translate <-70,35,0> rotate <0,60,0>}
cone { <0,0,0>, 8, <-20,-10,0>, 1 texture {T_Ruby_Glass}  translate <-70,35,0> rotate <0,90,0>}
cone { <0,0,0>, 8, <-20,-10,0>, 1 texture {T_Ruby_Glass}  translate <-70,35,0> rotate <0,120,0>}
cone { <0,0,0>, 8, <-20,-10,0>, 1 texture {T_Ruby_Glass}  translate <-70,35,0> rotate <0,150,0>}
cone { <0,0,0>, 8, <-20,-10,0>, 1 texture {T_Ruby_Glass}  translate <-70,35,0> rotate <0,180,0>}
cone { <0,0,0>, 8, <-20,-10,0>, 1 texture {T_Ruby_Glass}  translate <-70,35,0> rotate <0,210,0>}
cone { <0,0,0>, 8, <-20,-10,0>, 1 texture {T_Ruby_Glass}  translate <-70,35,0> rotate <0,240,0>}
cone { <0,0,0>, 8, <-20,-10,0>, 1 texture {T_Ruby_Glass}  translate <-70,35,0> rotate <0,270,0>}
cone { <0,0,0>, 8, <-20,-10,0>, 1 texture {T_Ruby_Glass}  translate <-70,35,0> rotate <0,300,0>}
cone { <0,0,0>, 8, <-20,-10,0>, 1 texture {T_Ruby_Glass}  translate <-70,35,0> rotate <0,330,0>}
cone { <0,0,0>, 8, <-20,-10,0>, 1 texture {T_Ruby_Glass}  translate <-70,35,0> rotate <0,360,0>}

//Star
#declare pigment_1 =
pigment {
image_map { jpeg "gas_giant_1c.jpg" map_type 2 }
turbulence 0
}
#declare pigment_2 =
pigment { color rgb <1, 0.95, 0.8>}    

sphere { <150, 0, 2000>, 1000
texture {
pigment { rgb <0.5, 0.3, 0.1>  }  //optional
pigment {  
average
pigment_map{
[1.0 pigment_1]
[1.0 pigment_2]
}
}
rotate y*180
translate <0, 1, 2>
//scale <10,10,10>
} }  
Back to POVRAY page 1