POV-Ray : Newsgroups : povray.advanced-users : Meteorite impact : Re: Meteorite impact Server Time
29 Jul 2024 08:15:45 EDT (-0400)
  Re: Meteorite impact  
From: J  Diehl
Date: 30 Aug 2002 02:40:04
Message: <web.3d6f11a1e23aabfef70c33440@news.povray.org>
For the heightfields you could try to model an animated texture that
describes the form of the impact (like the waves pattern, but a little more
realistic)
What should it look like? a ring wall moving outside by time should do it, I
think.
You could start with onion pattern on a disc or something like that and
create your own grayscale color map from 0 to 1 describing the impact,
where black should be the deepest, white should be the highest value off
the ground. The outside color should always be the height of the ground
surrounding it and should be your back color of the scene.
Use the clock variable inside the color map to alter the position and the
height of the ring wall. Last you could add a little turbulence and blend
it with another texture like granite to get more realistic.
Looking from above, this animation will become your heightfields.
Save the animation as numbered stills and load the stills clock-dependent as
a heightfield into your meteorite scene.
btw, it should be possible that pov 3.5 can handle any texture as an image
and use it as a heightfield internally (without saving and loading stills).
But I never tried this.


Post a reply to this message

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