POV-Ray : Newsgroups : povray.advanced-users : camera math help please : Re: camera math help please Server Time
30 Jul 2024 12:21:50 EDT (-0400)
  Re: camera math help please  
From: ingo
Date: 24 Jul 1999 18:33:50
Message: <379a3f4e@news.povray.org>
Is this what you're looking for?

#declare Radius= SphereRadius;
#declare Offset= WhatYouWant;

camera {
    location <0,Radius+Offset,0>
    look_at <0,Radius+Offset,Radius+Offset>
    rotate <random, random, random>
}

ingo
--
Met dank aan de muze met het glazen oog.
Arthur Flint heeft geschreven in bericht <379A1910.98B51D61@gci.net>...
>I have been working with placing a camera on the surface of a sphere
>on a random position. I would like the camera to be aligned so that
>the the surface is "down". I guess that "up" would be the vector to
>rotate
>around to view the surface.
>Assuming a vector of SurfaceDirection as "up", what are the prameters
>for the camera?
>--
>Advanced means constantly wondering where reality gets its processing
>power.


Post a reply to this message

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