POV-Ray : Newsgroups : povray.binaries.scene-files : Camera position Server Time
21 Nov 2024 09:05:40 EST (-0500)
  Camera position (Message 1 to 3 of 3)  
From: Mike Horvath
Subject: Camera position
Date: 19 Nov 2015 20:56:15
Message: <564e7dbf$1@news.povray.org>
I want to translate the camera in this scene without messing up the text 
that should be displayed on the screen. I have tried adding the 
translation step to the CameraTransform variable, but it is producing 
odd results.

This is what I tried:

#declare CameraTransform	= transform
{
	rotate	<atand(sind(45)),45,0>
	translate y/2
}

The rotation seems to work okay, but not the translation.

Can someone help? Thanks!


Mike


Post a reply to this message


Attachments:
Download 'focal_length_new_20151119.zip' (6 KB)

From: Mike Horvath
Subject: Re: Camera position
Date: 19 Nov 2015 21:26:10
Message: <564e84c2$1@news.povray.org>
On 11/19/2015 8:56 PM, Mike Horvath wrote:
> I want to translate the camera in this scene without messing up the text
> that should be displayed on the screen. I have tried adding the
> translation step to the CameraTransform variable, but it is producing
> odd results.
>
> This is what I tried:
>
> #declare CameraTransform    = transform
> {
>      rotate    <atand(sind(45)),45,0>
>      translate y/2
> }
>
> The rotation seems to work okay, but not the translation.
>
> Can someone help? Thanks!
>
>
> Mike

Forgot to mention that the scene is meant to be animated, so go ahead 
and set the clock value to 0.5 or some other value.


Post a reply to this message

From: Mike Horvath
Subject: Re: Camera position
Date: 20 Nov 2015 21:15:09
Message: <564fd3ad$1@news.povray.org>
On 11/19/2015 9:26 PM, Mike Horvath wrote:
> On 11/19/2015 8:56 PM, Mike Horvath wrote:
>> I want to translate the camera in this scene without messing up the text
>> that should be displayed on the screen. I have tried adding the
>> translation step to the CameraTransform variable, but it is producing
>> odd results.
>>
>> This is what I tried:
>>
>> #declare CameraTransform    = transform
>> {
>>      rotate    <atand(sind(45)),45,0>
>>      translate y/2
>> }
>>
>> The rotation seems to work okay, but not the translation.
>>
>> Can someone help? Thanks!
>>
>>
>> Mike
>
> Forgot to mention that the scene is meant to be animated, so go ahead
> and set the clock value to 0.5 or some other value.

I was able to figure out a solution on my own. Disregard this thread.


Mike


Post a reply to this message

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