POV-Ray : Newsgroups : povray.newusers : puzzle w/o modeling? : Re: puzzle w/o modeling? Server Time
2 Nov 2024 07:28:09 EDT (-0400)
  Re: puzzle w/o modeling?  
From: Doppelganger
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

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