POV-Ray : Newsgroups : povray.advanced-users : wicker basket Server Time
26 Nov 2024 04:50:02 EST (-0500)
  wicker basket (Message 1 to 10 of 24)  
Goto Latest 10 Messages Next 10 Messages >>>
From: John M  Dlugosz
Subject: wicker basket
Date: 11 Jan 2001 00:39:50
Message: <3a5d4726$1@news.povray.org>
What's a good way to make a wicker basket model, using what's available in
base plus MegaPOV?

--John


Post a reply to this message

From: Gail Shaw
Subject: Re: wicker basket
Date: 11 Jan 2001 01:03:40
Message: <3a5d4cbc@news.povray.org>
John M. Dlugosz <joh### [at] dlugoszcom> wrote in message
news:3a5d4726$1@news.povray.org...
> What's a good way to make a wicker basket model, using what's available in
> base plus MegaPOV?
>


Sphere_sweeps should work quite well, however they tend to be slow
to render.

Gail
--
********************************************************************
* gsh### [at] monotixcoza              * System.dat not found.         *
* http://www.rucus.ru.ac.za/~gail/ * Reformat hard drive Y)es O)k  *
********************************************************************
* If at first you don't succeed, call it version 1.0               *
********************************************************************


Post a reply to this message

From: Ken
Subject: Re: wicker basket
Date: 11 Jan 2001 01:21:57
Message: <3A5D5141.2164EDF4@pacbell.net>
"John M. Dlugosz" wrote:
> 
> What's a good way to make a wicker basket model, using what's available in
> base plus MegaPOV?

I have had fairly good success in the past using cylinders and #while
loops. It takes a creative approach but the results were satisfactory
and did not take all that long to render. A lot of it depends of the
level of detail needed and how close the object will be to the camera.

-- 
Ken Tyler - 1400+ POV-Ray, Graphics, 3D Rendering, and Raytracing Links:
http://home.pacbell.net/tylereng/index.html http://www.povray.org/links/


Post a reply to this message

From: Tom Melly
Subject: Re: wicker basket
Date: 11 Jan 2001 04:59:54
Message: <3a5d841a$1@news.povray.org>
"John M. Dlugosz" <joh### [at] dlugoszcom> wrote in message
news:3a5d4726$1@news.povray.org...
> What's a good way to make a wicker basket model, using what's available in
> base plus MegaPOV?
>
> --John

You could try splines - I've posted some code in text.scene-files as an
example.


Post a reply to this message

From: Kevin Wampler
Subject: Re: wicker basket
Date: 11 Jan 2001 13:13:08
Message: <3A5DF712.A54A5731@u.arizona.edu>
Chris Colefax posted a scene in p.b.i on 23 Oct 2000 that used his spline
include file to create a wicker basket.  You might want to take a look at
that, the title is "Basket-weaving (fun with spline objects)".  You can find
Chris's include files at http://www.geocities.com/SiliconValley/Lakes/1434/

"John M. Dlugosz" wrote:

> What's a good way to make a wicker basket model, using what's available in
> base plus MegaPOV?
>
> --John


Post a reply to this message

From: Mike Williams
Subject: Re: wicker basket
Date: 11 Jan 2001 16:39:17
Message: <rVINKHA1WeX6EwMk@econym.demon.co.uk>
Wasn't it John M. Dlugosz who wrote:

>What's a good way to make a wicker basket model, using what's available in
>base plus MegaPOV?

Here's something that almost works:-

Take the built in "mesh1" isosurface function and add it to a cylinder.
From some viewpoints, the result looks fairly convincing, and it's quite
quick.

To get it right, you really need to bend the mesh round the cylinder,
but I'm not sure how to do that.



#version unofficial MegaPov 0.6;

camera { location  <0, 0, -5> look_at <0, 0, 0>}

light_source {<-100,200,-100> colour rgb 1}

// Function for cylinder radius 1.0
#declare Cyl  =function{(x^2 + z^2 - 1.0^2)}

// Built in mesh1 function
#declare Mesh = function {"mesh1" <1,0.2,1,0.1,2>}

// Swap the z and y coordinates of the mesh to make it vertical
// and apply a threshold (cotrols the fatness of the weave)
#declare Mesh2 = function {(Mesh(x,z,y) - 0.08)}

// Scale the mesh by <1/5,1/5,1> and add 0.3 of it
// to the cylindrical surface 
isosurface {
  function (Cyl(x,y,z)
           + Mesh2(5*x,5*y,z)*0.3)
        method 2
        eval
        accuracy 0.001
        contained_by{sphere{0,2}}
        pigment {rgb <1,1,.6>}
}


Post a reply to this message

From: John M  Dlugosz
Subject: Re: wicker basket
Date: 13 Jan 2001 20:11:05
Message: <3a60fca9@news.povray.org>
I'm thinking that the cross-section of the thing isn't round.  Aren't there
features to extrude a 2-D defined shape in a complex curve?

"Gail Shaw" <gsh### [at] monotixcoza> wrote in message
news:3a5d4cbc@news.povray.org...
>
> John M. Dlugosz <joh### [at] dlugoszcom> wrote in message
> news:3a5d4726$1@news.povray.org...
> > What's a good way to make a wicker basket model, using what's available
in
> > base plus MegaPOV?
> >
>
>
> Sphere_sweeps should work quite well, however they tend to be slow
> to render.
>
> Gail
> --
> ********************************************************************
> * gsh### [at] monotixcoza              * System.dat not found.         *
> * http://www.rucus.ru.ac.za/~gail/ * Reformat hard drive Y)es O)k  *
> ********************************************************************
> * If at first you don't succeed, call it version 1.0               *
> ********************************************************************
>
>


Post a reply to this message

From: John M  Dlugosz
Subject: Re: wicker basket
Date: 13 Jan 2001 20:12:00
Message: <3a60fce0$1@news.povray.org>
Pretty close detail -- it is for a still-life that will fill most of the
frame.  Can you post a link to your rendering?

"Ken" <tyl### [at] pacbellnet> wrote in message
news:3A5D5141.2164EDF4@pacbell.net...
>
>
> "John M. Dlugosz" wrote:
> >
> > What's a good way to make a wicker basket model, using what's available
in
> > base plus MegaPOV?
>
> I have had fairly good success in the past using cylinders and #while
> loops. It takes a creative approach but the results were satisfactory
> and did not take all that long to render. A lot of it depends of the
> level of detail needed and how close the object will be to the camera.
>
> --
> Ken Tyler - 1400+ POV-Ray, Graphics, 3D Rendering, and Raytracing Links:
> http://home.pacbell.net/tylereng/index.html http://www.povray.org/links/


Post a reply to this message

From: John M  Dlugosz
Subject: Re: wicker basket
Date: 13 Jan 2001 20:14:18
Message: <3a60fd6a$1@news.povray.org>
Thanks for the pointer!  I'm interested in isosurfaces but have not jumped
in yet, due to lack of tutorials and examples.

Re bent in a sphere: Since I'm after a diamond-shaped basket, 4 flats should
be fine.  I'm just worried I won't have enough control on the individual
twigs to get them lined up with the trip pieces, or enough variation between
pieces.

--John

"Mike Williams" <mik### [at] nospamplease> wrote in message
news:rVI### [at] econymdemoncouk...
> Wasn't it John M. Dlugosz who wrote:
>
> >What's a good way to make a wicker basket model, using what's available
in
> >base plus MegaPOV?
>
> Here's something that almost works:-
>
> Take the built in "mesh1" isosurface function and add it to a cylinder.
> From some viewpoints, the result looks fairly convincing, and it's quite
> quick.
>
> To get it right, you really need to bend the mesh round the cylinder,
> but I'm not sure how to do that.
>
>
>
> #version unofficial MegaPov 0.6;
>
> camera { location  <0, 0, -5> look_at <0, 0, 0>}
>
> light_source {<-100,200,-100> colour rgb 1}
>
> // Function for cylinder radius 1.0
> #declare Cyl  =function{(x^2 + z^2 - 1.0^2)}
>
> // Built in mesh1 function
> #declare Mesh = function {"mesh1" <1,0.2,1,0.1,2>}
>
> // Swap the z and y coordinates of the mesh to make it vertical
> // and apply a threshold (cotrols the fatness of the weave)
> #declare Mesh2 = function {(Mesh(x,z,y) - 0.08)}
>
> // Scale the mesh by <1/5,1/5,1> and add 0.3 of it
> // to the cylindrical surface
> isosurface {
>   function (Cyl(x,y,z)
>            + Mesh2(5*x,5*y,z)*0.3)
>         method 2
>         eval
>         accuracy 0.001
>         contained_by{sphere{0,2}}
>         pigment {rgb <1,1,.6>}
> }


Post a reply to this message

From: John M  Dlugosz
Subject: Re: wicker basket
Date: 13 Jan 2001 20:18:39
Message: <3a60fe6f$1@news.povray.org>
That is beautiful!  Thanks for the pointer.  I'll follow up that thread on
p.b.i.

--John

"Kevin Wampler" <wam### [at] uarizonaedu> wrote in message
news:3A5DF712.A54A5731@u.arizona.edu...
> Chris Colefax posted a scene in p.b.i on 23 Oct 2000 that used his spline
> include file to create a wicker basket.  You might want to take a look at
> that, the title is "Basket-weaving (fun with spline objects)".  You can
find
> Chris's include files at
http://www.geocities.com/SiliconValley/Lakes/1434/
>
> "John M. Dlugosz" wrote:
>
> > What's a good way to make a wicker basket model, using what's available
in
> > base plus MegaPOV?
> >
> > --John
>


Post a reply to this message

Goto Latest 10 Messages Next 10 Messages >>>

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