Re: Frame System
"Miguel Angel Gómez Márquez" <[email protected]> Wed, 4 Oct 2006 21:06:14 +0000
| Newsgroups | gmane.comp.kde.devel.kpovmodeler |
|---|---|
| Message-ID | <[email protected]> |
Grrrr the text adjustment can make confusions.
Ammm again:
TWEEN ALGORITHM
Linear(){}
Spline(){} * Frame =3D Relative Tweened Object
Whatever(){}
BoxEnd::pX - BoxBegin::pX
---------------------------------- * CLOCK =3D BoxTween::pX
Frames
BoxEnd and BoxBegin get filtered BoxTween is the object rendered with
the specific calculations for that frame (clock second).
On 10/4/06, Miguel Angel G=F3mez M=E1rquez <[email protected]> wrote:
> Would it be too ugly to use a preprocessor ( parser) before calling
> the renderer?
> -------
> A possible answer i want to opinions on and for to make basic
> animations without modifying much the code would be adding 2 objects
> (in the same window for the moment) putting a tag or label that says
> that the first object is the begining and the last one is the end.
> Then to make the tween we call the function x (which was selected by a
> combo box or something) this case linear, and linear function will do
> something like:
>
> TWEEN ALGORITHM Linear(){}
> Spline(){} *
> Frame =3D Relative Tweened Object
> Whatever(){}
>
>
> BoxEnd::propertieX - BoxBegin::propertieX
> ---------------------------------------------------- *
> CLOCK =3D BoxTween::PropertieX
> Frames
> (or just Box)
>
>
>
>
> So before writing the .POV temp file the BoxEnd and BoxBegin will be
> removed (filtered, so they wont be drawn) and we get as result the
> Draw just of the tween (animated frame).
>
> In theory those tags can be added just as a comment so most of the
> code won't be touched. (comments like the name of the objects )
> would be something like
>
> //*PMFrames=3D10 (for the whole animation)
>
> //*PMBegin1
> Box bla bla
>
> //*PMBegin2
> Light
>
> //*PMEnd2
> Light
>
> //*PMEnd1
> Box bla bla
>
>
> Then instead of
> KPM in memory --> Serializer ---> Render TMP File
> Would be
> KPM in memory ---> Tween processor --- Serializer ---> Render TMP File
>
> So we would only modify some visual widgets. and making the Tween module.
>
> So, what about this idea?
> This will keep intact the clean framework of the actual code.
>
> By the way, which distro do you use mates?
> I bet you use Debian or SuSE.
>
-- =
--------------------------------------------------
Engrane3D GNU/Linux
--------------------------------------------------
Miguel =C1ngel G=F3mez M=E1rquez
Ingenier=EDa en Sistemas
---------------------------------------------------
List archive and information: https://mail.kde.org/mailman/listinfo/kpovmod=
eler-devel