POV-Ray : Newsgroups : povray.general : meandering camera paths Server Time
31 Oct 2024 14:11:26 EDT (-0400)
  meandering camera paths (Message 1 to 3 of 3)  
From: Alex McMurray
Subject: meandering camera paths
Date: 27 Feb 2000 16:46:35
Message: <38B99881.5F00E9E6@melbpc.org.au>
Hello everyone.

    After a couple of years of rendering images in POV, I am now
entering the joys?? of animation, what I would like help on is how do I
create a camera path through a meandering canyon without passing through
the sides or bumping into same.

    I have created the canyon landscape using heighfields, from a
Windows paint image of my own design.
    I know where the canyon is on the image map, but how do I translate
that into x, y, and z co-ordinates in POV.
    btw, I create the landscape in Moray and export in POV.
    I have looked at a few animation and heightfield turorials as listed
in the links page, but I can't seem to find the information that I am
looking for.
    Any help will be greatly appreciated.

Alex.

--
  ,-._|\  Alex McMurray
 /  Oz  \ ale### [at] melbpcorgau               Melbourne PC User Group.
 \_,--.x/Melton.                                           Australia
       v


Post a reply to this message

From: mr art
Subject: Re: meandering camera paths
Date: 27 Feb 2000 17:25:33
Message: <38B9A46E.F9ABC3E9@gci.net>
If you have no objection to using MegaPOV, there is a trace function
that
can tell if a vector from a given point passes through a given object.
This could help you avoid the walls.

Alex McMurray wrote:
> 
> Hello everyone.
> 
>     After a couple of years of rendering images in POV, I am now
> entering the joys?? of animation, what I would like help on is how do I
> create a camera path through a meandering canyon without passing through
> the sides or bumping into same.
> 
>     I have created the canyon landscape using heighfields, from a
> Windows paint image of my own design.
>     I know where the canyon is on the image map, but how do I translate
> that into x, y, and z co-ordinates in POV.
>     btw, I create the landscape in Moray and export in POV.
>     I have looked at a few animation and heightfield turorials as listed
> in the links page, but I can't seem to find the information that I am
> looking for.
>     Any help will be greatly appreciated.
> 
> Alex.
> 
> --
>   ,-._|\  Alex McMurray
>  /  Oz  \ ale### [at] melbpcorgau               Melbourne PC User Group.
>  \_,--.x/Melton.                                           Australia
>        v

-- 
Mr. Art

"Often the appearance of reality is more important 
than the reality of the appearance."
Bill DeWitt 2000


Post a reply to this message

From: Josh English
Subject: Re: meandering camera paths
Date: 28 Feb 2000 12:12:24
Message: <38BAACF7.5B260758@spiritone.com>
My bezier.inc file does this wonderfully. You define a path and can preview
it, then use certain functions to animate the camera.

You can find the file here.
 http://www.spiritone.com/~english/cyclopedia/include/bezier.inc

I am working on the documentation, but here is a quick rundown.

Declare a spline in an array of 4 points:

#declare CamLocatePath = array [4] { <0,0,-1> <-2,3,0> <3,-1,4> <0,0,7> }

You can preview this spline in the scene with
DrawSpline(CamLocatePath)

and adjust the spline to make sure that the camera doesn't run through
walls.

Then animate the camera with

camera { location ReturnPosition(CamLocatPath,clock)
               look_at ReturnPosition(CamLocatePath+0.1,clock) }

Of course you can define a seperate spline for the look_at statement as well

The Include file is not well documented. I am working on a tutorial but it
doens't seem to ever get finished.

Josh

Alex McMurray wrote:

> Hello everyone.
>
>     After a couple of years of rendering images in POV, I am now
> entering the joys?? of animation, what I would like help on is how do I
> create a camera path through a meandering canyon without passing through
> the sides or bumping into same.
>
>     I have created the canyon landscape using heighfields, from a
> Windows paint image of my own design.
>     I know where the canyon is on the image map, but how do I translate
> that into x, y, and z co-ordinates in POV.
>     btw, I create the landscape in Moray and export in POV.
>     I have looked at a few animation and heightfield turorials as listed
> in the links page, but I can't seem to find the information that I am
> looking for.
>     Any help will be greatly appreciated.
>
> Alex.
>
> --
>   ,-._|\  Alex McMurray
>  /  Oz  \ ale### [at] melbpcorgau               Melbourne PC User Group.
>  \_,--.x/Melton.                                           Australia
>        v

--
Josh English
eng### [at] spiritonecom
"May your hopes, dreams, and plans not be destroyed by a few zeros."


Post a reply to this message

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