POV-Ray : Newsgroups : povray.binaries.images : Fun stuff heading your way FAST : Re: Fun stuff heading your way FAST Server Time
30 Jul 2024 06:26:49 EDT (-0400)
  Re: Fun stuff heading your way FAST  
From: Jellby
Date: 29 Nov 2013 15:17:07
Message: <d76nma-gb8.ln1@meles.unex.es>
clipka wrote:

> For three or more fully independent ghosts it starts to get more
> complicated, and you'll have to duplicate at least one of the objects.

Could it be an option to allow multiple instances of the "blink" keyword?

blink 0.0 0.1
blink 0.5 0.6
...

Or maybe use an arbitrary number of two-valued vectors instead of just two 
numbers?

blink <0.0, 0.1>, <0.5, 0.6>, ...

Or something like a "time map"?

blink_map {
 [0.1 blink]
 [0.5 blink]
 [0.6 blink]
 ...
}

(this is assuming the object starts at time 0.0 as visible, then at 0.1 
becomes invisible, at 0.5 visible again, at 0.6 invisible again...)


As a name for the feature, it reminds me of the way different parts of a 
presentation are shown/hidden in the "beamer" package for LaTeX (used to 
create power-point-like PDF presentations). So I suggest:

only
time_only
time
time_domain
time_span
switch  (would it conflict with #switch ?)
exists

-- 
light_source{9+9*x,1}camera{orthographic look_at(1-y)/4angle 30location
9/4-z*4}light_source{-9*z,1}union{box{.9-z.1+x clipped_by{plane{2+y-4*x
0}}}box{z-y-.1.1+z}box{-.1.1+x}box{.1z-.1}pigment{rgb<.8.2,1>}}//Jellby


Post a reply to this message

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