|
|
Le 17-12-22 à 15:42, Pablo a écrit :
> "Bald Eagle" <cre### [at] netscapenet> wrote:
>> "Pablo" <Pab### [at] gmailcom> wrote:
>>> Hi everyone, i'm Pablo, first-year engineer design student and I have to make up
>>> this product on pov ray. How would you make it? Sphere_sweep? It doesnt look so
>>> realistic:(
>>
>>
>> I'd say that the central portion ought to be an isosurface with a spherical
>> equation modified with a sine wave, then asymmetrically scaled (see "Non-linear
>> scale").
>>
>> See the Insert Menu, under Special Shapes, Isosurfaces by basic function,
>> Isosurface sin sphere .
>> Then scale it:
>> http://www.econym.demon.co.uk/isotut/substitute.htm
>>
>> Then add sphere-sweep legs, or an isosurface equivalent.
>>
>> http://www.econym.demon.co.uk/isotut/more.htm#spline
>> http://www.econym.demon.co.uk/isotut/splines.htm
>
>
> Hey Bald Eagle, I tried doing the way you said but i only could to make a
> isosurface sin sphere and how its name says, its a sphere but I need a kind of
> water drop. Wich funcion could I use with the sin to make this shape? Not sure
> if im explaining well
>
>
If you play with the x,y, and z parameters, tou can stretch ans squish
the shape.
(x,y/3,z,...) will stertch your shape vertically by a factor of 3. It's
similat to scale<1,3,1>.
You can also perform some non-uniform scalling:
(x,sqr(abs(y)),z,...) (x, y*(x+z), z, ...) ...
If you want to have a wavy shape, you can add or substrace a function to
another:
#declare f_radial = function{pattern{dadial frequency 20 sin_wave rotate
90*x}};
function{f_sphere(x,y,z) + f_radial(x,y,z)}
Post a reply to this message
|
|