POV-Ray : Newsgroups : povray.newusers : puzzle w/o modeling? Server Time
30 Jul 2024 10:22:46 EDT (-0400)
  puzzle w/o modeling? (Message 1 to 9 of 9)  
From: incognito
Subject: puzzle w/o modeling?
Date: 14 Aug 2004 19:55:00
Message: <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

From: Doppelganger
Subject: Re: puzzle w/o modeling?
Date: 14 Aug 2004 23:45:51
Message: <411edc6f$1@news.povray.org>
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

From: incognito
Subject: Re: puzzle w/o modeling?
Date: 15 Aug 2004 00:40:01
Message: <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

From: Doppelganger
Subject: Re: puzzle w/o modeling?
Date: 15 Aug 2004 07:57:48
Message: <411f4fbc$1@news.povray.org>
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

From: incognito
Subject: Re: puzzle w/o modeling?
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

From: incognito
Subject: Re: puzzle w/o modeling?
Date: 15 Aug 2004 23:45:00
Message: <web.41202da7deb84c0655d024bf0@news.povray.org>
Oops...meant to say x axis where I said y below...

"incognito" <nomail@nomail> wrote:
> 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

From: incognito
Subject: Re: puzzle w/o modeling?
Date: 17 Aug 2004 00:50:00
Message: <web.41218e23deb84c0655d024bf0@news.povray.org>
I just realized that perhaps I can create the image I want by creating a box
and then drawing the outline of the individual pieces on the surface. Any
suggestion on how I may be able to draw those outlines?

Thanks.

"incognito" <nomail@nomail> wrote:
> Oops...meant to say x axis where I said y below...
>
> "incognito" <nomail@nomail> wrote:
> > 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

From: JWV
Subject: Re: puzzle w/o modeling?
Date: 17 Aug 2004 15:03:17
Message: <41225675@news.povray.org>
hi,

> I just realized that perhaps I can create the image I want by creating a
box
> and then drawing the outline of the individual pieces on the surface. Any
> suggestion on how I may be able to draw those outlines?

Yes, I think you could do it like in the source file i posted in p.b.sf, and
have a look at the image in p.b.i.

Warning, the code might not be very readable due to laziness :-)

Greetings,

JWV

"incognito" <nomail@nomail> wrote in message
news:web.41218e23deb84c0655d024bf0@news.povray.org...
> I just realized that perhaps I can create the image I want by creating a
box
> and then drawing the outline of the individual pieces on the surface. Any
> suggestion on how I may be able to draw those outlines?
>
> Thanks.
>
> "incognito" <nomail@nomail> wrote:
> > Oops...meant to say x axis where I said y below...
> >
> > "incognito" <nomail@nomail> wrote:
> > > 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

From: incognito
Subject: Re: puzzle w/o modeling?
Date: 17 Aug 2004 16:15:00
Message: <web.41226615deb84c0655d024bf0@news.povray.org>
I was able to find both the image and src code. Please disregard my prev
msg.

Yeah, I believe I should be able to tweak this for what I want.

Thanks.


"JWV" <jwv|at|planet.nl> wrote:
> hi,
>
> > I just realized that perhaps I can create the image I want by creating a
> box
> > and then drawing the outline of the individual pieces on the surface. Any
> > suggestion on how I may be able to draw those outlines?
>
> Yes, I think you could do it like in the source file i posted in p.b.sf, and
> have a look at the image in p.b.i.
>
> Warning, the code might not be very readable due to laziness :-)
>
> Greetings,
>
> JWV
>
> "incognito" <nomail@nomail> wrote in message
> news:web.41218e23deb84c0655d024bf0@news.povray.org...
> > I just realized that perhaps I can create the image I want by creating a
> box
> > and then drawing the outline of the individual pieces on the surface. Any
> > suggestion on how I may be able to draw those outlines?
> >
> > Thanks.
> >
> > "incognito" <nomail@nomail> wrote:
> > > Oops...meant to say x axis where I said y below...
> > >
> > > "incognito" <nomail@nomail> wrote:
> > > > 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.