POV-Ray : Newsgroups : povray.general : broken glass : Re: broken glass Server Time
15 Jun 2024 11:04:48 EDT (-0400)
  Re: broken glass  
From: Dave Dunn
Date: 6 May 2008 15:45:00
Message: <web.4820b4fa1e5e05d2653c34500@news.povray.org>
I actually did a broken glass a few years back. The method I used was to create
a jagged height field and use this as a cutting object in a CSG difference. You
have to do it twice for each piece, one to remove the broken part and then again
to create the fragment. When you are done you can just assemble the pieces in
place and animate them coming apart.


Alain <ele### [at] netscapenet> wrote:
> kike nous apporta ses lumieres en ce 2008/04/10 05:03:
> > Hi guys:
> >
> > I've got a problem. I would like to simulate a broken glass in several stages. I
> > mean, first the glass is hit so it goes moreless like this:
> > http://www.alucare.co.uk/controlpanel/shoppics/Image/broken%20glass.JPG
> > and then the glass is broken into pieces. I know moreless how to do the second
> > stage.
> >
> > But the first one is quite more difficult. I have tried by texturing a box with
> > a crackled texture but no way. Then I have tried with an image_map, but again,
> > no success. It looks too much like an image, you know what I mean. A third idea
> > would be to divide the glass into pieces and to put them together (with a cgs
> > for example). I havent tried this last one.
> >
> > The question is: do you know about someone working in something similar?
> >
> > thanks on advance.
> >
> >
> Aparently, you want some kind of animation of the glass breaking apart. So, you
> already need to define your peices.
> In that case, my aproach would be to start by creating all the pieces. Once the
> pieces are done, place them togheder in a planar configuration.
>
> The bright lines are caused by a combination of total internal reflection and
> miltiple surface reflections between the edges of 2 adjacent pieces. Those
> surfaces are no less transparent than the original surfaces, in fact, they can
> be even MORE transparent as they are "new" surfaces without any grime nor
> scratches. If you want to give them a different texture, make it slightly more
> reflective.
>
> --
> Alain
> -------------------------------------------------
> Buy Land Now. It's Not Being Made Any More.


Post a reply to this message

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