POV-Ray : Newsgroups : povray.international :  : Re: (Es) Vibrar figuras en animaci=F3n Server Time
23 Jun 2024 09:39:15 EDT (-0400)
  Re: (Es) Vibrar figuras en animaci=F3n  
From: Oleguer Vilella
Date: 3 Dec 2004 16:25:37
Message: <41b0d9d1$1@news.povray.org>




======================================
include "transforms.inc"

#declare damping = 5;
#declare frequency = 5;
#declare framerate = 25;
#declare frames = 100

#declare xvibrate =
distance*cosd(clock*360*(frames/framerate)*frequency)*pow(2.817,-clock*(fram
es/framerate)*damping);
======================================


======================================
rotate <xvibrate, 0, 0>
translate <xvibrate, 0, 0>
======================================

======================================
object { ROM2 translate <0, 0, 0> translate <0.5*pi*clock, 0.2*pi*clock,
0> }
object { RHO1 translate <0, -0.2, 0> translate <-0.3*pi*clock, 0.2*pi*clock,
0> }
object { PKC1 translate <0, 0, 0> translate <0.3*pi*clock, 0.2*pi*clock,
0> }
object { BCK1 translate <0, 0, 0> translate <-0.31*pi*clock, 0.18*pi*clock,
0> }
object { MKK1_MKK2 translate <0, 0, 0> translate <0.2*pi*clock,
0.18*pi*clock, 0>}
object { Slt2 translate <-0.3*pi*clock, 0.2*pi*clock, 0> translate <0, -0.5,
0> }
======================================



producir este error?

P.D.: +KFI0 +KFF10

Gracias por avanzado,
Oleguer


Post a reply to this message

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