|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Okay, I admit I'm not so hot with splines. I'm trying to make a path for my
camera. I'm using Chris Colefax's Clock includes, which are fabulous.
However, I'd like to use a spline to determine my camera's path.
I have a list of vectors where I'd like my camera to be at certain times.
However, the camera needs to linger in some positions longer than others.
So, I've been typing in spline values all evening long, and not really
getting what I want.
Er, so the question is: What methods are there for creating a nice camera
path via splines? I've tried some spline editors, but I can't seem to find
one that allows me to gracefully enter my specific coordinates, and then
output an array of data in some for (text file, even to the screen,
whatever).
Any advice from the pros?
- How
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
If you create your camera path spline, then use AutoClck.mcr to Declare YourClock,
simply to
govern timing along the spline ie:
#declare YourSpline=0;
Declare_From (YourSpline,0)
Declare_To_Using (YourSpline,0.2,0.4,"S")
.....etc
then move the camera using translate Cam_Spline (YourSpline)
This is untested, but should work.
All the best,
Andy Cocker
"How Camp" <kro### [at] hotmailcom> wrote in message news:3df7f820@news.povray.org...
> Okay, I admit I'm not so hot with splines. I'm trying to make a path for my
> camera. I'm using Chris Colefax's Clock includes, which are fabulous.
> However, I'd like to use a spline to determine my camera's path.
>
> I have a list of vectors where I'd like my camera to be at certain times.
> However, the camera needs to linger in some positions longer than others.
> So, I've been typing in spline values all evening long, and not really
> getting what I want.
>
> Er, so the question is: What methods are there for creating a nice camera
> path via splines? I've tried some spline editors, but I can't seem to find
> one that allows me to gracefully enter my specific coordinates, and then
> output an array of data in some for (text file, even to the screen,
> whatever).
>
> Any advice from the pros?
>
> - How
>
>
>
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"Andrew Cocker" <mai### [at] andrewcockercouk> wrote in message
news:3df8652c$1@news.povray.org...
> If you create your camera path spline, then use AutoClck.mcr to Declare
YourClock, simply to
> govern timing along the spline ie:
>
> #declare YourSpline=0;
> Declare_From (YourSpline,0)
> Declare_To_Using (YourSpline,0.2,0.4,"S")
> .....etc
>
> then move the camera using translate Cam_Spline (YourSpline)
>
Ah, bonk! It would appear I was making things much more difficult than they
really needed to be. I deftly took the elegance of the autoclock macro and
squashed it into something unwieldy.
Thanks, Andy, for the help.
- How
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
What about NURBS?
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
in article 3dfa67a8$1@news.povray.org, Apache at apacheserver2000@yahoo.com
wrote on 13/12/02 11:39 pm:
> What about NURBS?
>
I think someone has written a macro that translates NURBS into bicubic
patches. I am not quite sure. Can anyone confirm this.
All the best
Fidel.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"Fidel viegas" <fid### [at] artrecognitioncouk> wrote in message
news:BA23BB06.813A%fid### [at] artrecognitioncouk...
> in article 3dfa67a8$1@news.povray.org, Apache at
apa### [at] yahoocom
> wrote on 13/12/02 11:39 pm:
>
> > What about NURBS?
> >
>
> I think someone has written a macro that translates NURBS into bicubic
> patches. I am not quite sure. Can anyone confirm this.
Yes, I'd be interested in seeing this as well.
- How
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
The way I delt with camera and splines was first using a program where I
made a path using splines that show the paths (Truespace 4 I have, but
Truespace 3 is freeware now).
But actually, the simplest way I seen to slow the camera down is between the
points where the camera is to be slow is simply increasing the gap between
those two points.
Say I have my cubic spline points like this:
<0,0,0>
<-1, 0, 1>
<1, 1, 0>
<2,2,1>
<3,3,2>
<4,4,2>
my points are 10 frames apart, and I want the frames 2,2,1 and 3,3,2 to be
twice as slow... This is how it would look:
#declare Movement=spline{
cubic_spline
-10, <0,0,0>
0,<-1, 0, 1>
10,<1, 1, 0>
20,<2,2,1>
40,<3,3,2>
50,<4,4,2>
}
And have the clock from 0 to 40. What will happen is that the rendering
will move at a certain rate UNTIL somewhere between 20 and 40, where it will
be the slowest at 30.
Wheredragon
"How Camp" <kro### [at] hotmailcom> wrote in message
news:3e01c632$1@news.povray.org...
>
> "Fidel viegas" <fid### [at] artrecognitioncouk> wrote in message
> news:BA23BB06.813A%fid### [at] artrecognitioncouk...
> > in article 3dfa67a8$1@news.povray.org, Apache at
> apa### [at] yahoocom
> > wrote on 13/12/02 11:39 pm:
> >
> > > What about NURBS?
> > >
> >
> > I think someone has written a macro that translates NURBS into bicubic
> > patches. I am not quite sure. Can anyone confirm this.
>
> Yes, I'd be interested in seeing this as well.
>
> - How
>
>
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
How,
Sorry I didn't see this until tonight.
I've got a Hermite curve program that outputs '.INC' files specifically for
POV which I use for both objects and cameras. Input is a simple text file.
Hermite curves are basically a curve specified by directed vectors.
They're piecewise smooth, so the curves are tangent to the vectors going
both into and away from each control point. It's the way I envision cameras...
http://www.geocities.com/emory_stagmer/povherm
Freeware, and example POV code on the website.
Emory
How Camp wrote:
>
> "Fidel viegas" <fid### [at] artrecognitioncouk> wrote in message
> news:BA23BB06.813A%fid### [at] artrecognitioncouk...
> > in article 3dfa67a8$1@news.povray.org, Apache at
> apa### [at] yahoocom
> > wrote on 13/12/02 11:39 pm:
> >
> > > What about NURBS?
> > >
> >
> > I think someone has written a macro that translates NURBS into bicubic
> > patches. I am not quite sure. Can anyone confirm this.
>
> Yes, I'd be interested in seeing this as well.
>
> - How
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
So with Winhermcurve:
I have created an error
#declare fred = array[200] {xxx
but how do I apply that? With a spline, it would be
sphere { ...
translate fred}
How does it work in your software?
Thanks.
Dennis
"Gwen & Emory Stagmer" <emo### [at] comcastnet> wrote in message
news:3E890E82.F9E8E61A@comcast.net...
>
> How,
> Sorry I didn't see this until tonight.
> I've got a Hermite curve program that outputs '.INC' files specifically
for
> POV which I use for both objects and cameras. Input is a simple text
file.
> Hermite curves are basically a curve specified by directed vectors.
> They're piecewise smooth, so the curves are tangent to the vectors going
> both into and away from each control point. It's the way I envision
cameras...
>
> http://www.geocities.com/emory_stagmer/povherm
>
> Freeware, and example POV code on the website.
>
> Emory
>
>
> How Camp wrote:
> >
> > "Fidel viegas" <fid### [at] artrecognitioncouk> wrote in message
> > news:BA23BB06.813A%fid### [at] artrecognitioncouk...
> > > in article 3dfa67a8$1@news.povray.org, Apache at
> > apa### [at] yahoocom
> > > wrote on 13/12/02 11:39 pm:
> > >
> > > > What about NURBS?
> > > >
> > >
> > > I think someone has written a macro that translates NURBS into bicubic
> > > patches. I am not quite sure. Can anyone confirm this.
> >
> > Yes, I'd be interested in seeing this as well.
> >
> > - How
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
|
|