POV-Ray : Newsgroups : povray.animations : Storing object rotation : Re: Storing object rotation Server Time
8 Jul 2024 13:23:50 EDT (-0400)
  Re: Storing object rotation  
From: Warp
Date: 17 Mar 2003 20:38:15
Message: <3e767886@news.povray.org>
Phil Brewer <kod### [at] mindspringcom> wrote:
> Does anyone have an idea of how to store an rotational "state" for my
> ball that I can call during the next frame and add to?

  Write the necessary values to a file (see the documentation about
#fopen and #write) and read them in the next frame (#read).

-- 
#macro M(A,N,D,L)plane{-z,-9pigment{mandel L*9translate N color_map{[0rgb x]
[1rgb 9]}scale<D,D*3D>*1e3}rotate y*A*8}#end M(-3<1.206434.28623>70,7)M(
-1<.7438.1795>1,20)M(1<.77595.13699>30,20)M(3<.75923.07145>80,99)// - Warp -


Post a reply to this message

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