POV-Ray : Newsgroups : povray.newusers : puzzle w/o modeling? : Re: puzzle w/o modeling? Server Time
30 Jul 2024 08:25:18 EDT (-0400)
  Re: puzzle w/o modeling?  
From: incognito
Date: 15 Aug 2004 23:40:00
Message: <web.41202bafdeb84c0655d024bf0@news.povray.org>
I was wondering how I can repeat a smaller version of the piece to create an
entire puzzle. For example, I want to create one 30 piece puzzle (5 rows by
6 cols) and then another 32 piece w/different dimensions. Taking the first
case, I could create all the corner pieces individually but then the piece
at (1,1) could be identical to (4,1) reflected over the y axis. Is it worth
trying to use a loop for the edge pieces at all? Is it worth trying to use
a loop for all the non-edge pieces? Is it easier to just try to create all
the pieces individually since there are 62?

Thanks for any thoughts.

"Doppelganger" <ped### [at] netcabopt> wrote:
> welcome
>
> "incognito" <nomail@nomail> wrote in message
> news:web.411ee889deb84c0655d024bf0@news.povray.org...
> > Thanks so much. I really do have a good idea to use it for...
> >
> > "Doppelganger" <ped### [at] netcabopt> wrote:
> > > camera {
> > > location 5*y
> > > look_at 0}
> > >
> > > union {
> > >  difference {
> > >   box {<-1,0,-1>, <1,0.1,1>}
> > >   sphere {<0.1,0.05,-0.8>, 0.25}
> > >  }
> > >  intersection {
> > >   sphere {<1.2,0.05,0>, 0.25 scale 1.5*z}
> > >   box{<2,0,2><-2,0.1,-2>}
> > >  }
> > >  texture {
> > >   pigment {rgb <1,0,0>}
> > >   finish {ambient 1}
> > >  }
> > > }
> > >
> > > a short example. you can probably optimize it a bit, and use cylinders
> > > instead of spheres (to do away with the intersection, and for more
> realistic
> > > geometry), but it's 4:44 AM and I couldn't be bothered to think too
> much.
> > > hope it helps just the same
> > >
> > >
> > > "incognito" <nomail@nomail> wrote in message
> > > news:web.411ea5584f93181955d024bf0@news.povray.org...
> > > > Hi,
> > > >
> > > > I was wondering if it is possible to create a realistic jigsaw puzzle
> > > piece
> > > > without modeling for a simple scene? Any suggestions on what shapes
> would
> > > > be best to use?
> > > >
> > > > Also, in general, what is a cutoff to use in determining whether or
> not a
> > > > trace needs to be modeled?
> > > >
> > > > Thanks very much.
> > > >
> > > >
> >
> >
> >
> >


Post a reply to this message

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