POV-Ray : Newsgroups : povray.binaries.images : Bender Bending Rodriguez (Bending unit 22) [~48 KB jpeg] : Re: Bender Bending Rodriguez (Bending unit 22) [~48 KB jpeg] Server Time
4 Nov 2024 20:14:39 EST (-0500)
  Re: Bender Bending Rodriguez (Bending unit 22) [~48 KB jpeg]  
From: Trevor G Quayle
Date: 30 Jan 2006 11:35:00
Message: <web.43de3f2d68af1eb76c4803960@news.povray.org>
"Alex Kluchikov" <klk### [at] ukrnet> wrote:
> "Bryan Valencia" <jjp### [at] spamgourmetcom> wrote:
> > Good work. I don't know how they do it in their models, but Bender's lower
> > 'lip' is slightly smaller in diameter than his upper.
> > see here.
>
>   Thanks for your attention. Yes, I see, but it is not so easy to make
> 'lips' of different size while using CSG. And as far as I see, Bender's
> 'neck' is round and the top of his head is round too, the back of head is
> cylindrical -- so, it seems to be no easy way to make object of this kind
> with CSG. Or may be I didn't do my best.
>   Sincerely Yours,
>   Alex  Kluchikov.


Have a look at action figures here:
http://actionfigures.about.com/library/weekly/aa050401e.htm

You may be able to do it with CSG by removing half of the bottom part (or
alternatively, top part) of the cylinder and replacing it with an unevenly
scaled cylinder (ie, elliptical cylinder).  If implemented correctly you
will get a smooth transition on both the top and bottom parts of the mouth.


for example
//start
sphere {<0,200,0>, 100 pigment{Gray}}
difference{
  union{
    difference{
      cylinder {<0,0,0>, <0,200,0>, 100 }
      box{<0,-1,-101>, <101,80,101>}
    }
    cylinder {<0,0,0>, <0,81,0>, 100 scale<0.8,1,1>}
  }
  cylinder {<30,80,-101>, <30,80,101>, 30 }
  box{<30,50,-101>, <101,110,101>}
  pigment{Gray}
}
//end

-tgq


Post a reply to this message

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