POV-Ray : Newsgroups : povray.newusers : Multiple frames Server Time
5 Nov 2024 07:16:59 EST (-0500)
  Multiple frames (Message 1 to 2 of 2)  
From: Mark
Subject: Multiple frames
Date: 26 Apr 2002 20:15:07
Message: <3cc9ed8b$1@news.povray.org>
Is there a way of telling what frame you are currently on?  I know there is
a clock variable, but I want to be able to define a scene based on its frame
number not the value of the clock.

Thanks


Post a reply to this message

From: Warp
Subject: Re: Multiple frames
Date: 26 Apr 2002 20:47:23
Message: <3cc9f51b@news.povray.org>
Mark <mar### [at] yahoocom> wrote:
> Is there a way of telling what frame you are currently on?  I know there is
> a clock variable, but I want to be able to define a scene based on its frame
> number not the value of the clock.

  Use the 'frame_number' keyword (works only in 3.5, though).

-- 
#macro N(D)#if(D>99)cylinder{M()#local D=div(D,104);M().5,2pigment{rgb M()}}
N(D)#end#end#macro M()<mod(D,13)-6mod(div(D,13)8)-3,10>#end blob{
N(11117333955)N(4254934330)N(3900569407)N(7382340)N(3358)N(970)}//  - Warp -


Post a reply to this message

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