POV-Ray : Newsgroups : povray.newusers : animation question Server Time
29 Jul 2024 02:34:01 EDT (-0400)
  animation question (Message 7 to 16 of 16)  
<<< Previous 6 Messages Goto Initial 10 Messages
From: Lothar Esser
Subject: Re: animation question
Date: 19 Jan 2002 12:00:35
Message: <3C49A6AF.4F4C8B8C@helix.nih.gov>
Michael DiDonato wrote:

>
>
>> Of course one could mention that there are macromolecular graphics
>> programs that support animation with povray in one form or other.
>> Hope this helps.
>>
>
> Do you know of any?
>

VMD, Ribbons, Dino, pyMol and well glr ( shameless promotion of my
program :)
L.


Post a reply to this message

From: Lothar Esser
Subject: Re: animation question
Date: 19 Jan 2002 12:15:11
Message: <3C49AA1C.FE8A1D4@helix.nih.gov>
Deaken wrote:

> Chris Howie wrote:
> >
> > rotate <0,clock,0>  // move clock into the desired axis
>
> That's the second time I've seen that particular rotate used in this
> thread.  Well, the first one was "rotate clock * y".  In neither case was
> there a Start_ or End_Clock mentioned.
>
> Am I a complete idiot for using "rotate <0, 360*clock, 0>", or did two
> people make the same mistake?  Both of these options?  Neither?
>
> Deaken (who has set followups, since this is not a unix question)

rotate clock * y is an alternative to rotate <0,clock,0> as y = <0,1,0> .
Yes and you are right that I did not mention start and end. I don't have the
exact commandline syntax or the stuff that you put in the .ini file in my
head right now which is why I said look it up in the manual. Of course if
you plan to have say n images with the first and last being identical one
should  use something like this
rotate clock * 360  / n * y   //  where clock goes from 0 to n. Unless I am
mistaken the user can assign any real value to clock and it will go from
start to end; so you can use integral values that match the frame number or
fractions from 0 to 1.  Talking so much about it I looked it up : the
command line switch is +k and in the .ini
file it would be clock=### where ### is a start value.  Look at povray 3.1
documentation like  pov115.htm#_Toc449951170.
L.


Post a reply to this message

From: Christopher James Huff
Subject: Re: animation question
Date: 19 Jan 2002 12:27:24
Message: <chrishuff-143206.12281619012002@netplex.aussie.org>
In article <3C495FC2.470A0742@sw-tech.com>, Deaken <dwy### [at] sw-techcom> 
wrote:

> Am I a complete idiot for using "rotate <0, 360*clock, 0>", or did two
> people make the same mistake?  Both of these options?  Neither?

That is actually probably the best way to do it...if you write all your 
scenes to work with the default [0, 1] range, you will have an easier 
time moving code between them. It could also get harder to control when 
you modify the clock range.
It's probably a matter of personal prefrence, though making the clock 
run from 0 to 360 just for a rotation seems like a bad idea...what if 
you then want to add translation by 1 unit over the course of the 
animation?

-- 
 -- 
Christopher James Huff <chr### [at] maccom>


Post a reply to this message

From: Bill DeWitt
Subject: Re: animation question
Date: 19 Jan 2002 13:48:04
Message: <3c49bf64$1@news.povray.org>
"Deaken" <dwy### [at] sw-techcom> wrote :
>
> Am I a complete idiot for using "rotate <0, 360*clock, 0>", or did two
> people make the same mistake?  Both of these options?  Neither?

    No, yes, no, no.


Post a reply to this message

From: bob h
Subject: Re: animation question
Date: 19 Jan 2002 19:50:42
Message: <3c4a1462$1@news.povray.org>
"Deaken" <dwy### [at] sw-techcom> wrote in message
news:3C495FC2.470A0742@sw-tech.com...
> Chris Howie wrote:
> >
> > rotate <0,clock,0>  // move clock into the desired axis
>
> That's the second time I've seen that particular rotate used in this
> thread.  Well, the first one was "rotate clock * y".  In neither case was
> there a Start_ or End_Clock mentioned.
>
> Am I a complete idiot for using "rotate <0, 360*clock, 0>", or did two
> people make the same mistake?  Both of these options?  Neither?

If you're asking whether or not clock by itself will rotate 360 degrees,
then no.  Not necessarily anyway, unless you specify a Intitial_Clock=1 and
Final_Clock=360 for INI file.
If you asked if rotate clock * y is same as <0,clock,0> then the answer is
yes.  Or in your example, rotate 360*clock*y.

bob h


Post a reply to this message

From: Deaken
Subject: Re: animation question
Date: 19 Jan 2002 20:12:21
Message: <3C4A19A2.115686BF@sw-tech.com>
Lothar Esser wrote:
> 
> Deaken wrote:
> 
> > Chris Howie wrote:
> > >
> > > rotate <0,clock,0>  // move clock into the desired axis
> >
> > That's the second time I've seen that particular rotate used in this
> > thread.  Well, the first one was "rotate clock * y".  In neither case was
> > there a Start_ or End_Clock mentioned.
> >
> > Am I a complete idiot for using "rotate <0, 360*clock, 0>", or did two
> > people make the same mistake?  Both of these options?  Neither?
> 
> rotate clock * y is an alternative to rotate <0,clock,0> as y = <0,1,0> .

Right.  I'm sorry, I was unclear in my question.  My point was not that the
individual x/y/z names are shorthands for the vectors, it was that some
people multiply by the clock, whereas I multiply by (the clock times 360). 
In fact, I had originally written "y*360*clock", but changed it for the sake
of clarity.

> rotate clock * 360  / n * y   //  where clock goes from 0 to n. 

The general form of what I use.  I am not good enough to generalize the
method and use clocks that are not simply 0-1.

Deaken


Post a reply to this message

From: Deaken
Subject: Re: animation question
Date: 19 Jan 2002 20:16:39
Message: <3C4A1AA4.2AB969B9@sw-tech.com>
bob h wrote:
> 
> "Deaken" <dwy### [at] sw-techcom> wrote in message
> news:3C495FC2.470A0742@sw-tech.com...
> > That's the second time I've seen that particular rotate used in this
> > thread.  Well, the first one was "rotate clock * y".  In neither case was
> > there a Start_ or End_Clock mentioned.
> >
> > Am I a complete idiot for using "rotate <0, 360*clock, 0>", or did two
> > people make the same mistake?  Both of these options?  Neither?
> 
> If you're asking whether or not clock by itself will rotate 360 degrees,
> then no.  Not necessarily anyway, unless you specify a Intitial_Clock=1 and
> Final_Clock=360 for INI file.

Actually, I was asking if my belief (that this was incorrect) was correct.

I think that means the same thing as what you said...

Deaken


Post a reply to this message

From: Chris Howie
Subject: Re: animation question
Date: 20 Jan 2002 14:16:53
Message: <3c4b17a5@news.povray.org>
> Am I a complete idiot for using "rotate <0, 360*clock, 0>", or did two
> people make the same mistake?  Both of these options?  Neither?

No, you're right.  It escaped me again.  360*clock IS correct.

Sorry about the error.

__________________
Chris Howie
cra### [at] yahoocom
http://winimizer.virtualave.net


Post a reply to this message

From: Deaken
Subject: Re: animation question
Date: 20 Jan 2002 23:10:40
Message: <3C4B94F2.54415E25@sw-tech.com>
Chris Howie wrote:
> 
> > Am I a complete idiot for using "rotate <0, 360*clock, 0>", or did two
> > people make the same mistake?  Both of these options?  Neither?
> 
> No, you're right.  It escaped me again.  360*clock IS correct.
> 
> Sorry about the error.

Oh, no need to apologize.  Being a rank amateur, I wanted to make sure that
I wasn't  doing something that merely LOOKED like it was working, or
overworking the problem (a major fault of mine), or something along those
lines.

Deaken


Post a reply to this message

From: Dennis Miller
Subject: Re: animation question
Date: 3 Mar 2002 23:21:47
Message: <3c82f65b@news.povray.org>
Try this:

http://www.mol.biol.ethz.ch/wuthrich/software/molmol/

d.
  "Michael DiDonato" <did### [at] scrippsedu> wrote in message 
news:3C48BA7A.B612C665@scripps.edu...
     
    > ******************************** 
    > 
    Not sure how your scene is  structured but one thing that comes to 
mind 
    would be to put all your objects into a union like 
    union { 
       sphere ... 
       triangle ... 
        //  up to here are your objects 

       rotate  clock * y 

    } 
    Read the part about animation in the manual of povray. There is a 
clock 
    variable that can be set and if you use povray's animation feature 
this 
    variable is increased 
    with each new frame. 
    Of course one could mention that there are macromolecular graphics 
    programs that support animation with povray in one form or other. 
    Hope this helps. 

     Lothar. 

    -- 
    Dr. Lothar Esser 
    NIH / NCI 
    Tel. 301-435-6163 
    email les### [at] helixnihgov

  Do you know of any? 
    
-- 
*********************************
Michael DiDonato, PhD
The Scripps Research Institute
Department of Molecular Biology 
Maildrop MB4
10550 North Torrey Pines Road
La Jolla, CA, 92037

Tel: (858) 784-9261
FAX: (858) 784-2277

http://www.scripps.edu/~didonato
*********************************


Post a reply to this message


Attachments:
Download 'iso-8859-1' (3 KB)

<<< Previous 6 Messages Goto Initial 10 Messages

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