POV-Ray : Newsgroups : povray.general : ImageWidth not declared? : Re: ImageWidth not declared? Server Time
24 Apr 2024 16:59:37 EDT (-0400)
  Re: ImageWidth not declared?  
From: Thorsten Froehlich
Date: 17 Jan 2018 14:40:00
Message: <web.5a5fa64fac415efcfd3cadc90@news.povray.org>
"Robert Kennedy" <nomail@nomail> wrote:
> "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?

It is meant to explain that you should insert the image height and width - 3.6
had no image width and height keywords.


Post a reply to this message

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