POV-Ray : Newsgroups : povray.programming : tiled animated textures? Server Time
29 Jul 2024 00:24:27 EDT (-0400)
  tiled animated textures? (Message 1 to 2 of 2)  
From: Steve Smith
Subject: tiled animated textures?
Date: 24 Dec 1998 10:45:00
Message: <3682632F.4A66244B@pavan.co.uk>
Are there such things as tiled textures that would have, say, 16 frames?

Id like to make an animation with rippling water.

I always get excellent replies from this new group, so thanks in
advance.

--
-------------------------------------------------------------------------

Steve Smith
Rhiwlan, Penrhyncoch, Aberystwyth, Ceredigion, SY23 3EH, Wales
Tel: 01970 820750
Email: ste### [at] pavancouk
http://www.pavan.co.uk


Post a reply to this message

From: Ken Cecka
Subject: Re: tiled animated textures?
Date: 8 Jan 1999 00:22:16
Message: <36959501.75B546D2@televar.com>
I'm not sure if I understand exactly what you are asking for. but it is
possible to have animated texture maps in your scene, although it is an
indirect method.  You have to decompose your animation file that you want to
use as a texture into a series of frames with a consistent numbered naming
scheme (frame001.gif, frame002.gif, etc).  Then multiply the clock variable
by the number of total frames you have and use pov's string manipulation
functions to build the filename of the frame.  Then apply that image as your
map.  If this doesn't make sense, let me know and I'll post a code example.

Ken

Steve Smith wrote:

> Are there such things as tiled textures that would have, say, 16 frames?
>
> Id like to make an animation with rippling water.
>
> I always get excellent replies from this new group, so thanks in
> advance.
>
> --
> -------------------------------------------------------------------------
>
> Steve Smith
> Rhiwlan, Penrhyncoch, Aberystwyth, Ceredigion, SY23 3EH, Wales
> Tel: 01970 820750
> Email: ste### [at] pavancouk
> http://www.pavan.co.uk


Post a reply to this message

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