POV-Ray : Newsgroups : povray.beta-test : look_at in new camera resufes to parse Server Time
1 Nov 2024 23:17:13 EDT (-0400)
  look_at in new camera resufes to parse (Message 1 to 2 of 2)  
From:
Subject: look_at in new camera resufes to parse
Date: 11 Feb 2002 05:07:18
Message: <0e5f6u80p0vfc5ru066smv4rimfgq5sbl4@4ax.com>
POV 3.5 b 11 icl on WinNT Sp 6 PII 233 with 128 MB

When I parse following script

  camera{look_at 100*z}

or

  #version 3.1;
  camera{look_at 100*z}

or

  #version 3.5;
  camera{look_at 100*z}

then there is everything ok. But when I add suggested 3.51:

  #version 3.51;
  camera{look_at 100*z}

then parser stops parsing expecting numeric expression after look_at syntax.
When I add such numeric expression by doubling look_at value:

  #version 3.51;
  camera{look_at 100*z 100*z}

then parsing finished succesfully. Any confirmation ?

ABX


Post a reply to this message

From: Thorsten Froehlich
Subject: Re: look_at in new camera resufes to parse
Date: 11 Feb 2002 05:50:44
Message: <3c67a204$1@news.povray.org>

Skiba <abx### [at] babilonorg>  wrote:

> then parser stops parsing expecting numeric expression after look_at syntax.
> When I add such numeric expression by doubling look_at value:
>
>   #version 3.51;
>   camera{look_at 100*z 100*z}
>
> then parsing finished succesfully.

Yes, a little trap for those trying to use it ;-)  Not a bug, this camera is
specifically for testing the changes without disturbing other users....

Due to a last minute change the code parsing the look_at vector is in there
twice.  Place a copy of the look_at vector (only the vector!) at the end of
the camera statement.  Once this changed camera turns to default in beta 12
you will of course have to remove the vector again...

    Thorsten

____________________________________________________
Thorsten Froehlich, Duisburg, Germany
e-mail: tho### [at] trfde

Visit POV-Ray on the web: http://mac.povray.org


Post a reply to this message

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