Author Topic: Tridefender image  (Read 918 times)

Offline Francisco Munoz

  • Sr. Member
  • ****
  • Posts: 401
    • View Profile
    • http://www.wesnoth.org
Tridefender image
« on: August 26, 2006, 08:05:40 PM »
I just launched the kpovmodeler and to check it just broke my Tridefender drawings in basic primitives and coded them so povray could trace the whole mecha...
The design files are in the group and also in these messages:
http://games.groups.yahoo.com/group/gearhead_dev/m essage/3927
http://games.groups.yahoo.com/group/gearhead_dev/m essage/3929

\"Tridefender\"

Here is the pov code... Just a bunch of spheres and cones
I'll upload it to the forum files later
---------------------------------------
union {
   //*PMName body
   
   difference {
      //*PMName upper half
      cone {
         <0, 0, 0>, 10,
         <0, 10, 0>, 5
      }
      box {
         <-10, 8, -4.5>, <10, 6, -15>
      }
      pigment {
         color rgb <1, 0, 0>
      }
   }
   
   cone {
      //*PMName window
      <0, 0.01, 0>, 9.9,
      <0, 9.99, 0>, 4.95
      pigment {
         color rgb <0, 1, 0>
      }
   }
   intersection {
      //*PMName lower half
     
      sphere {
         <0, 0, 0>, 10
      }
      box {
         <-11, 0, -11>, <11, -11, 11>
      }
      pigment {
         color rgb <1, 0, 0>
      }
   }
   
   union {
      //*PMName missile rack
      superellipsoid {
         //*PMName missile rack
         <0.35, 0.35>
         scale <4, 3, 3>
         translate z*(-8)
         pigment {
            color rgb <1, 1, 0>
         }
      }
      union {
         //*PMName missiles
         sphere {
            <-3, 1.5, 0>, 0.5
         }
         sphere {
            <-1.5, 1.5, 0>, 0.5
         }
         sphere {
            <0, 1.5, 0>, 0.5
         }
         sphere {
            <1.5, 1.5, 0>, 0.5
         }
         sphere {
            <3, 1.5, 0>, 0.5
         }
         sphere {
            <-3, -1.5, 0>, 0.5
         }
         sphere {
            <-1.5, -1.5, 0>, 0.5
         }
         sphere {
            <0, -1.5, 0>, 0.5
         }
         sphere {
            <1.5, -1.5, 0>, 0.5
         }
         sphere {
            <3, -1.5, 0>, 0.5
         }
         pigment {
            color rgb <0.5, 0.5, 0.5>
         }
         translate z*(-11)
      }
   }
}

union {
   //*PMName turret
   
   sphere {
      <0, 10, 0>, 4.75
      pigment {
         color rgb <1, 1, 0>
      }
   }
   
   intersection {
      sphere {
         <0, 10, 0>, 5
      }
      box {
         <-2, 0, -11>, <2, 16, 11>
      }
      pigment {
         color rgb <1, 0, 0>
      }
   }
   cone {
      <0, 0, 0>, 1,
      <0, 0, -15>, 0.8
      pigment {
         color rgb <0.5, 0.5, 0.5>
      }
      scale 1
      rotate x*30
      translate y*10
   }
   cone {
      <0, 0, 0>, 0.5,
      <0, 0, -10>, 0.3
      pigment {
         color rgb <0.5, 0.5, 0.5>
      }
      scale 1
      rotate x*30
      translate <-3, 12, 0>
   }
}

union {
   //*PMName leg
   sphere {
      <0, 0, 0>, 2.5
      pigment {
         color rgb <1, 0, 0>
      }
   }
   cone {
      <0, 0, 0>, 2,
      <8, 8, 0>, 1.75
      pigment {
         color rgb <1, 1, 0>
      }
   }
   sphere {
      <8, 8, 0>, 2.25
      pigment {
         color rgb <1, 0, 0>
      }
   }
   cone {
      <8, 8, 0>, 1.75,
      <15, 0, 0>, 1.5
      pigment {
         color rgb <1, 1, 0>
      }
   }
   sphere {
      <15, 0, 0>, 2
      pigment {
         color rgb <1, 0, 0>
      }
   }
   cone {
      <15, 0, 0>, 1.5,
      <10, -11, 0>, 1.25
      pigment {
         color rgb <1, 1, 0>
      }
   }
   sphere {
      <10, -11, 0>, 1.25
      pigment {
         color rgb <1, 1, 0>
      }
   }
   translate x*10.5
   rotate y*30
}

union {
   //*PMName leg
   sphere {
      <0, 0, 0>, 2.5
      pigment {
         color rgb <1, 0, 0>
      }
   }
   cone {
      <0, 0, 0>, 2,
      <8, 8, 0>, 1.75
      pigment {
         color rgb <1, 1, 0>
      }
   }
   sphere {
      <8, 8, 0>, 2.25
      pigment {
         color rgb <1, 0, 0>
      }
   }
   cone {
      <8, 8, 0>, 1.75,
      <15, 0, 0>, 1.5
      pigment {
         color rgb <1, 1, 0>
      }
   }
   sphere {
      <15, 0, 0>, 2
      pigment {
         color rgb <1, 0, 0>
      }
   }
   cone {
      <15, 0, 0>, 1.5,
      <10, -11, 0>, 1.25
      pigment {
         color rgb <1, 1, 0>
      }
   }
   sphere {
      <10, -11, 0>, 1.25
      pigment {
         color rgb <1, 1, 0>
      }
   }
   translate x*10.5
   rotate y*150
}

union {
   //*PMName leg
   sphere {
      <0, 0, 0>, 2.5
      pigment {
         color rgb <1, 0, 0>
      }
   }
   cone {
      <0, 0, 0>, 2,
      <8, 8, 0>, 1.75
      pigment {
         color rgb <1, 1, 0>
      }
   }
   sphere {
      <8, 8, 0>, 2.25
      pigment {
         color rgb <1, 0, 0>
      }
   }
   cone {
      <8, 8, 0>, 1.75,
      <15, 0, 0>, 1.5
      pigment {
         color rgb <1, 1, 0>
      }
   }
   sphere {
      <15, 0, 0>, 2
      pigment {
         color rgb <1, 0, 0>
      }
   }
   cone {
      <15, 0, 0>, 1.5,
      <10, -11, 0>, 1.25
      pigment {
         color rgb <1, 1, 0>
      }
   }
   sphere {
      <10, -11, 0>, 1.25
      pigment {
         color rgb <1, 1, 0>
      }
   }   translate x*10.5
   rotate y*(-90)
}

global_settings {
   assumed_gamma 1.5
   noise_generator 2
}

light_source {
   <20, 20, -20>, rgb <1, 1, 1>
}

camera {
   perspective
   location <20, 40, -40>
   sky <0, 1, 0>
   direction <0, 0, 1>
   right <1.3333, 0, 0>
   up <0, 1, 0>
   look_at <0, 0, 0>
}

Offline draconuszero

  • Sr. Member
  • ****
  • Posts: 251
    • View Profile
Tridefender image
« Reply #1 on: August 26, 2006, 11:46:43 PM »
Nice model!

Offline Francisco Munoz

  • Sr. Member
  • ****
  • Posts: 401
    • View Profile
    • http://www.wesnoth.org
Tridefender image
« Reply #2 on: August 27, 2006, 03:08:25 AM »
Scape Capsule
This is a SC1 scape capsule..no much detail needed (SF1 will be small in the game)
\"Capsule\"
Povcode below:
-------------------------------------------------
global_settings {
   assumed_gamma 1.5
   noise_generator 2
}

sphere {
   <0, 0, 0>, 1
   scale <3, 3, 6>
   pigment {
      color rgb <0, 1, 0>
   }
}

difference {
   sphere {
      <0, 0, 0>, 1
      scale <3.01, 3.01, 6.02>
   }
   
   box {
      <-6, 1, 2>, <6, 6, -7>
   }
   
   pigment {
      color rgb <1, 0, 0>
   }
}

union {
   //*PMName wing
   
   sphere {
      <0, 0, 0>, 1
      scale <12, 0.5, 2>
      translate x*5
      pigment {
         color rgb <1, 1, 0>
      }
   }
   
   difference {
      sphere {
         <0, 0, 0>, 1
         scale <12.1, 0.501, 2.001>
         translate x*5
      }
      cone {
         <0, 2, 0>, 1,
         <0, -2, 0>, 1
         scale <12.1, 0.501, 2.001>
         translate <5, 0, 0.5>
      }
      pigment {
         color rgb <1, 0, 0>
      }
   }
}

superellipsoid {
   <0.4, 0.4>
   scale <2, 1, 2.5>
   translate x*13
   pigment {
      color rgb <1, 0, 0>
   }
}

sphere {
   <0, 0, 0>, 0.5
   scale <0.5, 2, 4>
   translate <13, 0.75, 0>
   pigment {
      color rgb <1, 0, 0>
   }
}

sphere {
   <0, 0, 0>, 0.5
   scale <0.5, 3.5, 6>
   translate <0, 1.5, 2.75>
   pigment {
      color rgb <1, 0, 0>
   }
}

union {
   cone {
      <0, 0, 0>, 1.5,
      <0, 0, 3.5>, 2
      scale 0.6
      translate <13, 0, 2>
   }
   cone {
      <0, 0, 0>, 1.5,
      <0, 0, 3.5>, 2
      scale 0.8
      translate z*4
   }
   pigment {
      color rgb <0.5, 0.5, 0.5>
   }
}

light_source {
   <40, 50, -50>, rgb <1, 1, 1>
}

camera {
   perspective
   location <20, 20, -20>
   sky <0, 1, 0>
   direction <0, 0, 1>
   right <1.3333, 0, 0>
   up <0, 1, 0>
   look_at <5, 0, 0>
}

Offline SharkD

  • Hero Member
  • *****
  • Posts: 1011
    • View Profile
    • Isometricland
Tridefender image
« Reply #3 on: August 27, 2006, 05:51:56 PM »
I just rendered them using my include files, and was wondering if the scale was all right.

\"\"
\"\"

Offline Francisco Munoz

  • Sr. Member
  • ****
  • Posts: 401
    • View Profile
    • http://www.wesnoth.org
Tridefender image
« Reply #4 on: August 27, 2006, 09:10:46 PM »
I just used the scale that most fit my calcul?ations to advoid using too many not integer numbers.
Maybe make then about 1.25 to 1.5 bigger (Tridefender as big as Kojedo and the capusle as big as the Vespa)

Offline SharkD

  • Hero Member
  • *****
  • Posts: 1011
    • View Profile
    • Isometricland
Tridefender image
« Reply #5 on: August 28, 2006, 02:34:06 AM »
Here they are at 4/3 scale.

\"\"
\"\"

My include files are available in the Files section of the Yahoo! group, in case you want to play around with them.