File:Povray frame structure 1.png

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Original file(2,400 × 1,800 pixels, file size: 2.93 MB, MIME type: image/png)

Captions

Captions

Frame structure made with POV-Ray

Summary

[edit]
Description
English: Frame structure made with POV-Ray
Date
Source Own work
Author Merikanto

// frame structure of bars // maybe part of space station under construction

  1. include "colors.inc"
  2. include "textures.inc"
  3. include "metals.inc"
  4. include "stars.inc"

camera {

 location <1000,1000,1000>*8
 // location <0,1000,0>*2  
   look_at <0,0,0>

}


light_source {

   <10000,10000,10000>
   color White

}


sphere{ <0,0,0>, 1

     texture{ 
     
      Starfield1 
           
      scale 0.1
      //scale 0.25
         } // end of texture
       scale 1000000
     } //
  1. declare obj1=object

{

   box{ <-3,-100,-3>,<3,100,3>  }


  texture {
       T_Chrome_2D
  }
 

}



  1. declare obj2=union {


object { obj1 scale 1.1 rotate z*90 translate z*107 }

object { obj1 scale 1.1 rotate z*90 translate z*-107 }

object { obj1


scale 1.1

rotate z*90
rotate y*90
 translate x*-107

}


object { obj1


scale 1.1

rotate z*90
rotate y*90
 translate x*107

}



object { obj1


scale 1.45

 rotate z*90
rotate y*45

}


object { obj1


scale 1.45

 rotate z*90
rotate y*-45

}


}

  1. declare obj3= union

{

object { obj2

}



object { obj2 rotate x*90

translate y*107 translate z*107

}


object { obj2 rotate x*90

translate y*107 translate z*-107

}



object { obj2 rotate x*90 rotate y*90

translate y*107

translate x*107

}


object { obj2 rotate x*90 rotate y*90

translate y*107

translate x*-107

}


}


/* 

object { obj2 }

*/
 
 

 
  1. declare trak1=200;
  1. declare obj4=union

{

#declare nn = -10;
   #while(nn <= 10)
       object {
   obj3
   translate <trak1*nn,0,0>
   } 


   #declare nn = nn + 1;
   #end              
             
             

}

  1. declare obj5=union

{

#declare nn = -4;
   #while(nn <= 4)
       object {
   obj3
   translate <trak1*nn,0,0>
   } 


   #declare nn = nn + 1;
   #end              
             
             

}


  1. declare trak2=107*2;
  1. declare obj5_20=union

{

#declare nn = -19;
   #while(nn <= 20)
       object {
   obj3
   translate <trak1*nn,0,0>
   } 


   #declare nn = nn + 1;
   #end              
             
             

}



  1. declare obj6=union {
     /*

object { obj4 rotate y*60

}

object { obj4 rotate y*-60

}

object { obj4 rotate y*0

}


   */
 
 
           
             

object {

   obj5
   rotate y*120

translate x*200*9*cos(radians(30))

translate z*200*9 *sin(radians(30))*-1  

// rotate y*120


}


object {

   obj5
   rotate y*120
 translate x*-200*9*cos(radians(30))   
translate z*-200*9 *sin(radians(30))*-1  

// rotate y*12

}

object {

   obj5
   rotate y*60

translate x*200*9*cos(radians(-30))

translate z*200*9 *sin(radians(-30))*-1  

// rotate y*120


}

object {

   obj5
   rotate y*60

translate -x*200*9*cos(radians(-30))

translate -z*200*9 *sin(radians(-30))*-1  

// rotate y*120


}

object {

   obj5
   rotate y*0

translate x*200*9*cos(radians(90))

translate z*200*9 *sin(radians(90))*-1  

// rotate y*120


}

object {

   obj5
   rotate y*0

translate -x*200*9*cos(radians(90))

translate -z*200*9 *sin(radians(90))*-1  

// rotate y*120


}

}


  1. declare obj7=union{


object { obj6

translate y*200*-19 }


object { obj6

translate y*200*19


}


  1. declare rrr1=107*2*10;
  1. declare mm = 0;
   #while(mm <= 6)


   #declare roto1=60*mm;
   object {
       obj5_20
       rotate z*90  
       rotate y*roto1
   
       translate x*rrr1*cos(radians(roto1))   
       translate z*rrr1*sin(radians(roto1))*-1  
   } 


             
   #declare mm = mm + 1;
#end              
            

    

}

object {

   obj7
   rotate x*30
   rotate y*45
   rotate z*30
   
   scale 1.3
   

}

Licensing

[edit]
I, the copyright holder of this work, hereby publish it under the following license:
w:en:Creative Commons
attribution share alike
This file is licensed under the Creative Commons Attribution-Share Alike 4.0 International license.
You are free:
  • to share – to copy, distribute and transmit the work
  • to remix – to adapt the work
Under the following conditions:
  • attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
  • share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current06:31, 31 March 2022Thumbnail for version as of 06:31, 31 March 20222,400 × 1,800 (2.93 MB)Merikanto (talk | contribs)Uploaded own work with UploadWizard

There are no pages that use this file.

Metadata