POV-Ray : Newsgroups : povray.newusers : newbie question :-) Server Time
2 Nov 2024 17:19:48 EDT (-0400)
  newbie question :-) (Message 1 to 2 of 2)  
From: pat
Subject: newbie question :-)
Date: 24 Nov 2003 18:55:02
Message: <web.3fc299469ffbe299f5fb35ff0@news.povray.org>
Hi guys,

i just started with povray a few days ago, and decided to model my loved
juice can as first object.

i started modelling with moray to get the feeling for the coordinate system,
but i think i now switch to editing povray files with text editor.

i have started with the main cylinder and the "ausguss", in english it is
outlet, i suppose :) it looks all so angular (?!? correct word, hmm, i dont
know)
and i have some minor gaps in the connection between can and outlet.

maybe someone can give me an advice so it looks more smooth, than it does
now.

i have attached the source below, thanks a lot in advance:)

regards
patrick

<--------------- cut from here --------------------->
global_settings {
  assumed_gamma 1.0
}
background {
 color <0.8,0.8,0.8>
}

camera {  //  Camera Camera01
  location  <    -18.711,      19.513,      17.157>
  sky       <    0.00000,     0.00000,     1.00000> // Use right
handed-system
  up        <        0.0,         0.0,         1.0> // Where Z is up
  right     <    1.33411,         0.0,         0.0> // Right Vector is
adjusted to compensate for spherical (Moray) vs. planar (POV-Ray) aspect
ratio
  angle          7.23184    // Vertical       5.424
  look_at   <     -0.361,       0.290,       1.466>
}

light_source {   // Light001
  <0.0, 0.0, 0.0>
  color rgb <1.000, 1.000, 1.000>*1.1000
  photons {
  }
  translate  <-12.0, 0.0, 10.0>
}

#declare T_Solid_Color =
   material  // T Solid Color
   {
      texture
      {
         pigment
         {
            color rgb <0.070588, 0.376471, 0.552941>
         }
         finish
         {
            ambient 0.15
            specular 0.7266
            roughness 0.006139
         }
      }
   }

#declare Blue =
   material  // Blue
   {
      texture
      {
         pigment
         {
            color rgb <0.0, 0.0104, 0.8229>
         }
      }
   }

#declare ausguss_body_union = union {
  cylinder { // ausguss_body
    <0,0,1>, <0,0,0>, 1
    scale <0.11, 0.11, 0.25>
    rotate -90.0*y
    translate  <-0.42, 0.0, 2.25>
  }
  box { // ausguss_body_cube
    <-1, -1, -1>, <1, 1, 1>
    scale <0.055, 0.11, 0.13>
    rotate -90.0*y
    translate  <-0.540818, -0.001073, 2.32>
  }
}
difference { // ausguss
  object { ausguss_body_union }
  cylinder { // ausguss_cut_cyl
    <0,0,1>, <0,0,0>, 1
    scale <0.1, 0.1, 0.27>
    rotate -90.0*y
    translate  <-0.41, 0.0, 2.25>
  }
  box { // ausguss_body_cube_cut
    <-1, -1, -1>, <1, 1, 1>
    scale <0.065, 0.1, 0.14>
    rotate -90.0*y
    translate  <-0.54, 0.0, 2.32>
  }
  box { // ausguss_cut_schraeg
    <-1, -1, -1>, <1, 1, 1>
    scale <0.1, 0.2, 0.2>
    rotate 45.0*y
    translate  <-0.628053, 0.0, 2.340186>
  }
  material {
    Blue
  }
  translate  -0.000873*x
}


difference { // can_body
  cylinder { // can_body_corpus
    <0,0,1>, <0,0,0>, 1
    scale <0.45, 0.45, 2.37>
  }
  cylinder { // can_body_cut
    <0,0,1>, <0,0,0>, 1
    scale <0.43, 0.43, 2.3001>
    translate  0.07*z
  }
  cylinder { // can_body_cut_low
    <0,0,1>, <0,0,0>, 1
    scale <0.43, 0.43, 0.0501>
    translate  -0.001*z
  }
  cylinder { // can_cut_ausguss_cyl
    <0,0,1>, <0,0,0>, 1
    scale <0.11, 0.11, 0.2>
    rotate -90.0*y
    translate  <-0.35, 0.0, 2.25>
  }
  box { // can_cut_ausguss_cube
    <-1, -1, -1>, <1, 1, 1>
    scale <0.05, 0.11, 0.055>
    translate  <-0.4, 0.0, 2.32>
  }
  material {
    T_Solid_Color
  }
  // All transformations fixed
}


Post a reply to this message

From: Tim Nikias v2 0
Subject: Re: newbie question :-)
Date: 24 Nov 2003 20:17:59
Message: <3fc2adc7$1@news.povray.org>
> Hi guys,
>
> i just started with povray a few days ago, and decided to model my loved
> juice can as first object.

Hi Pat!

Seems like you're german (Ausguss and whatnot), so if need be, feel free to
email me in german.

Regarding this object of yours: It would be wiser to convert the
output-image to jpeg and post it in povray.binaries.images and ask for some
advice there as well. Nontheless, helping with modelling is a difficult
task.

In this case, you might want to draw a sketch and design this object with
torus as well, as it may provide some smooth curves for various places.
Aside of that, you might have to model it with something completely
different, like using SPatch or such, since POV's CSG is more suited to the
hard-edged stuff, unless you spend lots of time and skill.

Regards,
Tim

-- 
"Tim Nikias v2.0"
Homepage: <http://www.nolights.de>
Email: tim.nikias (@) nolights.de


Post a reply to this message

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