POV-Ray : Newsgroups : moray.win : any programmers? : Re: any programmers? Server Time
29 Jul 2024 06:26:47 EDT (-0400)
  Re: any programmers?  
From: Jason Krah
Date: 19 Apr 1999 21:04:35
Message: <371BC481.EA1F997A@fan.net.au>
I tried keymorph and alas it did not work as I would have hoped..
(I didnt give it a lot of time I have to admit!!!)

It chrashed.. I think for the same reasons I have been having problems.
The main problem (I am having) is that Moray is putting slightly differnt
comment fields in the pov files (not every scene, but now and then),
My prgram ("anim") was freaking out when it found a statement in one file
at the same posittion where there was a comment in the other file.

I have rewritten my app so that it tokenises each file before zeroing in
on differenses. It can then ignore comments. And handles white space better.
My procedure for createing an anim from moray is simmply...

a. Export you two scenes fromMoray (s1.pov, s1.inc, s2.pov, s2.inc)
b. run "anim" (my little app) on the include files.. ->  this interpolates
textures and creates singular include dependency
c. change the ref. in the two pov files to refernce to the new include file
-> otherwise anim  will find differneces and try to interpolate
d. run "anim" utility on the pov files..
e. raytrace however many frames you want

I hope to incorporate the inc file support automatically... (next weekend)
(ie. you just type the name of the pov files.. if inc files are refernced
they
get anim'ed automaitcaly and references updated.. (Shouldnt be TO hard..))

It still occasionally adds extra '>''s at times, but this seems to only
happen to the
inc files..

Also note that if no texture changes are made in the Moray Files, the inc
files dont really
need to be interpolated.. just references get interpolated if they are
differmt in the two povs
eg.
if pov1 has include"pov1.inc" and pov2 has inlcude "pov2.inc" , anim will try
to interpolate number difference to
include "pov (1 + (2-1)*clock).inc" and this would probably fail.
Its still only a dos command prompt type thingy, but Im supprised I got it to
work this far..
Anyone want a copy Ill post exe tomorrow.. Source available (if your that
keen...).



Ken wrote:

> I understand your enthusiasm for creating your own keyframing software
> but it might interest you to know that someone beat you to it. It might
> also prove interesting for you just to experiment with it to see how
> someone else went about solving the different operations involved with
> decoding the changed portions of the scenefiles. I believe I read where
> Ken (the author of the utility - not me) will send the source for his
> utility to those who ask for it and you may gain some insight from that
> as well.
>
> Take a look at:
> http://www.televar.com/~ceckak/keymorph/
>
> --
> Ken Tyler
>
> mailto://tylereng@pacbell.net



>
> I understand your enthusiasm for creating your own keyframing software
> but it might interest you to know that someone beat you to it. It might
> also prove interesting for you just to experiment with it to see how
> someone else went about solving the different operations involved with
> decoding the changed portions of the scenefiles. I believe I read where
> Ken (the author of the utility - not me) will send the source for his
> utility to those who ask for it and you may gain some insight from that
> as well.
>
> Take a look at:
> http://www.televar.com/~ceckak/keymorph/
>
> --
> Ken Tyler
>
> mailto://tylereng@pacbell.net


Post a reply to this message

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