|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Attached is a QT Movie that should work now. (I had to save them
flattened instead of normal, which I didn't have to do before.)
Once again here is the code:
// clock goes from 0 to 1
#declare anim_clock = clock;
#declare x_scale = 0.5;
#declare y_scale = 1;
#declare rotation = anim_clock * 180;
#declare roff = 90;
#declare centerX = cos(radians(rotation-roff))*x_scale;
#declare centerY = sin(radians(rotation-roff))*y_scale;
#declare p = <centerX,centerY,0>;
#declare circumference = 2*pi*sqrt(( pow(x_scale,2) + pow(y_scale,2) ) /
2 );
#declare half = circumference / 2;
#declare quarter = circumference / 4;
#declare f1 = sqrt( abs ( pow(x_scale,2) - pow(y_scale,2) ) );
#declare f2 = -f1;
#declare foci1 = <0,f1,0>-p;
#declare foci2 = <0,f2,0>-p;
#declare a1 = degrees ( atan2 ( foci1.x,foci1.y));
#declare a2 = degrees ( atan2 ( foci2.x,foci2.y));
#declare a3 = ( a1 + a2 )/2;
// translate across x axis
#declare translation = circumference *rotation/360;
plane { y, 0 pigment { checker scale quarter } }
sphere { <0,0,0> 1
pigment { radial frequency 8 rotate 90*x}
scale <x_scale,y_scale,0.125>
translate -p
rotate a3*z
translate translation*x
}
camera { location <translation + 2, y_scale, -3.5>
angle 65
right 4/3*x
look_at <translation, y_scale, 0.0>
//orthographic
}
Josh
Post a reply to this message
Attachments:
Download 'sidecircle2.mov' (414 KB)
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Hmmm, looks now like it could use fast/slow changes over the duration of
the roll.
Possibly replace 'clock' with mclock of the Clockmod.inc using a
clock_type="W" or maybe "R" and repeat_clock=2. Not sure what would go
best. R, J, W, or B types would seem the obvious choices anyhow.
Josh English wrote:
>
> Attached is a QT Movie that should work now. (I had to save them
> flattened instead of normal, which I didn't have to do before.)
>
> Once again here is the code:
> // clock goes from 0 to 1
> #declare anim_clock = clock;
>
> #declare x_scale = 0.5;
> #declare y_scale = 1;
>
> #declare rotation = anim_clock * 180;
> #declare roff = 90;
>
> #declare centerX = cos(radians(rotation-roff))*x_scale;
> #declare centerY = sin(radians(rotation-roff))*y_scale;
> #declare p = <centerX,centerY,0>;
>
> #declare circumference = 2*pi*sqrt(( pow(x_scale,2) + pow(y_scale,2) ) /
> 2 );
> #declare half = circumference / 2;
> #declare quarter = circumference / 4;
>
> #declare f1 = sqrt( abs ( pow(x_scale,2) - pow(y_scale,2) ) );
> #declare f2 = -f1;
>
> #declare foci1 = <0,f1,0>-p;
> #declare foci2 = <0,f2,0>-p;
>
> #declare a1 = degrees ( atan2 ( foci1.x,foci1.y));
> #declare a2 = degrees ( atan2 ( foci2.x,foci2.y));
> #declare a3 = ( a1 + a2 )/2;
>
> // translate across x axis
> #declare translation = circumference *rotation/360;
>
> plane { y, 0 pigment { checker scale quarter } }
>
> sphere { <0,0,0> 1
> pigment { radial frequency 8 rotate 90*x}
> scale <x_scale,y_scale,0.125>
> translate -p
> rotate a3*z
> translate translation*x
> }
>
> camera { location <translation + 2, y_scale, -3.5>
> angle 65
> right 4/3*x
> look_at <translation, y_scale, 0.0>
> //orthographic
> }
>
> Josh
>
> ------------------------------------------------------------------------
> Name: sidecircle2.mov
> sidecircle2.mov Type: QuickTime for Windows (video/quicktime)
> Encoding: base64
--
omniVERSE: beyond the universe
http://members.aol.com/inversez/homepage.htm
mailto:inv### [at] aolcom?Subject=PoV-News
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
What type of QT are you using because my unencoder can't handle it. It
complains about not being able to find a stream unencoder. I am using Active
Move - is there a driver for the stream I can get anywhere?
Regards,
Luke Church
>> -----------------------------------------------------------------------
-
>> Name: sidecircle2.mov
>> sidecircle2.mov Type: QuickTime for Windows (video/quicktime)
>> Encoding: base64
>
>--
> omniVERSE: beyond the universe
> http://members.aol.com/inversez/homepage.htm
> mailto:inv### [at] aolcom?Subject=PoV-News
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Hi Luke C.
Not sure who this question was directed to, a quote of mine is here so I'll tell you
what I have here anyway. QuickTime 3.0 and I also have Active Movie and notices it
doesn't open all the *.mov files it comes across. Believe I must have seen this
particular mov file with QT 3.0 and saw it okay, since I remember seeing it.
Luke Church wrote:
>
> What type of QT are you using because my unencoder can't handle it. It
> complains about not being able to find a stream unencoder. I am using Active
> Move - is there a driver for the stream I can get anywhere?
>
> Regards,
> Luke Church
>
> >> -----------------------------------------------------------------------
> -
> >> Name: sidecircle2.mov
> >> sidecircle2.mov Type: QuickTime for Windows (video/quicktime)
> >> Encoding: base64
> >
> >--
> > omniVERSE: beyond the universe
> > http://members.aol.com/inversez/homepage.htm
> > mailto:inv### [at] aolcom?Subject=PoV-News
--
omniVERSE: beyond the universe
http://members.aol.com/inversez/homepage.htm
mailto://inversez@aol.com?Subject=PoV-News
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
The problem was with my original post. I didn't flatten the movie first. I
uplaoded the flattened version either here or on p.b.a. I'm not sure which
because I've slept since then
Joshua
eng### [at] spiritonecom
Luke Church wrote:
> What type of QT are you using because my unencoder can't handle it. It
> complains about not being able to find a stream unencoder. I am using Active
> Move - is there a driver for the stream I can get anywhere?
>
> Regards,
> Luke Church
>
> >> -----------------------------------------------------------------------
> -
> >> Name: sidecircle2.mov
> >> sidecircle2.mov Type: QuickTime for Windows (video/quicktime)
> >> Encoding: base64
> >
> >--
> > omniVERSE: beyond the universe
> > http://members.aol.com/inversez/homepage.htm
> > mailto:inv### [at] aolcom?Subject=PoV-News
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
|
|