POV-Ray : Newsgroups : povray.general : ImageWidth not declared? : Re: ImageWidth not declared? Server Time
26 Apr 2024 01:07:08 EDT (-0400)
  Re: ImageWidth not declared?  
From: Robert Kennedy
Date: 15 Jan 2018 12:35:00
Message: <web.5a5ce615ac415efce82f82270@news.povray.org>
"Bald Eagle" <cre### [at] netscapenet> wrote:
> "Robert Kennedy" <nomail@nomail> wrote:
> Has somebody decided that ImageWidth and ImageHeight no longer need
> > to exist?  Or have I forgotten something?
>
> You forgot that capitalization means something.
> The correct reserved internal variable names are:
>
> image_width
> image_height
>
> You CAN do something like
> #declare ImageHeight = image_height;
> #declare ImageWidth = image_width;
>
> and then go from there.

Yeah, that was it.  As an excuse, I mention this web page:

http://www.povray.org/documentation/view/3.6.2/153/

which uses ImageWidth and ImageHeight.  Perhaps it needs to be updated?


Post a reply to this message

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