POV-Ray : Newsgroups : povray.newusers : Seeing it closer : Seeing it closer Server Time
29 Jul 2024 12:27:50 EDT (-0400)
  Seeing it closer  
From: Oleguer Vilella
Date: 31 Dec 2005 05:03:08
Message: <43b6575c$1@news.povray.org>
Hi all,

I've done this some tima ago and I want this object bigger. Instead of 
multiply all by 2 or by any number, how can I use the camera the see it 
closer?

The code is de following :
======================================
camera {
location  <7, 25, -10> look_at   <5, 3, 0> }

light_source { <-100, 200, -100> color rgb 1 }
background { White }
#declare Direction = vnormalize( <5, 3, 0> - <7, 25, -10> );


global_settings { max_trace_level 20 }



merge{
sphere { <0, 0, 0>, 1
translate -0.5*x
}
sphere { <0, 0, 0>, 0.5
translate 0.5*x
scale <1.2, 0, 0>
pigment { rgbf <0.9, 0.9, 0.9, 0.95> }
interior_texture { pigment { gradient -x
pigment_map { [0.01 rgbf <0, 1, 0, .95>]
[0.01 rgbf <0, 1, 0, 0.6>]
[0.65 rgbf <0.97, 0.99, 0.98, 0.6>]
[0.65 rgbf <0.97, 0.99, 0.98, 0.6>]}
scale 2
}
}}
pigment { rgbf <0.97, 0.99, 0.98, 0.6> } // Part de dins.
rotate <0, 0, 0>
scale 1.2 //Scala del merge.
clipped_by { plane { y, 0.01 } translate <0, 0, 0> }
hollow on // Per buidar-lo.
interior_texture { pigment { rgbf <.9, .9, .9, 0.8> } } //Part de fora.
translate <5.5, 8, 0> + Direction // Part traduir l'objecte sencer.
rotate <0, 0, 0> + Direction
}
//Actin patch
torus { 0.5, 0.32
pigment { color Red }
scale 0.9
translate <17, 40, 0> + Direction*150
}

torus { 0.5, 0.32
pigment { color Red }
scale 0.9
translate <16, 42, 0> + Direction*150
}

torus { 0.5, 0.32
pigment { color Red }
scale 0.9
translate <15, 44, 0> + Direction*150
}

torus { 0.5, 0.32
pigment { color Red }
scale 0.9
translate <17, 37, 0> + Direction*150
}

torus { 0.5, 0.32
pigment { color Red }
scale 0.9
translate <16, 34, 0> + Direction*150
}

torus { 0.5, 0.32
pigment { color Red }
scale 0.9
translate <14.5, 32.3, 0> + Direction*150
}

torus { 0.5, 0.32
pigment { color Red }
scale 0.9
translate <9, 31, 0> + Direction*150
}
======================================

Thanks in advance,
Oleguer


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.